|
DoorPathWay = script.Parent
MinutesOpen = 1
MinutesClosed = 1
while true do
DoorPathWay.Transparency = 0
DoorPathWay.CanCollide = true
wait(MinutesClosed * 60)
DoorPathWay.Transparency = 1
DoorPathWay.CanCollide = false
wait(MinutesOpen * 60)
end
Can someone help me modify this script so that when the door closes it says on the screen "The noobs have stopped their attack! Finish off the remaining noobs." and when its 30 seconds away from opening it says "30 seconds until the noobs invade!" and at the 10,9,8,7,6,5,4,3,2, and 1 marks it says "10 seconds until the noobs invade" "9 seconds until the noobs invade" etc... Please help me!!! |
|
XsitsuJoin Date: 2009-07-28 Post Count: 2921 |
Yeah, I can. |
|
XsitsuJoin Date: 2009-07-28 Post Count: 2921 |
DoorPathWay = script.Parent
Minutes = 1
hint = Instance.new("Hint")
hint.Parent = game.Workspace
hint.Text = ""
x = 10
while true do
DoorPathWay.Transparency = 0
DoorPathWay.CanCollide = true
wait(Minutes * 5)
hint.Text = "" -- delete this line if you don't want the finish off noobs message to go away after 5 seconds.
wait(Minutes * 25)
hint.Text = "The noobs will invade in 30 seconds!"
wait(Minutes * 10)
hint.Text = "The noobs will invade in 20 seconds!"
wait(Minutes * 10)
for i = 1, 10 do
hint.Text = "The noobs will invade in "..x.." seconds!"
wait(Minuets)
x = x - 1
end
x = 10
hint.Text = "The noobs are here, to battle stations!!!"
DoorPathWay.Transparency = 1
DoorPathWay.CanCollide = false
wait(Minutes * 60)
hint.Text = "The noobs have stopped their attack! Finish off the remaining noobs!"
end
Let me know if anything is wrong, I didn't test it but I don't tink anything is. |
|
|
@Xsit
wrong:
DoorPathWay = script.Parent
Minutes = 1
hint = Instance.new("Hint")
hint.Parent = game.Workspace
hint.Text = ""
x = 10
while true do
DoorPathWay.Transparency = 0
DoorPathWay.CanCollide = true
wait(Minutes * 5)
hint.Text = "" -- delete this line if you don't want the finish off noobs message to go away after 5 seconds.
wait(Minutes * 25)
hint.Text = "The noobs will invade in 30 seconds!"
wait(Minutes * 10)
hint.Text = "The noobs will invade in 20 seconds!"
wait(Minutes * 10)
for i = 1, 10 do
hint.Text = "The noobs will invade in "..x.." seconds!"
wait(Minutes)
x = x - 1
end
x = 10
hint.Text = "The noobs are here, to battle stations!!!"
DoorPathWay.Transparency = 1
DoorPathWay.CanCollide = false
wait(Minutes * 60)
hint.Text = "The noobs have stopped their attack! Finish off the remaining noobs!"
end
|
|
|
ya spelled 'Minutes' wrong at one line :3 |
|
XsitsuJoin Date: 2009-07-28 Post Count: 2921 |
LOL your right rofl, good thing you fixed that. |
|
|
Hey...Wasn't this the guy looking for that door a couple days ago? |
|
|
|
How can i change that script so that it shows those words on the whole screen (the screen goes a bit greyish and the words are in the middle of the screen) |
|
|
|
the line that says:
hint = Instance.new("Hint")
Change that to:
hint = Instance.new("Message") |
|
|
How do i make it so the message just stays there for about 3 seconds??? (except 1-10) |
|
|
|
Sharp1331Join Date: 2009-10-17 Post Count: 130 |
wait(3)
and then remove it |
|
|
wow no offence daniel but you really cant script can you?... |
|