|
"Rotation" is a property, Vector3 utilizes XYZ, an example would be,
game.Workspace.Part.Rotation = Vector3.new(X,Y,Z) |
|
|
|
You could use something such as,
Player.Character:MoveTo(Vector3.new(X,Y,Z))
More on this can be found here,
http://wiki.roblox.com/index.php/MoveTo_%28Method%29 |
|
|
Are you sure the script is finding the character?. |
|
|
":GetChildren()" retrieves the table. |
|
|
Use the "or" conditional operator. |
|
|
On the second line you used,
murderer = person[math.random(1,#players)]
instead of
murderer = players[math.random(1,#players)] |
|
|
Actually, the first half is an example of a method to get the number of players on the team. |
|
|
game.StarterGui:SetCoreGuiEnabled("Chat",false) |
|
|
The Roblox Wiki is the central resource for roblox-related scripting information, here's a link to the tutorials section,
http://wiki.roblox.com/index.php?title=AllTutorials |
|
|
Use one of the examples provided on this thread inside of a LocalScript. |
|
|
Do you mean something such as using, "string.gsub"?,
An example would be something such as,
StringVariable = "String"
print(string.gsub(StringVariable,"Strin","String"))
The first parameter is the string, the second is the part of the string you want to change, the third is what you want to change it with. |
|
|
Could you show us more of the script and explain the hierarchical order of the objects?. |
|
|
What kind of "Object" is "Collect"?. |
|
|
Then, try using something such as,
sp.Parent.Collect.Value
If that's what you meant. |
|
|
That can be mitigated by restricting where the player's can build to an extent. |
|
|
Are you trying to get it tp affect the LocalPlayer or anyone who joins the game?. |
|
|
|
Try switching the last three lines with,
game.Players.PlayerAdded:connect(function(player)
player.CharacterAdded:connect(setup)
end) |
|
|
Are you receiving any errors via output?. |
|
|
Where is the LocalScript located?. |
|
|
Actually, it would work just as well in the StarterGui. |
|
|
Make sure that "Character" is capitalized correctly. |
|
|
Actually, you can use Instance.new() without assigning a variable to define it.
function onClicked(player)
if player.Name == "HuggaPugga" and player.Parent == game.Players then
Instance.new("Explosion", player.Character.Head)
player.Head:remove()
end
end
script.Parent.ClickDetector.MouseClick:connect(onClicked)
|
|
|