
1.0k Views
333 Executions
Tpp to all players fun script
Universal Script 📌
jksgaming2015First script
1 year ago
Please login to perform these actions:Does it work?
No reports yetNo reports yet. Tried it? Be the first to say.
Also noticed:
Description
Tppppp
local Players = game:GetService("Players")
local RunService = game:GetService("RunService")
local UserInputService = game:GetService("UserInputService")
local localPlayer = Players.LocalPlayer
local character = localPlayer.Character or localPlayer.CharacterAdded:Wait()
local humanoidRootPart = character:WaitForChild("HumanoidRootPart")
-- Config
local TELEPORT_DISTANCE = 4
local TELEPORT_INTERVAL = 0.5
-- Variables
local SELECTED_PLAYERS = {}
local teleportMode = "Selected" -- "Selected", "Others", "NonFriends"
local teleportLoop
local originalCollisionStates = {}
-- Collision handling
local function setPlayerCollision(player, enable)
if not player.Character then return end
if not originalCollisionStates[player] then
originalCollisionStates[player] = {}
for _, part in ipairs(player.Character:GetDescendants()) do
if part:IsA("BasePart") then
originalCollisionStates[player][part] = part.CanCollide
end
end
end
for _, part in ipairs(player.Character:GetDescendants()) do
if part:IsA("BasePart") then
part.CanCollide = enable and (originalCollisionStates[player][part] or false)
end
end
end
-- Target selection
local function getPlayersToTeleport()
Comments
0Log in to join the conversation. Login
No comments yet. Be the first!







