Have you ever wanted to anchor a players character but they can just reset and move freely or they aren’t loaded in and you get errors
This module anchors the players root part to a specific CFrame and will stay there even if they die. This continues until they are unanchored.
Here is an example:
Get module here
How to use:
First, we want to require the module id. Alternatively, you can take a copy of it and reference it that way.
local module = require(12354059503)
Now I want to anchor my character 10 studs above the centre of the world. To do this I will simply do:
local module = require(12354059503) module:Anchor(game.Players.ItzBloxyDev, CFrame.new(0,10,0)) -- Takes two arguments. One the player. Two the position.
local module = require(12354059503) module:Anchor(game.Players.ItzBloxyDev, CFrame.new(0,10,0)) wait(10) module:UnAnchor(game.Players.ItzBloxyDev) -- Only takes the player
If you want to do even more, you can access a table of all the anchored people. This is useful to see who is being anchored, or to change the position of a player. Here is an example:
module.Anchored[game.Players.ItzBloxyDev] = CFrame.new(0,100,0)