|
|
There's more then one method of doing that, you'll have to decide and experiment
Armor = Instance.new("Part")
Armor.Position = Player.Torso.Position
That's just an example, also,
http://wiki.roblox.com/index.php?title=Welds |
|
|
Time = 10
repeat
wait(1)
Time = Time - 1
until Time == 0
if Time == 0 then
for _,v in pairs(game.Players:GetChildren()) do
v.Character:MoveTo(Vector3.new(X,Y,Z))
end
end |
|
|
You'll have to position and weld it yourself, read the articles I linked for more information. |
|
|
Experiment and try to fix it on your own and come back if you can't, we can't help you until you help yourself. |
|
|
Explain in full detail the problem you're having right now/ |
|
|
|
timer=5 --change to what value you want to start with
while timer>0 do
wait(1)
timer=timer -1 --How much the countdown will count down by
Timer.Text="Time left until Intermission ends: "..timer.." "
--How long to wait until each second passes in the countdown
if timer == 0 then
for _,v in pairs(game.Players:GetChildren()) do
v.Character:MoveTo(Vector3.new(5,5,5))
break
end
end
end
Inform me of the result, I'll wait. |
|
|
Show me how you're getting the "timer Gui". |
|
|
Try this,
for _,v in pairs(game.Players:GetChildren()) do
Timer = v.PlayerGui.Screen.TextLabel
timer=5 --change to what value you want to start with
while timer>0 do
wait(1)
timer=timer -1 --How much the countdown will count down by
Timer.Text="Time left until Intermission ends: "..timer.." "
--How long to wait until each second passes in the countdown
if timer == 0 then
v.Character:MoveTo(Vector3.new(5,5,5))
break
end
end
end |
|
|
Oops, made an error,
for _,v in pairs(game.Players:GetChildren()) do
Timer = v.PlayerGui.ScreenGui.TextLabel
timer=5 --change to what value you want to start with
while timer>0 do
wait(1)
timer=timer -1 --How much the countdown will count down by
Timer.Text="Time left until Intermission ends: "..timer.." "
--How long to wait until each second passes in the countdown
if timer == 0 then
v.Character:MoveTo(Vector3.new(5,5,5))
break
end
end
end |
|
|
Alternatively, as originally suggested you could just use,
wait(3)
Timer = Player.ScreenGui.TextLabel
for v = 5,0,-1 do
wait(1)
Timer.Text = v
if v == 0 then
for _,i in pairs(game.Players:GetChildren()) do
i.Character:MoveTo(Vector3.new(5,5,5))
end
end
end |
|
|
Absolutely, plenty of diversity. |
|
|
Anything appearing in output?. |
|
|
It also appears you're missing a few ends. |
|
|
|
Nevermind, I was typing that out as you were replying. |
|
|
Try using BrickColor.Color |
|
|
Using, something such as,
BrickColor.new("Bright red").Color
would convert the BrickColor into Color3. |
|
|
Now I see the problem, you used OnClicked instead of onClicked. |
|
|
|
Is debounce defined as true before the function is called?. |
|
|
|
|
Alright, an example would be
game.Players.PlayerAdded:connect(function(Player) --This is what is triggered when the actual "Player" joins the game.
Player.Chatted:connect(function(Message) --This is what is triggered when the actual "Player" begins chatting a "Message", the "Message" is anything that the "Player" chats.
end)
end) |
|