generic image
Processing...
  • Games
  • Catalog
  • Develop
  • Robux
  • Search in Players
  • Search in Games
  • Search in Catalog
  • Search in Groups
  • Search in Library
  • Log In
  • Sign Up
  • Games
  • Catalog
  • Develop
  • Robux
   
ROBLOX Forum » Game Creation and Development » Scripting Helpers
Home Search
 

Re: Please HELP no one will help me with this

Previous Thread :: Next Thread 
theGOLDENidol is not online. theGOLDENidol
Joined: 11 Apr 2011
Total Posts: 787
23 Sep 2014 04:47 PM

part = game.Workspace.hi
h=game.StarterGui.ScreenGui.Frame.Timer
timer=30

ding = game.Workspace.ding

while wait(1) and timer > 0 do
timer=timer -1
h.Text="INTERMISSION "..timer..""
timn = coroutine.resume(coroutine.create(function()
for i,v in pairs(game.Players:GetPlayers()) do
PlayerGui = v:findFirstChild("PlayerGui")

end
end))
end

if timer == 0 then
p = ding:Clone()
ding:Destroy()
p.Parent = game.Players.LocalPlayer.Character.Head
p:Play()
h.Text="CHOOSING MAP!"
tim = coroutine.resume(coroutine.create(function()
for i,v in pairs(game.Players:GetPlayers()) do
PlayerGui = i:findFirstChild("PlayerGui")


end
end))
end

wait(5)


timn()
tim()





Report Abuse
eLunate is not online. eLunate
Joined: 29 Jul 2014
Total Posts: 13268
23 Sep 2014 04:49 PM
You're doing it wrong.
Report Abuse
NotAshley is not online. NotAshley
Joined: 16 Jan 2014
Total Posts: 14257
23 Sep 2014 05:01 PM
"You're doing it wrong."

Wow, that was really helpful.


OP, mind copy/pasting the output here?
Report Abuse
theGOLDENidol is not online. theGOLDENidol
Joined: 11 Apr 2011
Total Posts: 787
26 Sep 2014 05:55 PM
17:54:47.583 - Players.Player.PlayerGui.ScreenGui.Frame.TextButton.Script:4: bad argument #3 to 'BorderColor3' (Color3 expected, got userdata)
17:54:47.584 - Script 'Players.Player.PlayerGui.ScreenGui.Frame.TextButton.Script', Line 4
17:54:47.585 - Stack End

there
Report Abuse
detaching is not online. detaching
Joined: 17 Feb 2013
Total Posts: 80
26 Sep 2014 05:59 PM
there's nothing wrong with the script (I think)

but there is something wrong with the script inside the textbutton
Report Abuse
JarodOfOrbiter is not online. JarodOfOrbiter
Joined: 17 Feb 2011
Total Posts: 20029
26 Sep 2014 06:06 PM
This isn't the script that errored.
Report Abuse
theGOLDENidol is not online. theGOLDENidol
Joined: 11 Apr 2011
Total Posts: 787
26 Sep 2014 07:04 PM
Its not a textbutton, its a textlabel, there is no script inside it
Report Abuse
MonsterBloodz is not online. MonsterBloodz
Joined: 09 Jul 2014
Total Posts: 15
26 Sep 2014 08:10 PM
Its Child=press=fail
xDDDDDDDD
Report Abuse
theGOLDENidol is not online. theGOLDENidol
Joined: 11 Apr 2011
Total Posts: 787
26 Sep 2014 08:21 PM
Oh..... Wrong output :P xD
Report Abuse
theGOLDENidol is not online. theGOLDENidol
Joined: 11 Apr 2011
Total Posts: 787
26 Sep 2014 08:23 PM
hmm. its not in the output
Report Abuse
theGOLDENidol is not online. theGOLDENidol
Joined: 11 Apr 2011
Total Posts: 787
26 Sep 2014 08:28 PM
ello? ;-;
Report Abuse
theGOLDENidol is not online. theGOLDENidol
Joined: 11 Apr 2011
Total Posts: 787
27 Sep 2014 08:45 AM
Bump
Report Abuse
Pikachu7210 is not online. Pikachu7210
Joined: 30 Mar 2013
Total Posts: 1355
27 Sep 2014 08:58 AM
To make ding a local you need to do local ding = game.Workspace.ding
Report Abuse
theGOLDENidol is not online. theGOLDENidol
Joined: 11 Apr 2011
Total Posts: 787
27 Sep 2014 09:03 AM
The ding works....
Report Abuse
theGOLDENidol is not online. theGOLDENidol
Joined: 11 Apr 2011
Total Posts: 787
27 Sep 2014 09:05 AM

h = game.StarterGui.ScreenGui.Frame.Timer
timer=30


local ding = game.Workspace.ding

while wait(1) and timer > 0 do
timer=timer -1
h.Text ="INTERMISSION "..timer..""

for _,v in pairs(game.Players:GetPlayers()) do
PlayerGui = v:findFirstChild("PlayerGui")
PlayerGui.ScreenGui.Frame.Timer.Text = ""h.Text""


end


if timer == 0 then
p:Play()
h.Text="CHOOSING MAP!"
for _,v in pairs(game.Players:GetPlayers()) do
PlayerGui = v:findFirstChild("PlayerGui")
PlayerGui.ScreenGui.Frame.Timer.Text = ""h.Text""




end



I Changed it all to a server script, but now the whole timer wont work, startergui or playergui
Report Abuse
Kodran is not online. Kodran
Joined: 15 Aug 2013
Total Posts: 5330
27 Sep 2014 09:09 AM
--Server Script

timer = 30
local ding = game.Workspace.ding

while wait(1) and timer > 0 do
timer = timer - 1
for i, v in pairs(game.Players:GetPlayers()) do
v.PlayerGui.ScreenGui.Frame.Timer.Text ="INTERMISSION "..timer
end

if timer == 0 then
p:Play()
for i, v in pairs(game.Players:GetPlayers()) do
v.PlayerGui.ScreenGui.Frame.Timer.Text="CHOOSING MAP!"
end
end
Report Abuse
Kodran is not online. Kodran
Joined: 15 Aug 2013
Total Posts: 5330
27 Sep 2014 09:10 AM
woops, use this one:

while wait(1) do
timer = timer - 1
for i, v in pairs(game.Players:GetPlayers()) do
v.PlayerGui.ScreenGui.Frame.Timer.Text ="INTERMISSION "..timer
end

if timer == 0 then
p:Play()
for i, v in pairs(game.Players:GetPlayers()) do
v.PlayerGui.ScreenGui.Frame.Timer.Text="CHOOSING MAP!"
end
break
end
Report Abuse
Kodran is not online. Kodran
Joined: 15 Aug 2013
Total Posts: 5330
27 Sep 2014 09:10 AM
But add the variables to the top of it
Report Abuse
theGOLDENidol is not online. theGOLDENidol
Joined: 11 Apr 2011
Total Posts: 787
27 Sep 2014 09:16 AM
Oh my god... thank you so friggin much ive been trying over a week and a half for a response that works
Report Abuse
Previous Thread :: Next Thread 
Page 1 of 1
 
 
ROBLOX Forum » Game Creation and Development » Scripting Helpers
   
 
   
  • About Us
  • Jobs
  • Blog
  • Parents
  • Help
  • Terms
  • Privacy

©2017 Roblox Corporation. Roblox, the Roblox logo, Robux, Bloxy, and Powering Imagination are among our registered and unregistered trademarks in the U.S. and other countries.



Progress
Starting Roblox...
Connecting to Players...
R R

Roblox is now loading. Get ready to play!

R R

You're moments away from getting into the game!

Click here for help

Check Remember my choice and click Launch Application in the dialog box above to join games faster in the future!

Gameplay sponsored by:
Loading 0% - Starting game...
Get more with Builders Club! Join Builders Club
Choose Your Avatar
I have an account
generic image