Universal Script 📌
107.1k Views
67 Executions

Look in the desc

Universal Script 📌
Nolanz
NolanzPublished 10
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

Game: Heaven: stand Made by Nolanz (If anyone wants to add things, let me know (at least). No gui. Need to execute every time to make the script work, sorry but I like being a rat with you guys Feature: Auto-Box - TP

View Raw
local Players = game:GetService("Players")
local rs = game:GetService("RunService")
local w = game:GetService("Workspace")
local ts = game:GetService("TweenService")

local sT= 0.5 

local player = Players.LocalPlayer
local char = player.Character or player.CharacterAdded:Wait()
local hrp = char:WaitForChild("HumanoidRootPart")

local map = w:WaitForChild("Map")
local iS = map:WaitForChild("itemSpawnner")
local bC = iS:WaitForChild("Box")

local function goTo(targetPosition, callback)
    local slideInfo = TweenInfo.new(sT, Enum.EasingStyle.Linear, Enum.EasingDirection.Out)
    local goal = {CFrame = CFrame.new(targetPosition)}
    local tween = ts:Create(hrp, slideInfo, goal)

    tween:Play()
    tween.Completed:Connect(function()
        if callback then
            callback()
        end
    end)
end

local function interact(proximityPrompt)
    if proximityPrompt then
        proximityPrompt:InputHoldBegin()
    end
end

local function moveTo(basePart)
    local proximityPrompt = basePart:FindFirstChildOfClass("ProximityPrompt")
    if not proximityPrompt then return end

    local distance = (hrp.Position - basePart.Position).Magnitude
    if distance then


Comments

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

More universal scripts

See all
Universal Script 📌
3.9k
185.5k
Bumped 6 hours ago
Script hub
582
48
7 hours ago
Universal Script 📌
28.8k
673.9k
Bumped 9 hours ago
Script hub
14.0k
2.7k
Bumped 11 hours ago
Key System
Paid
Script hub
263.9k
88.5k
Bumped 12 hours ago
Key System
Universal Script 📌
3.1k
10.5k
Bumped 12 hours ago
Universal Script 📌
790
47
Approved 13 hours ago