Anyone help me, my script isnt working. its to change a Cframe value?
Edit By RubenKan: Placed code in the correct codeblock.
01 | script.Parent.MouseButton 1 Click:connect( function (plr) |
02 | script.Parent.resetdone.Enabled = true |
03 | script.Parent.Parent:TweenPosition(UDim 2. new( 0 , 400 , 0 , 1074 ), "Out" , "Bounce" , 1 , true ) |
05 | game.Players.LocalPlayer.leaderstats.Cash.Value = 0 |
07 | game.Players.LocalPlayer.leaderstats.Level.Value = CFrame.new(- 7196 , 1.5 , 131 ) |
10 | script.Parent.resetdone:Destroy() |
11 | script.Parent.Parent.Parent:Destroy() |
its ment to reset players data but the CFrame doesnt work.
If Anyone Could help
its in a normal script if tried a local