Universal Script 📌
4.3k Views
104 Executions

Click Teleport

Universal Script 📌
2 years ago
Get an executor
Please login to perform these actions:

Does it work?

No reports yet

No reports yet. Tried it? Be the first to say.

Also noticed:

Description

LeftControl+MouseButton1

Updates

  1. Script edited: Create script

View Raw
if _G.ClickTeleport == nil then
    _G.ClickTeleport = true

    local UserInputService = game:GetService("UserInputService")
    local Players = game:GetService("Players")
    local player = Players.LocalPlayer
    local mouse = player:GetMouse()

    UserInputService.InputBegan:Connect(function(input, gameProcessed)
        if gameProcessed then return end
        if input.UserInputType == Enum.UserInputType.MouseButton1 then
            if _G.ClickTeleport and UserInputService:IsKeyDown(Enum.KeyCode.LeftControl) then
                if player.Character and player.Character:FindFirstChild("HumanoidRootPart") and mouse.Target then
                    local hrp = player.Character:FindFirstChild("HumanoidRootPart")
                    local targetPos = mouse.Hit.p
                    hrp.CFrame = CFrame.new(targetPos + Vector3.new(0, 3, 0))
                end
            end
        end
    end)
else
    _G.ClickTeleport = not _G.ClickTeleport
    if _G.ClickTeleport then
        game.StarterGui:SetCore("SendNotification", {Title="Cqwe5 Click Teleport"; Text="Enabled"; Duration=5;})
    else
        game.StarterGui:SetCore("SendNotification", {Title="Cqwe5 Click Teleport"; Text="Disabled"; Duration=5;})
    end
end


Comments

0
Log in to join the conversation. Login
No comments yet. Be the first!

More universal scripts

See all
Universal Script 📌
7.0k
70.6k
Bumped 29 minutes ago
Script hub
3.5M
1.2M
Bumped 1 hour ago
Key System
Universal Script 📌
4.9k
91.6k
Bumped 7 hours ago
Universal Script 📌
5.0k
3.4k
Bumped 7 hours ago
Script hub
2.7M
830.8k
Bumped 8 hours ago
Key System

Script hub

#1 today

Verified script badgeLumin Hub | #1 | Insta Steal