#cframes
1 messages · Page 1 of 1 (latest)
because you are using a local script outside of a player
if you wanna use a local script in workspace, insert a regular script and set runcontext to local in the properties
so i replaced it with a normal script but i still get character is not a valid member of players
set runcontext to lcal
what is runcontext
first of all your code is wrong, i just noticed sorry
second of all it's a property of script
local player = game.Players.LocalPlayer
local char = player.Character
yeah that
- not the way you get a player in your script
- luau is case sensitive
i seen people do it though
is it wrong in a local scriopt