
107.1k Views
67 Executions
Look in the desc
Universal Script 📌
NolanzPublished 10
2 years 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
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
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
0Log in to join the conversation. Login
No comments yet. Be the first!







