|
| 14 Aug 2016 04:20 AM |
This is supposed to be the save script after the player clicks the save button, but whenever i click it, it doesn't actually do anything at all and just stays red. Any help at all?
wait(game.Lighting.TimeToLoad.Value) s = script.Parent p = s.Parent.Parent saving = false sound = s.ClickS
s.Save.MouseButton1Click:connect(function() if saving == false then saving = true sound:Play() s.Save.ImageColor3 = Color3.new(1,0,0) if p.PlayerGui:findFirstChild("MainS") then wait() p:WaitForDataReady() p:SaveInstance("SavedStatPNum"..tostring(game.PlaceId),p.PlayerGui.MainS) end for i = 1,10 do wait() s.Save.Rotation = s.Save.Rotation - 72 end s.Save.Label.Text = "WAIT(10)" wait(1) s.Save.Label.Text = "WAIT(9)" wait(1) s.Save.Label.Text = "WAIT(8)" wait(1) s.Save.Label.Text = "WAIT(7)" wait(1) s.Save.Label.Text = "WAIT(6)" wait(1) s.Save.Label.Text = "WAIT(5)" wait(1) s.Save.Label.Text = "WAIT(4)" wait(1) s.Save.Label.Text = "WAIT(3)" wait(1) s.Save.Label.Text = "WAIT(2)" wait(1) s.Save.Label.Text = "WAIT(1)" wait(1) for i = 1,10 do wait() s.Save.Rotation = s.Save.Rotation + 72 end s.Save.ImageColor3 = Color3.new(1,1,1) s.Save.Label.Text = "SAVE" saving = false end end) |
|
|
| Report Abuse |
|
| |
| |