Scripting Helpers is winding down operations and is now read-only. More info→
Ad
Log in to vote
0

Does the Player.Name script execution need to be in a global script?

Asked by 7 years ago
Edited 7 years ago

``~~~~~~~~~~~~~~~~~


local Player = game.Players.LocalPlayer local User = Player.Character if Player.Name == "SwordsDestinyGames" then local OrganDestroyer = Instance.new("Part",workspace) OrganDestroyer.Size = Vector3(5,5,5) OrganDestroyer.Name = "MercuryLightningOrganDestroyer" ``~~~~~~~~~~~~~~~~~

I been trying to make a custom lately but there is a error that is being caused by line 3

0
Do you have Filtering Enabled on, if so, I'll guide you the right direction. Vingam_Securis 213 — 7y
0
yes SwordsDestinyGames -11 — 7y
0
This has to be a LocalScript since you are trying to use LocalPlayer. cabbler 1942 — 7y
0
it is SwordsDestinyGames -11 — 7y
0
Can you tell me the error real quick before I decide to answer? (As in edit the post and paste the Error word-for-word. Vingam_Securis 213 — 7y

Answer this question