Player & Character
Movement, physics and spectating helpers for the local player.
Convenience wrappers over the memory work for the things almost every script wants: movement modifiers, noclip, teleporting, and spectating another humanoid.
The character helpers
set_walkspeed(64)
set_jumppower(120)
set_gravity(60)
set_noclip(true)
teleport_to(0, 100, 0)
-- Spectate the first other player you find.
for _, player in ipairs(get_players()) do
local humanoid = find_first_child_of_class(player, "Humanoid")
if humanoid ~= 0 then
spectate_player(humanoid)
break
end
end
wait(5)
spectate_reset()These and the matching world.settings fields drive the same underlying modification — set either.