Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- local plrs = game:GetService("Players")
- local workspc = game:GetService("Workspace")
- local myName = plrs.LocalPlayer.Character.Name
- local xyzval = 0
- local xbbval = 0
- local satirnum = 0
- local donguYap = false
- local playerNamex = "PLAYER USERNAME HERE"
- local cakeTown = 0
- if playerNamex == "rootabx" then
- game:GetService("StarterGui"):SetCore("SendNotification",{
- Title = "Error",
- Text = "You are trying to get the author!",
- Duration = 7,
- Button1 = "Sorry",
- Button2 = "sorry lol",
- })
- else
- if playerNamex == myName then
- else
- local isrepeatin = true
- while isrepeatin do
- isrepeatin = donguYap
- for ic, vc in pairs(workspc:FindFirstChild(playerNamex):GetChildren()) do
- cakeTown = 0
- local succ, probs = pcall(function()
- if vc.ClassName == "MeshPart" then
- cakeTown = 1
- end
- if vc.ClassName == "Script" then
- cakeTown = 1
- end
- if vc.ClassName == "LocalScript" then
- cakeTown = 1
- end
- if vc.ClassName == "Part" then
- cakeTown = 1
- end
- if cakeTown == 1 then
- if vc.Anchored == false then
- vc.Anchored = true
- end
- if vc.Position ~= plrs.LocalPlayer.Character.HumanoidRootPart.Position + Vector3.new(-7,0,-7) then
- vc.Position = plrs.LocalPlayer.Character.HumanoidRootPart.Position + Vector3.new(-7,0,-7)
- end
- end
- end)
- end
- if donguYap then
- for icX, vcX in pairs(workspc.TouchTrigger:GetChildren()) do
- if vcX.Name == "stopTheLoop" then
- donguYap = false
- isrepeatin = false
- end
- end
- wait(1)
- end
- end
- end
- end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement