MezornoIV
|
  |
| Joined: 20 Jul 2010 |
| Total Posts: 2276 |
|
|
| 17 Jun 2016 09:09 AM |
I'm having trouble getting this to work. Did ROBLOX get an update? I used to be able to do this.
local fin = script.Parent
local db = true
local player = game.Players.LocalPlayer
fin.Touched:connect(function(plr)
if db == true then
db = false
local win = game.Workspace.screens.win:clone()
win.Parent = player.PlayerGui
game.Workspace.music.win:Play()
wait(5)
game.Players.LocalPlayer.PlayerGui.win:Destroy()
game.Workspace.music.win:Stop()
game.Workspace.music.win.TimePosition = 0
db = true end end)
|
|
|
| Report Abuse |
|
|
MezornoIV
|
  |
| Joined: 20 Jul 2010 |
| Total Posts: 2276 |
|
| |
|
|
| 17 Jun 2016 09:16 AM |
| did you put this code in a script or localscript? just asking. |
|
|
| Report Abuse |
|
|
Lem0nzzx
|
  |
| Joined: 08 Feb 2016 |
| Total Posts: 1604 |
|
|
| 17 Jun 2016 09:20 AM |
| I suggest this be put in a localscript. |
|
|
| Report Abuse |
|
|
MezornoIV
|
  |
| Joined: 20 Jul 2010 |
| Total Posts: 2276 |
|
|
| 17 Jun 2016 12:02 PM |
I put it in a local script and it doesn't work anymore. Help?
|
|
|
| Report Abuse |
|
|