How to find local player in workspace?
Asked by
5 years ago Edited 5 years ago
I'm here again, and I'm sure that somebody that is actually good at coding, unlike me, will be able to figure this out:
What I'm trying to do is find the players name in workspace. I'm attempting at making a script that increases the size of your head and I got that part down, but what I need help is locating the player in workspace. What I have is:
1 | local char = game.Players.LocalPlayer.Name |
4 | local wsc = game.Workspace:FindFirstChild(char) |
The first function thing works great and prints out the players name, but when I try to find the player in workspace it just says nil. If anyone can help me out it will be greatly appreciated