Thank you for using our website
Your script:
local Players = game:GetService("Players")
local ReplicatedStorage = game:GetService("ReplicatedStorage")
local player = Players.LocalPlayer
local targetPosition = CFrame.new(12222, 8, -382700)
while true do
local character = player.Character or player.CharacterAdded:Wait()
local humanoidRootPart = character:WaitForChild("HumanoidRootPart", 5)
if humanoidRootPart then
humanoidRootPart.CFrame = targetPosition
end
for _, obj in pairs(workspace:GetDescendants()) do
if obj:IsA("ProximityPrompt") and obj.Parent:IsA("BasePart") then
local distance = (obj.Parent.Position - targetPosition.Position).Magnitude
if distance < 15 then
fireproximityprompt(obj)
wait(0.2)
fireproximityprompt(obj)
end
end
end
local resetEvent = ReplicatedStorage:FindFirstChild("ResetStuds")
if resetEvent then
resetEvent:FireServer()
end
wait(0.2)
end




