#cframes

1 messages · Page 1 of 1 (latest)

silver sentinel
#

Im following a guide to learn about cframes and he makes a part follow him using only like 6 lines of code, i try copying it but nothing happens to my part.

#

the first ss is his code

dusky quail
#

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

silver sentinel
silver sentinel
dusky quail
#

first of all your code is wrong, i just noticed sorry

dusky quail
silver sentinel
dusky quail
#
local player = game.Players.LocalPlayer
local char = player.Character
dusky quail
silver sentinel
#

ohhh

#

gotcha

dusky quail
silver sentinel
#

is it wrong in a local scriopt

dusky quail
#

the proper way to get a player in a local script is game.Players.LocalPlayer

#

on the server it's different and depends on the situation

#

in short basically just change the context and those 2 lines i sent and you'll be fine i think

silver sentinel
#

works

#

thanks love