Scripting HelpersARCHIVE
A little piece of Roblox history. Preserved for everyone, one question at a time.Read about the archive →
COMMUNITY QUESTION

What's wrong with my Mystery Game WIP?

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)

2 comments

0

Lol not even copied correctly...

1 answer

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!

1 comment

0

The funny thing is, this code he has copied off me is not even related to a mystery game! xD

This discussion is preserved as it was. New answers, comments, and votes are closed.