local Player game:GetService(“Players”).LocalPlayer
✓ ANSWER ACCEPTED
I’m trying to make a roblox game but there’s an error which i don’t understand?
1 answer
✓ Accepted answer
That line is very wrong. First you forgot the =, Second is it a script or localscript? If it's a localscript do local player = game.Players.LocalPlayer. If it's a script get the player with game.Players.PlayerAdded:Connect(function(player).
4 comments
0
That is like exactly what i was gonna write
0
xD
0
You see, i was using a tutorial for that part because i couldnt find anything on it. And that is what they wrote (the tutorial is 5 months old) but thank you lets see if this works
0
So i fixed it by just adding an = symbol, seems that the code does work.
This discussion is preserved as it was. New answers, comments, and votes are closed.

1 comment
Also that’s not the entire script, it’s just a part of it