
308 Views
6 Executions
jecheatpaspromisjerandom
Universal Script 📌
loulouyuna49Published 5
10 months 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
teleport modes drole
-- Script Local de Téléportation Multi-Modes avec Interface
-- Place ce script dans StarterPlayer > StarterPlayerScripts
local Players = game:GetService("Players")
local TweenService = game:GetService("TweenService")
local RunService = game:GetService("RunService")
local player = Players.LocalPlayer
local character = player.Character or player.CharacterAdded:Wait()
local humanoidRootPart = character:WaitForChild("HumanoidRootPart")
-- Configuration
local TELEPORT_DISTANCE_MIN = 5
local TELEPORT_DISTANCE_MAX = 15
local TELEPORT_COOLDOWN = 1.5
local canTeleport = true
local currentMode = "instant"
-- Modes de téléportation disponibles
local teleportModes = {
{name = "instant", icon = "⚡", display = "Instant", color = Color3.fromRGB(100, 150, 255)},
{name = "walk", icon = "🚶", display = "Marche", color = Color3.fromRGB(100, 200, 100)},
{name = "tween", icon = "✈️", display = "Vol Smooth", color = Color3.fromRGB(150, 100, 255)},
{name = "jump", icon = "🦘", display = "Super Saut", color = Color3.fromRGB(255, 150, 100)},
{name = "spin", icon = "🌀", display = "Tourbillon", color = Color3.fromRGB(100, 255, 200)},
{name = "fade", icon = "👻", display = "Fantôme", color = Color3.fromRGB(200, 100, 255)},
{name = "rocket", icon = "🚀", display = "Fusée", color = Color3.fromRGB(255, 100, 150)},
{name = "behind", icon = "🎯", display = "Derrière", color = Color3.fromRGB(255, 200, 100)},
{name = "above", icon = "☁️", display = "Au-dessus", color = Color3.fromRGB(150, 200, 255)},
{name = "circle", icon = "⭕", display = "Orbite", color = Color3.fromRGB(255, 150, 255)},
{name = "zigzag", icon = "⚡", display = "Zig-Zag", color = Color3.fromRGB(255, 255, 100)},
{name = "spiral", icon = "🌪️", display = "Spirale", color = Color3.fromRGB(100, 255, 255)},
}
-- Fonction pour obtenir une position aléatoire autour d'un point
local function getRandomPositionAround(centerCFrame, distance)
distance = distance or math.random(TELEPORT_DISTANCE_MIN, TELEPORT_DISTANCE_MAX)
local angle = math.random() * math.pi * 2
local offsetX = math.cos(angle) * distance
local offsetZ = math.sin(angle) * distance
return centerCFrame * CFrame.new(offsetX, 0, offsetZ)
Comments
0Log in to join the conversation. Login
No comments yet. Be the first!






