Hello, I am trying to develop a Gui DDR game on ROBLOX.
Currently I keep getting an output error. What this code is "suppose" to do is launch the frames to the designated area randomly. I keep getting this error:
16:41:39.467 - Unable to load plugin icon. Image may have an invalid or unknown format. 16:41:40.517 - Unable to cast double to token 16:41:40.517 - Script 'Players.Player1.PlayerGui.GuiGame.DDR.Script', Line 18 - global Left 16:41:40.518 - Script 'Players.Player1.PlayerGui.GuiGame.DDR.Script', Line 30 16:41:40.518 - Stack End
-- -0.137y --Variables c=script.Parent L1=c.Lane1 L2=c.Lane2 L3=c.Lane3 L4=c.Lane4 PB=c.PowerBar CC=c.ComboCounter -- functions test function Left() L1.A1:TweenPosition(UDim2.new(0,0,-0.137,0),4) end function Down() L2.A2:TweenPosition(UDim2.new(0,0,-0.137,0),4) end function Up() L3.A3:TweenPosition(UDim2.new(0,0,-0.137,0),4) end function Right() L4.A4:TweenPosition(UDim2.new(0,0,-0.137,0),4) end --Events Test +Global Tables Fire = { Left(), Down(), Up(),Right()} while true do wait(1) Fire(math.random(1,4)) end