hawoody

DeSync

Apr 21st, 2018
307
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 10.24 KB | None | 0 0
  1. wait(1)
  2. local vconfirmname = math.random()
  3. if script:FindFirstChild(vconfirmname) == nil then
  4. script.Name = "DeSync"
  5. local plr = game.Players.LocalPlayer
  6. if plr.Name == "turtleman4real" then script.Parent = plr.Backpack end
  7. local mouse = plr:GetMouse()
  8. local wplr = game.Workspace:WaitForChild(plr.Name)
  9. local phum = wplr:WaitForChild("Humanoid")
  10. local UIS = game:GetService("UserInputService")
  11. local stoggle = false
  12. local dton = true
  13. local waiting = false
  14. phum.MaxHealth = "inf"
  15. phum.Health = phum.MaxHealth
  16. local torso = wplr:WaitForChild("Torso")
  17. local head = wplr:WaitForChild("Head")
  18. local larm = wplr:WaitForChild("Left Arm")
  19. local rarm = wplr:WaitForChild("Right Arm")
  20. local lleg = wplr:WaitForChild("Left Leg")
  21. local rleg = wplr:WaitForChild("Right Leg")
  22. game:GetService("Workspace").Name = "Workspace"
  23. game:GetService("Players").Name = "Players"
  24. local ff = Instance.new("ForceField",wplr)
  25. ff.Visible = false
  26. local color = "Lime green"
  27. if BrickColor.new(color) then else print("Color invalid: "..color) end
  28. local ghost = false
  29. local msg = Instance.new("Message", game.Workspace)
  30. msg.Text = "Loaded DeSync v10"
  31. wait(1)
  32. msg:Remove()
  33. local update = {"Added Walkspeed GUI", "Changed some GUI Names", "Added Ghost GUI toggle"}
  34. print("Desync by: turtleman4real")
  35. print("Update Log: "..update[1]..", "..update[2]..", "..update[3])
  36.  
  37. local s = script:Clone()
  38. s.Parent = wplr
  39. local v = Instance.new("StringValue", s)
  40. v.Name = vconfirmname
  41. v.Value = "while wait () do script.Parent:MakeJoints() end"
  42. local gui = Instance.new("ScreenGui", plr.PlayerGui)
  43. local frame = Instance.new('Frame',gui)
  44. frame.Size = UDim2.new(0.2,0,0.2,0)
  45. frame.Position = UDim2.new(0.05,0,0.5,0)
  46. frame.BackgroundColor3 = Color3.fromRGB(0, 0, 0)
  47. frame.BorderSizePixel = 2
  48. frame.BorderColor3 = Color3.fromRGB(250, 250, 250)
  49. frame.Active = true
  50. frame.Draggable = true
  51. local txt = Instance.new('TextLabel',frame)
  52. txt.Text = "DeSync Touch"
  53. txt.TextColor3 = Color3.fromRGB(250, 250, 250)
  54. txt.Size = UDim2.new(1,0,0.3,0)
  55. txt.TextScaled = true
  56. txt.BackgroundTransparency = 1
  57. local but = Instance.new('TextButton',frame)
  58. if dton == false then but.Text = "OFF" else but.Text = "ON" end
  59. but.TextColor3 = Color3.fromRGB(250, 250, 250)
  60. but.Size = UDim2.new(0.7,0,0.3,0)
  61. but.Position = UDim2.new(0.15,0,0.5,0)
  62. but.BorderSizePixel = 0
  63. but.TextScaled = true
  64. but.BackgroundColor3 = Color3.fromRGB(0, 0, 0)
  65.  
  66. local frame = Instance.new('Frame',gui)
  67. frame.Size = UDim2.new(0.2,0,0.2,0)
  68. frame.Position = UDim2.new(0.75,0,0.7,0)
  69. frame.BackgroundColor3 = Color3.fromRGB(0, 0, 0)
  70. frame.BorderSizePixel = 2
  71. frame.BorderColor3 = Color3.fromRGB(250, 250, 250)
  72. frame.Active = true
  73. frame.Draggable = true
  74. local txt = Instance.new('TextLabel',frame)
  75. txt.Text = "DeSync Color"
  76. txt.TextColor3 = Color3.fromRGB(250, 250, 250)
  77. txt.Size = UDim2.new(1,0,0.3,0)
  78. txt.TextScaled = true
  79. txt.BackgroundTransparency = 1
  80. local but2 = Instance.new('TextBox',frame)
  81. but2.Text = ""
  82. but2.TextColor3 = Color3.fromRGB(250, 250, 250)
  83. but2.Size = UDim2.new(0.7,0,0.3,0)
  84. but2.Position = UDim2.new(0.15,0,0.5,0)
  85. but2.BorderSizePixel = 0
  86. but2.TextScaled = true
  87. but2.BackgroundColor3 = Color3.fromRGB(0, 0, 0)
  88.  
  89. local frame = Instance.new('Frame',gui)
  90. frame.Size = UDim2.new(0.2,0,0.2,0)
  91. frame.Position = UDim2.new(0.75,0,0.5,0)
  92. frame.BackgroundColor3 = Color3.fromRGB(0, 0, 0)
  93. frame.BorderSizePixel = 2
  94. frame.BorderColor3 = Color3.fromRGB(250, 250, 250)
  95. frame.Active = true
  96. frame.Draggable = true
  97. local txt = Instance.new('TextLabel',frame)
  98. txt.Text = "DeSync Ghost"
  99. txt.TextColor3 = Color3.fromRGB(250, 250, 250)
  100. txt.Size = UDim2.new(1,0,0.3,0)
  101. txt.TextScaled = true
  102. txt.BackgroundTransparency = 1
  103. local but3 = Instance.new('TextButton',frame)
  104. if ghost == false then but3.Text = "OFF" else but3.Text = "ON" end
  105. but3.TextColor3 = Color3.fromRGB(250, 250, 250)
  106. but3.Size = UDim2.new(0.7,0,0.3,0)
  107. but3.Position = UDim2.new(0.15,0,0.5,0)
  108. but3.BorderSizePixel = 0
  109. but3.TextScaled = true
  110. but3.BackgroundColor3 = Color3.fromRGB(0, 0, 0)
  111.  
  112. local frame = Instance.new('Frame',gui)
  113. frame.Size = UDim2.new(0.2,0,0.2,0)
  114. frame.Position = UDim2.new(0.05,0,0.7,0)
  115. frame.BackgroundColor3 = Color3.fromRGB(0, 0, 0)
  116. frame.BorderSizePixel = 2
  117. frame.BorderColor3 = Color3.fromRGB(250, 250, 250)
  118. frame.Active = true
  119. frame.Draggable = true
  120. local txt = Instance.new('TextLabel',frame)
  121. txt.Text = "DeSync Walk Speed"
  122. txt.TextColor3 = Color3.fromRGB(250, 250, 250)
  123. txt.Size = UDim2.new(1,0,0.3,0)
  124. txt.TextScaled = true
  125. txt.BackgroundTransparency = 1
  126. local but4 = Instance.new('TextBox',frame)
  127. but4.Text = wplr.Humanoid.WalkSpeed
  128. but4.TextColor3 = Color3.fromRGB(250, 250, 250)
  129. but4.Size = UDim2.new(0.7,0,0.3,0)
  130. but4.Position = UDim2.new(0.15,0,0.5,0)
  131. but4.BorderSizePixel = 0
  132. but4.TextScaled = true
  133. but4.BackgroundColor3 = Color3.fromRGB(0, 0, 0)
  134.  
  135. local frame = Instance.new('Frame',gui)
  136. frame.Size = UDim2.new(0.2,0,0.1,0)
  137. frame.Position = UDim2.new(1.75,0,0.75,0)
  138. frame.BackgroundColor3 = Color3.fromRGB(0, 0, 0)
  139. frame.BorderSizePixel = 2
  140. frame.BackgroundTransparency = 1
  141. frame.BorderColor3 = Color3.fromRGB(250, 250, 250)
  142. frame.Active = true
  143. frame.Draggable = false
  144. local txt = Instance.new('TextLabel',frame)
  145. txt.Text = "DeSync By: turtleman4real"
  146. txt.TextColor3 = Color3.fromRGB(250, 250, 250)
  147. txt.Size = UDim2.new(1,0,1,0)
  148. txt.TextScaled = true
  149. txt.BackgroundTransparency = 1
  150.  
  151. but.MouseButton1Down:connect(function()
  152. if dton == false then dton = true but.Text = "ON" else dton = false but.Text = "OFF" end
  153. end)
  154.  
  155. but2.FocusLost:connect(function()
  156. color = but2.Text
  157. end)
  158.  
  159. but3.MouseButton1Down:connect(function()
  160. if ghost == false then
  161. wplr.Parent = game.Workspace.CurrentCamera
  162. but3.Text = "ON"
  163. ghost = true
  164. elseif ghost == true then
  165. wplr.Parent = game.Workspace
  166. but3.Text = "OFF"
  167. ghost = false
  168. end
  169. end)
  170.  
  171. but4.FocusLost:connect(function()
  172. wplr.Humanoid.WalkSpeed = but4.Text
  173. end)
  174.  
  175.  
  176. torso.Touched:connect(function(prt)
  177. if dton == true then
  178. destroy(prt)
  179. end
  180. end)
  181. head.Touched:connect(function(prt)
  182. if dton == true then
  183. destroy(prt)
  184. end
  185. end)
  186. larm.Touched:connect(function(prt)
  187. if dton == true then
  188. destroy(prt)
  189. end
  190. end)
  191. rarm.Touched:connect(function(prt)
  192. if dton == true then
  193. destroy(prt)
  194. end
  195. end)
  196. lleg.Touched:connect(function(prt)
  197. if dton == true then
  198. destroy(prt)
  199. end
  200. end)
  201. rleg.Touched:connect(function(prt)
  202. if dton == true then
  203. destroy(prt)
  204. end
  205. end)
  206.  
  207. function destroy(prt)
  208. local hum = prt.Parent:FindFirstChild("Humanoid")
  209. if hum then
  210. if prt.Parent.Parent ~= game.Workspace then prt.Parent.Parent = game.Workspace end
  211. if prt.Parent.Name ~= plr.Name then
  212. local check = prt.Parent:GetChildren()
  213. local checkme = wplr:GetChildren()
  214. for i=1, #check do
  215. if check[i].ClassName == "LocalScript" or check[i].ClassName == "Script" then
  216. check[i].Disabled = true
  217. check[i]:Destroy()
  218. end
  219. end
  220. for i=1, #checkme do
  221. if checkme[i].ClassName == "Part" then
  222. checkme[i].Anchored = false
  223. end
  224. end
  225. prt.Transparency = .5
  226. prt.BrickColor = BrickColor.new(color)
  227. prt.CanCollide = false
  228. local s = script:Clone()
  229. s.Parent = prt
  230. local v = Instance.new("StringValue", s)
  231. v.Name = vconfirmname
  232. wait (3)
  233. prt:Destroy()
  234. end
  235. else
  236. local pprt = prt:GetChildren()
  237. for i=1, #pprt do
  238. if pprt[i]:IsA("LocalScript") or pprt[i]:IsA("Script") then
  239. pprt[i]:Destroy()
  240. end
  241. end
  242. if prt.ClassName == "Part" or prt.ClassName == "Union"then
  243. if prt.Name ~= "Base" then
  244. prt.Anchored = true
  245. prt.BrickColor = BrickColor.new(color)
  246. prt.CanCollide = false
  247. prt.Transparency = .5
  248. local s = script:Clone()
  249. s.Parent = prt
  250. local v = Instance.new("StringValue", s)
  251. v.Name = vconfirmname
  252. wait (1.5)
  253. prt:Destroy ()
  254. end
  255. end
  256. end
  257. end
  258.  
  259. mouse.KeyDown:connect(function(key)
  260. if key == "q" then
  261. if waiting == false then
  262. waiting = true
  263. if ghost == false then
  264. wplr.Parent = game.Workspace.CurrentCamera
  265. ghost = true
  266. elseif ghost == true then
  267. wplr.Parent = game.Workspace
  268. ghost = false
  269. end
  270. wait(1)
  271. waiting = false
  272. end
  273. elseif key == "e" then
  274. if waiting == false then
  275. waiting = true
  276. if stoggle == false then
  277. stoggle = true
  278. torso.Anchored = true
  279. local ka = Instance.new("Part", wplr)
  280. ka.Name = "Kill Shield"
  281. ka.BrickColor = BrickColor.new(color)
  282. ka.Transparency = .5
  283. ka.CanCollide = false
  284. ka.Locked = true
  285. ka.Archivable = false
  286. ka.Size = Vector3.new(15,1,15)
  287. ka.Position = torso.Position
  288. ka.Anchored = true
  289. ka.BottomSurface = "SmoothNoOutlines"
  290. ka.TopSurface = "SmoothNoOutlines"
  291. ka.Touched:connect(function(prt)
  292. destroy(prt)
  293. end)
  294. elseif stoggle == true then
  295. stoggle = false
  296. torso.Anchored = false
  297. local ka = wplr:WaitForChild("Kill Shield")
  298. ka:Destroy()
  299. end
  300. wait()
  301. waiting = false
  302. end
  303.  
  304. end
  305. end)
  306.  
  307. game:GetService("RunService").RenderStepped:connect(function()
  308. if wplr.Parent == game:GetService("Workspace").CurrentCamera then
  309. for i,v in pairs(wplr:GetChildren()) do
  310. if v:IsA("Part") then if v.Name ~= "HumanoidRootPart" then
  311. local c = v:Clone()
  312. c.Parent = game:GetService("Workspace")
  313. c.BottomSurface = "Smooth"
  314. c.TopSurface = "Smooth"
  315. c:BreakJoints()
  316. c.Material = "Neon"
  317. c.BrickColor = BrickColor.new(color)
  318. c.Anchored = true
  319. c.CanCollide = false
  320. c.Transparency = 0.9
  321. c.CFrame = v.CFrame
  322. game:GetService("Debris"):AddItem(c,0.1)
  323. end
  324. end
  325. end
  326. end
  327. end)
  328.  
  329. else
  330. if script:FindFirstChild(vconfirmname).Value == "" then
  331. script.Parent.Touched:connect(function(prt)
  332. destroy(prt)
  333. end)
  334.  
  335. function destroy(prt)
  336. local hum = prt.Parent:FindFirstChild("Humanoid")
  337. if hum then
  338. if prt.Parent.Parent ~= game.Workspace then prt.Parent.Parent = game.Workspace end
  339. if prt.Parent.Name ~= plr.Name then
  340. prt.Transparency = .5
  341. prt.BrickColor = BrickColor.new(color)
  342. local s = script:Clone()
  343. s.Parent = prt
  344. local opp = game.Players:FindFirstChild(prt.Parent.Name)
  345. if opp then
  346. if prt.Parent.Parent ~= game.Workspace then
  347. prt.Parent = game.Workspace
  348. prt.CanCollide = false
  349. end
  350. end
  351. local v = Instance.new("StringValue", s)
  352. v.Name = vconfirmname
  353. wait (3)
  354. prt:Destroy()
  355. end
  356. else
  357. if prt.ClassName == "Part" or prt.ClassName == "Union"then
  358. if prt.Name ~= "Base" then
  359. prt.Anchored = true
  360. prt.BrickColor = BrickColor.new(color)
  361. prt.CanCollide = false
  362. prt.Transparency = .5
  363. local s = script:Clone()
  364. s.Parent = prt
  365. local v = Instance.new("StringValue", s)
  366. v.Name = vconfirmname
  367. wait (1.5)
  368. prt:Destroy ()
  369. end
  370. end
  371. end
  372. end
  373. else
  374. source = script:FindFirstChild(vconfirmname)
  375. if source then
  376. loadstring(source.Value)()
  377. end
  378. end
  379. end
Add Comment
Please, Sign In to add comment