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 » Scripters
Home Search
 

Re: :Play()

Previous Thread :: Next Thread 
ExpensiveGaming is not online. ExpensiveGaming
Joined: 01 Apr 2013
Total Posts: 783
15 Jan 2017 03:04 PM
This is so idiotic ROBLOX, this is an old game I had and I was wondering why the bell wasn't ringing. This script still should work today, right?

#code _G.inring = false

script.Parent.MouseButton1Click:connect(function()
if _G.inring == false then
game.Workspace.Bell.bellcore.ring:Play()
game.Workspace.Bell2.bellcore.ring:Play()
_G.inring = true
playerName = script.Parent.Parent.Parent.Parent.Name
local h = Instance.new("Message", workspace)
h.Text = playerName.." is ringing the bell!"
wait(2)
h:Destroy()
_G.inring = false
end
end)


Report Abuse
ExpensiveGaming is not online. ExpensiveGaming
Joined: 01 Apr 2013
Total Posts: 783
15 Jan 2017 03:09 PM
BUMPZ


Report Abuse
pketny is not online. pketny
Joined: 27 Dec 2010
Total Posts: 1162
15 Jan 2017 03:11 PM
don't bump so fast mannn


Is there an error/warning in the output?
Report Abuse
TehIcyStar is not online. TehIcyStar
Joined: 07 Mar 2010
Total Posts: 1649
15 Jan 2017 03:11 PM
Shove prints everywhere to see if the code is running properly or not. It looks ok to me.
Report Abuse
ExpensiveGaming is not online. ExpensiveGaming
Joined: 01 Apr 2013
Total Posts: 783
15 Jan 2017 03:14 PM
No output errors

I put all prints and all the prints play. Could somebody try :Play() on their game and see if it works?


Report Abuse
TehIcyStar is not online. TehIcyStar
Joined: 07 Mar 2010
Total Posts: 1649
15 Jan 2017 03:24 PM
I can assure you that :Play() works.
Report Abuse
Previous Thread :: Next Thread 
Page 1 of 1
 
 
ROBLOX Forum » Game Creation and Development » Scripters
   
 
   
  • 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