Universal Script 📌
107.1k Views
94 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

Updates

  1. Script edited: Update script

  2. Script edited: Create script

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 📌
54
2
Approved 2 hours ago
Script hub
206
1.1k
Bumped 4 hours ago

Script hub

Lunyx Hub

Script hub
120.8k
222.1k
Bumped 5 hours ago
Key System
Script hub
10.7k
203.7k
Bumped 5 hours ago

Script hub

KeylessVerified script badgeIRIDIUM HUB | #1

Script hub
33.4k
301.1k
Bumped 8 hours ago