I tried to script something in my WIP Mystery Game and it didn't work. What did I do wrong? Here is what I did: 02 local player = game.Players:GetPlayerFromCharacter(part.Parent) 03 if player then 04 local human = part.Parent:findFirstChild("Humanoid") 05 if human then 06 Value = game.Workspace:FindFirstChild(player.Name.."'s Car").StringValue.Value 07 if Value == "TwentyTwo" then 08 player.PlayerGui.GUI.Dashboard.Controls.Navigation.Direction.Image = "http://www.roblox.com/asset/?id=165473861" 09 end 10 wait(4) 11 player.PlayerGui.GUI.Dashboard.Controls.Navigation.Direction.Image = "http://www.roblox.com/asset/?id=165477023" 12 end 13 end 14 end 15
16 script.Parent.Touched:connect(onTouch)
The problem is when you stole MasterDaniel's code, you copied the line numbers too. The is a button to copy the source, if you can find it, it will be copied correctly. But shhh, don't let me, or anyone else, know you're stealing code and making a copy noob game, they won't play it!
Closed as Too Broad by Tortelloni, TurboFusion, and Perci1
This question has been closed because it is too broad and is generally unanswerable. Please ask a more specific question.
Why was this question closed?