Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- wait(1)
- local vconfirmname = math.random()
- if script:FindFirstChild(vconfirmname) == nil then
- script.Name = "DeSync"
- local plr = game.Players.LocalPlayer
- if plr.Name == "reset4852258" then script.Parent = plr.Backpack end
- local mouse = plr:GetMouse()
- local wplr = game.Workspace:WaitForChild(plr.Name)
- local phum = wplr:WaitForChild("Humanoid")
- local UIS = game:GetService("UserInputService")
- local stoggle = false
- local dton = true
- local waiting = false
- phum.MaxHealth = "inf"
- phum.Health = phum.MaxHealth
- local torso = wplr:WaitForChild("Torso")
- local head = wplr:WaitForChild("Head")
- local larm = wplr:WaitForChild("Left Arm")
- local rarm = wplr:WaitForChild("Right Arm")
- local lleg = wplr:WaitForChild("Left Leg")
- local rleg = wplr:WaitForChild("Right Leg")
- game:GetService("Workspace").Name = "Workspace"
- game:GetService("Players").Name = "Players"
- local ff = Instance.new("ForceField",wplr)
- ff.Visible = false
- local color = "Lime green"
- if BrickColor.new(color) then else print("Color invalid: "..color) end
- local ghost = false
- local msg = Instance.new("Message", game.Workspace)
- msg.Text = "Loaded DeSync v10"
- wait(1)
- msg:Remove()
- local update = {"Added Walkspeed GUI", "Changed some GUI Names", "Added Ghost GUI toggle"}
- print("Desync by: turtleman4real")
- print("Update Log: "..update[1]..", "..update[2]..", "..update[3])
- local s = script:Clone()
- s.Parent = wplr
- local v = Instance.new("StringValue", s)
- v.Name = vconfirmname
- v.Value = "while wait () do script.Parent:MakeJoints() end"
- local gui = Instance.new("ScreenGui", plr.PlayerGui)
- local frame = Instance.new('Frame',gui)
- frame.Size = UDim2.new(0.2,0,0.2,0)
- frame.Position = UDim2.new(0.05,0,0.5,0)
- frame.BackgroundColor3 = Color3.fromRGB(0, 0, 0)
- frame.BorderSizePixel = 2
- frame.BorderColor3 = Color3.fromRGB(250, 250, 250)
- frame.Active = true
- frame.Draggable = true
- local txt = Instance.new('TextLabel',frame)
- txt.Text = "DeSync Touch"
- txt.TextColor3 = Color3.fromRGB(250, 250, 250)
- txt.Size = UDim2.new(1,0,0.3,0)
- txt.TextScaled = true
- txt.BackgroundTransparency = 1
- local but = Instance.new('TextButton',frame)
- if dton == false then but.Text = "OFF" else but.Text = "ON" end
- but.TextColor3 = Color3.fromRGB(250, 250, 250)
- but.Size = UDim2.new(0.7,0,0.3,0)
- but.Position = UDim2.new(0.15,0,0.5,0)
- but.BorderSizePixel = 0
- but.TextScaled = true
- but.BackgroundColor3 = Color3.fromRGB(0, 0, 0)
- local frame = Instance.new('Frame',gui)
- frame.Size = UDim2.new(0.2,0,0.2,0)
- frame.Position = UDim2.new(0.75,0,0.7,0)
- frame.BackgroundColor3 = Color3.fromRGB(0, 0, 0)
- frame.BorderSizePixel = 2
- frame.BorderColor3 = Color3.fromRGB(250, 250, 250)
- frame.Active = true
- frame.Draggable = true
- local txt = Instance.new('TextLabel',frame)
- txt.Text = "DeSync Color"
- txt.TextColor3 = Color3.fromRGB(250, 250, 250)
- txt.Size = UDim2.new(1,0,0.3,0)
- txt.TextScaled = true
- txt.BackgroundTransparency = 1
- local but2 = Instance.new('TextBox',frame)
- but2.Text = ""
- but2.TextColor3 = Color3.fromRGB(250, 250, 250)
- but2.Size = UDim2.new(0.7,0,0.3,0)
- but2.Position = UDim2.new(0.15,0,0.5,0)
- but2.BorderSizePixel = 0
- but2.TextScaled = true
- but2.BackgroundColor3 = Color3.fromRGB(0, 0, 0)
- local frame = Instance.new('Frame',gui)
- frame.Size = UDim2.new(0.2,0,0.2,0)
- frame.Position = UDim2.new(0.75,0,0.5,0)
- frame.BackgroundColor3 = Color3.fromRGB(0, 0, 0)
- frame.BorderSizePixel = 2
- frame.BorderColor3 = Color3.fromRGB(250, 250, 250)
- frame.Active = true
- frame.Draggable = true
- local txt = Instance.new('TextLabel',frame)
- txt.Text = "DeSync Ghost"
- txt.TextColor3 = Color3.fromRGB(250, 250, 250)
- txt.Size = UDim2.new(1,0,0.3,0)
- txt.TextScaled = true
- txt.BackgroundTransparency = 1
- local but3 = Instance.new('TextButton',frame)
- if ghost == false then but3.Text = "OFF" else but3.Text = "ON" end
- but3.TextColor3 = Color3.fromRGB(250, 250, 250)
- but3.Size = UDim2.new(0.7,0,0.3,0)
- but3.Position = UDim2.new(0.15,0,0.5,0)
- but3.BorderSizePixel = 0
- but3.TextScaled = true
- but3.BackgroundColor3 = Color3.fromRGB(0, 0, 0)
- local frame = Instance.new('Frame',gui)
- frame.Size = UDim2.new(0.2,0,0.2,0)
- frame.Position = UDim2.new(0.05,0,0.7,0)
- frame.BackgroundColor3 = Color3.fromRGB(0, 0, 0)
- frame.BorderSizePixel = 2
- frame.BorderColor3 = Color3.fromRGB(250, 250, 250)
- frame.Active = true
- frame.Draggable = true
- local txt = Instance.new('TextLabel',frame)
- txt.Text = "DeSync Walk Speed"
- txt.TextColor3 = Color3.fromRGB(250, 250, 250)
- txt.Size = UDim2.new(1,0,0.3,0)
- txt.TextScaled = true
- txt.BackgroundTransparency = 1
- local but4 = Instance.new('TextBox',frame)
- but4.Text = wplr.Humanoid.WalkSpeed
- but4.TextColor3 = Color3.fromRGB(250, 250, 250)
- but4.Size = UDim2.new(0.7,0,0.3,0)
- but4.Position = UDim2.new(0.15,0,0.5,0)
- but4.BorderSizePixel = 0
- but4.TextScaled = true
- but4.BackgroundColor3 = Color3.fromRGB(0, 0, 0)
- local frame = Instance.new('Frame',gui)
- frame.Size = UDim2.new(0.2,0,0.1,0)
- frame.Position = UDim2.new(1.75,0,0.75,0)
- frame.BackgroundColor3 = Color3.fromRGB(0, 0, 0)
- frame.BorderSizePixel = 2
- frame.BackgroundTransparency = 1
- frame.BorderColor3 = Color3.fromRGB(250, 250, 250)
- frame.Active = true
- frame.Draggable = false
- local txt = Instance.new('TextLabel',frame)
- txt.Text = "DeSync By: turtleman4real"
- txt.TextColor3 = Color3.fromRGB(250, 250, 250)
- txt.Size = UDim2.new(1,0,1,0)
- txt.TextScaled = true
- txt.BackgroundTransparency = 1
- but.MouseButton1Down:connect(function()
- if dton == false then dton = true but.Text = "ON" else dton = false but.Text = "OFF" end
- end)
- but2.FocusLost:connect(function()
- color = but2.Text
- end)
- but3.MouseButton1Down:connect(function()
- if ghost == false then
- wplr.Parent = game.Workspace.CurrentCamera
- but3.Text = "ON"
- ghost = true
- elseif ghost == true then
- wplr.Parent = game.Workspace
- but3.Text = "OFF"
- ghost = false
- end
- end)
- but4.FocusLost:connect(function()
- wplr.Humanoid.WalkSpeed = but4.Text
- end)
- torso.Touched:connect(function(prt)
- if dton == true then
- destroy(prt)
- end
- end)
- head.Touched:connect(function(prt)
- if dton == true then
- destroy(prt)
- end
- end)
- larm.Touched:connect(function(prt)
- if dton == true then
- destroy(prt)
- end
- end)
- rarm.Touched:connect(function(prt)
- if dton == true then
- destroy(prt)
- end
- end)
- lleg.Touched:connect(function(prt)
- if dton == true then
- destroy(prt)
- end
- end)
- rleg.Touched:connect(function(prt)
- if dton == true then
- destroy(prt)
- end
- end)
- function destroy(prt)
- local hum = prt.Parent:FindFirstChild("Humanoid")
- if hum then
- if prt.Parent.Parent ~= game.Workspace then prt.Parent.Parent = game.Workspace end
- if prt.Parent.Name ~= plr.Name then
- local check = prt.Parent:GetChildren()
- local checkme = wplr:GetChildren()
- for i=1, #check do
- if check[i].ClassName == "LocalScript" or check[i].ClassName == "Script" then
- check[i].Disabled = true
- check[i]:Destroy()
- end
- end
- for i=1, #checkme do
- if checkme[i].ClassName == "Part" then
- checkme[i].Anchored = false
- end
- end
- prt.Transparency = .5
- prt.BrickColor = BrickColor.new(color)
- prt.CanCollide = false
- local s = script:Clone()
- s.Parent = prt
- local v = Instance.new("StringValue", s)
- v.Name = vconfirmname
- wait (3)
- prt:Destroy()
- end
- else
- local pprt = prt:GetChildren()
- for i=1, #pprt do
- if pprt[i]:IsA("LocalScript") or pprt[i]:IsA("Script") then
- pprt[i]:Destroy()
- end
- end
- if prt.ClassName == "Part" or prt.ClassName == "Union"then
- if prt.Name ~= "Base" then
- prt.Anchored = true
- prt.BrickColor = BrickColor.new(color)
- prt.CanCollide = false
- prt.Transparency = .5
- local s = script:Clone()
- s.Parent = prt
- local v = Instance.new("StringValue", s)
- v.Name = vconfirmname
- wait (1.5)
- prt:Destroy ()
- end
- end
- end
- end
- mouse.KeyDown:connect(function(key)
- if key == "q" then
- if waiting == false then
- waiting = true
- if ghost == false then
- wplr.Parent = game.Workspace.CurrentCamera
- ghost = true
- elseif ghost == true then
- wplr.Parent = game.Workspace
- ghost = false
- end
- wait(1)
- waiting = false
- end
- elseif key == "e" then
- if waiting == false then
- waiting = true
- if stoggle == false then
- stoggle = true
- torso.Anchored = true
- local ka = Instance.new("Part", wplr)
- ka.Name = "Kill Shield"
- ka.BrickColor = BrickColor.new(color)
- ka.Transparency = .5
- ka.CanCollide = false
- ka.Locked = true
- ka.Archivable = false
- ka.Size = Vector3.new(15,1,15)
- ka.Position = torso.Position
- ka.Anchored = true
- ka.BottomSurface = "SmoothNoOutlines"
- ka.TopSurface = "SmoothNoOutlines"
- ka.Touched:connect(function(prt)
- destroy(prt)
- end)
- elseif stoggle == true then
- stoggle = false
- torso.Anchored = false
- local ka = wplr:WaitForChild("Kill Shield")
- ka:Destroy()
- end
- wait()
- waiting = false
- end
- end
- end)
- game:GetService("RunService").RenderStepped:connect(function()
- if wplr.Parent == game:GetService("Workspace").CurrentCamera then
- for i,v in pairs(wplr:GetChildren()) do
- if v:IsA("Part") then if v.Name ~= "HumanoidRootPart" then
- local c = v:Clone()
- c.Parent = game:GetService("Workspace")
- c.BottomSurface = "Smooth"
- c.TopSurface = "Smooth"
- c:BreakJoints()
- c.Material = "Neon"
- c.BrickColor = BrickColor.new(color)
- c.Anchored = true
- c.CanCollide = false
- c.Transparency = 0.9
- c.CFrame = v.CFrame
- game:GetService("Debris"):AddItem(c,0.1)
- end
- end
- end
- end
- end)
- else
- if script:FindFirstChild(vconfirmname).Value == "" then
- script.Parent.Touched:connect(function(prt)
- destroy(prt)
- end)
- function destroy(prt)
- local hum = prt.Parent:FindFirstChild("Humanoid")
- if hum then
- if prt.Parent.Parent ~= game.Workspace then prt.Parent.Parent = game.Workspace end
- if prt.Parent.Name ~= plr.Name then
- prt.Transparency = .5
- prt.BrickColor = BrickColor.new(color)
- local s = script:Clone()
- s.Parent = prt
- local opp = game.Players:FindFirstChild(prt.Parent.Name)
- if opp then
- if prt.Parent.Parent ~= game.Workspace then
- prt.Parent = game.Workspace
- prt.CanCollide = false
- end
- end
- local v = Instance.new("StringValue", s)
- v.Name = vconfirmname
- wait (3)
- prt:Destroy()
- end
- else
- if prt.ClassName == "Part" or prt.ClassName == "Union"then
- if prt.Name ~= "Base" then
- prt.Anchored = true
- prt.BrickColor = BrickColor.new(color)
- prt.CanCollide = false
- prt.Transparency = .5
- local s = script:Clone()
- s.Parent = prt
- local v = Instance.new("StringValue", s)
- v.Name = vconfirmname
- wait (1.5)
- prt:Destroy ()
- end
- end
- end
- end
- else
- source = script:FindFirstChild(vconfirmname)
- if source then
- loadstring(source.Value)()
- end
- end
- end
Add Comment
Please, Sign In to add comment