Script Fixed, but Doesn't Function Like I want it To Do?
This script was fixed by Zafirua and surprisingly it didn't work. This time I added the Output, along with the picture of the studio of what I have on my Workspace, and the script fixed by Zafirua, which I want to say thank you so much!
https://imgur.com/CejNXXc
02 | local Up = script.Parent.Up; |
03 | local Down = script.Parent.Down; |
04 | local Left = script.Parent.Left; |
05 | local Right = script.Parent.Right; |
14 | local function On_Clicked () |
18 | Up.CFrame = Up.CFrame + Vector 3. new( 0 , - 0.09 , 0 ); |
20 | Up.CFrame = Up.CFrame + Vector 3. new( 0 , 0.09 , 0 ); |
23 | elseif not DownOn then |
26 | Down.CFrame = Down.CFrame + Vector 3. new( 0 , - 0.09 , 0 ); |
28 | Down.CFrame = Down.CFrame + Vector 3. new( 0 , 0.09 , 0 ); |
31 | elseif not LeftOn then |
34 | Left.CFrame = Left.CFrame + Vector 3. new( 0 , - 0.09 , 0 ); |
36 | Left.CFrame = Left.CFrame + Vector 3. new( 0 , 0.09 , 0 ); |
39 | elseif not RightOn then |
42 | Right.CFrame = Right.CFrame + Vector 3. new( 0 , - 0.09 , 0 ); |
44 | Right.CFrame = Right.CFrame + Vector 3. new( 0 , 0.09 , 0 ); |
53 | script.Parent.ClickDetector.MouseClick:Connect(On_Clicked); |
Output
22:39:58.389 - ClickDetector is not a valid member of Model
22:39:58.392 - Stack Begin
22:39:58.393 - Script 'Workspace.RemoteControl.Script', Line 53
22:39:58.393 - Stack End