Advertisement
TheUnknownDiscord

fast

Mar 10th, 2022 (edited)
175
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 10.99 KB | None | 0 0
  1. on = false
  2. local rig
  3. local s
  4. local s2
  5. local hum
  6. local net
  7. local net2
  8. local br = Instance.new("BlurEffect",game:GetService("Lighting"))
  9. br.Size = 0
  10. for i,v in pairs(owner.Character:GetDescendants()) do
  11. if v:IsA("BasePart") then
  12. local physProperties = PhysicalProperties.new(1000)
  13. v.CustomPhysicalProperties = physProperties
  14. end
  15. end
  16. local bl = Instance.new("BloomEffect",game:GetService("Lighting"))
  17. bl.Size = 0
  18. bl.Intensity = 0
  19. bl.Threshold = 0
  20. coroutine.wrap(function()
  21. while true do
  22. task.wait()
  23. if on then
  24. owner.Character.Humanoid.WalkSpeed = 65
  25. owner.Character.Humanoid.JumpPower = 50
  26. else
  27. owner.Character.Humanoid.WalkSpeed = 16
  28. owner.Character.Humanoid.JumpPower = 50
  29. end
  30. end
  31. end)()
  32. function onoff(_,wha,hitp)
  33. if wha == "active" then
  34. local tweenService = game:GetService("TweenService")
  35. local timeToFade = 0.125
  36. local object = workspace
  37. local tweenInfo = TweenInfo.new(timeToFade,Enum.EasingStyle.Linear)
  38. local goal = {}
  39. goal.Gravity = 20
  40. local tween = tweenService:Create(object, tweenInfo, goal)
  41. tween:Play()
  42. local tweenService = game:GetService("TweenService")
  43. local timeToFade = 0.125
  44. local object = br
  45. local tweenInfo = TweenInfo.new(timeToFade,Enum.EasingStyle.Linear)
  46. local goal = {}
  47. goal.Size = 2.5
  48. local blu = tweenService:Create(object, tweenInfo, goal)
  49. blu:Play()
  50. local goal2 = {}
  51. goal2.Size = 30
  52. goal2.Intensity = 1.25
  53. goal2.Threshold = 0.5
  54. local blu2 = tweenService:Create(bl, tweenInfo, goal)
  55. blu2:Play()
  56. on = true
  57. for i,v in pairs(workspace:GetDescendants()) do
  58. if v:IsA("Sound") then
  59. local tweenService = game:GetService("TweenService")
  60. local timeToFade = 0.125
  61. local object = v
  62. local tweenInfo = TweenInfo.new(timeToFade,Enum.EasingStyle.Linear)
  63. local goal = {}
  64. goal.Pitch = v.PlaybackSpeed * 0.45
  65. local tween = tweenService:Create(object, tweenInfo, goal)
  66. tween:Play()
  67. elseif v:IsA("Humanoid") then
  68. local tweenService = game:GetService("TweenService")
  69. local timeToFade = 0.125
  70. local object = v
  71. local tweenInfo = TweenInfo.new(timeToFade,Enum.EasingStyle.Linear)
  72. local goal = {}
  73. goal.WalkSpeed = v.WalkSpeed * 0.75
  74. goal.JumpPower = 7.84
  75. local tween = tweenService:Create(object, tweenInfo, goal)
  76. tween:Play()
  77. elseif v:IsA("BodyVelocity") then
  78. local tweenService = game:GetService("TweenService")
  79. local timeToFade = 0.125
  80. local object = v
  81. local tweenInfo = TweenInfo.new(timeToFade,Enum.EasingStyle.Linear)
  82. local goal = {}
  83. goal.Velocity = v.Velocity * 0.5
  84. local tween = tweenService:Create(object, tweenInfo, goal)
  85. tween:Play()
  86. elseif v:IsA("BodyForce") then
  87. local tweenService = game:GetService("TweenService")
  88. local timeToFade = 0.125
  89. local object = v
  90. local tweenInfo = TweenInfo.new(timeToFade,Enum.EasingStyle.Linear)
  91. local goal = {}
  92. goal.Force = v.Force * 0.5
  93. local tween = tweenService:Create(object, tweenInfo, goal)
  94. tween:Play()
  95. elseif v:IsA("BodyGyro") then
  96. local tweenService = game:GetService("TweenService")
  97. local timeToFade = 0.125
  98. local object = v
  99. local tweenInfo = TweenInfo.new(timeToFade,Enum.EasingStyle.Linear)
  100. local goal = {}
  101. goal.P = v.P * 0.5
  102. goal.D = v.D * 0.5
  103. local tween = tweenService:Create(object, tweenInfo, goal)
  104. tween:Play()
  105. end
  106. end
  107. elseif wha == "deactive" then
  108. local tweenService = game:GetService("TweenService")
  109. local timeToFade = 0.125
  110. local object = workspace
  111. local tweenInfo = TweenInfo.new(timeToFade,Enum.EasingStyle.Linear)
  112. local goal = {}
  113. goal.Gravity = 196
  114. local tween = tweenService:Create(object, tweenInfo, goal)
  115. tween:Play()
  116. local tweenService = game:GetService("TweenService")
  117. local timeToFade = 0.5
  118. local object = br
  119. local tweenInfo = TweenInfo.new(timeToFade,Enum.EasingStyle.Linear)
  120. local goal = {}
  121. goal.Size = 0
  122. local blu = tweenService:Create(object, tweenInfo, goal)
  123. blu:Play()
  124. local goal2 = {}
  125. goal2.Size = 0
  126. goal2.Intensity = 0
  127. goal2.Threshold = 0
  128. local blu2 = tweenService:Create(bl, tweenInfo, goal)
  129. blu2:Play()
  130. on = false
  131. for i,v in pairs(workspace:GetDescendants()) do
  132. if v:IsA("Sound") then
  133. local tweenService = game:GetService("TweenService")
  134. local timeToFade = 0.125
  135. local object = v
  136. local tweenInfo = TweenInfo.new(timeToFade,Enum.EasingStyle.Linear)
  137. local goal = {}
  138. goal.Pitch = v.PlaybackSpeed * 2.22222222222
  139. local tween = tweenService:Create(object, tweenInfo, goal)
  140. tween:Play()
  141. elseif v:IsA("Humanoid") then
  142. local tweenService = game:GetService("TweenService")
  143. local timeToFade = 0.125
  144. local object = v
  145. local tweenInfo = TweenInfo.new(timeToFade,Enum.EasingStyle.Linear)
  146. local goal = {}
  147. goal.WalkSpeed = v.WalkSpeed * 1.33333333333
  148. goal.JumpPower = 50
  149. local tween = tweenService:Create(object, tweenInfo, goal)
  150. tween:Play()
  151. elseif v:IsA("BodyVelocity") then
  152. local tweenService = game:GetService("TweenService")
  153. local timeToFade = 0.125
  154. local object = v
  155. local tweenInfo = TweenInfo.new(timeToFade,Enum.EasingStyle.Linear)
  156. local goal = {}
  157. goal.Velocity = v.Velocity * 2
  158. local tween = tweenService:Create(object, tweenInfo, goal)
  159. tween:Play()
  160. elseif v:IsA("BodyForce") then
  161. local tweenService = game:GetService("TweenService")
  162. local timeToFade = 0.125
  163. local object = v
  164. local tweenInfo = TweenInfo.new(timeToFade,Enum.EasingStyle.Linear)
  165. local goal = {}
  166. goal.Force = v.Force * 2
  167. local tween = tweenService:Create(object, tweenInfo, goal)
  168. tween:Play()
  169. elseif v:IsA("BodyGyro") then
  170. local tweenService = game:GetService("TweenService")
  171. local timeToFade = 0.125
  172. local object = v
  173. local tweenInfo = TweenInfo.new(timeToFade,Enum.EasingStyle.Linear)
  174. local goal = {}
  175. goal.P = v.P * 2
  176. goal.D = v.D * 2
  177. local tween = tweenService:Create(object, tweenInfo, goal)
  178. tween:Play()
  179. end
  180. end
  181. elseif wha == "grab" then
  182. rig = Instance.new("RigidConstraint",owner.Character.HumanoidRootPart)
  183. s = Instance.new("Attachment",owner.Character.HumanoidRootPart)
  184. s.WorldCFrame = owner.Character.HumanoidRootPart.CFrame * CFrame.new(0,0,owner.Character.Humanoid.RootPart.Size.Z) * CFrame.Angles(0,0,math.rad(-65))
  185. s2 = Instance.new("Attachment",hitp)
  186. if hitp.Parent:FindFirstChildWhichIsA("Humanoid") then
  187. hum = hitp.Parent:FindFirstChildWhichIsA("Humanoid")
  188. hum.PlatformStand = true
  189. net = hitp.Parent:FindFirstChildWhichIsA("Part"):GetNetworkOwner()
  190. net2 = hitp.Parent:FindFirstChildWhichIsA("Part")
  191. hitp.Parent:FindFirstChildWhichIsA("Part"):SetNetworkOwner(owner)
  192. end
  193. rig.Attachment1 = s
  194. rig.Attachment0 = s2
  195. elseif wha == "letgo" then
  196. s2:Destroy()
  197. s:Destroy()
  198. rig:Destroy()
  199. if hum then
  200. hum.PlatformStand = false
  201. hum = nil
  202. net2:SetNetworkOwner(net)
  203. net2 = nil
  204. net = nil
  205. end
  206. end
  207. end
  208. e = Instance.new("RemoteEvent",owner.PlayerGui)
  209. e.OnServerEvent:Connect(onoff)
  210. print()
  211. NLS([[
  212. print()
  213. local e = script.Parent
  214. local count2 = 0
  215. mouse = owner:GetMouse()
  216. local grav = workspace.Gravity
  217. count = 0
  218. mouse.KeyDown:Connect(function(key)
  219. key = key:lower()
  220. if key == "e" then
  221. count = count + 1
  222. if count == 1 then
  223. grav = workspace.Gravity
  224. e:FireServer("active")
  225. coroutine.wrap(function()
  226. for i = 1, 75 do
  227. wait(0.01)
  228. workspace.Gravity = grav
  229. end
  230. end)()
  231. elseif count == 2 then
  232. count = 0
  233. e:FireServer("deactive")
  234. coroutine.wrap(function()
  235. for i = 1, 75 do
  236. wait(0.01)
  237. workspace.Gravity = grav
  238. end
  239. end)()
  240. end
  241. elseif key == "g" then
  242. count2 = count2 + 1
  243. if count2 == 1 then
  244. e:FireServer("grab",mouse.Target,mouse.Hit)
  245. elseif count2 == 2 then
  246. e:FireServer("letgo")
  247. count2 = 0
  248. end
  249. end
  250. end)
  251. local vault = false
  252.  
  253. game:GetService("RunService").RenderStepped:Connect(function()
  254. if count == 1 then
  255. if owner.Character.Humanoid ~= nil then
  256. if owner.Character.Humanoid.MoveDirection ~= Vector3.new(0,0,0) then
  257. local params = RaycastParams.new()
  258. params.FilterDescendantsInstances = {owner.Character:GetDescendants()}
  259. params.FilterType = Enum.RaycastFilterType.Blacklist
  260. local dir = owner.Character.HumanoidRootPart.CFrame.lookVector * 5 + owner.Character.HumanoidRootPart.CFrame.upVector * -1.5
  261. local result = game.Workspace:Raycast(owner.Character.HumanoidRootPart.Position, dir,params)
  262. if result then
  263. local dir2 = owner.Character.HumanoidRootPart.CFrame.lookVector * 5 + owner.Character.HumanoidRootPart.CFrame.upVector * 1.5
  264. local result2 = game.Workspace:Raycast(owner.Character.HumanoidRootPart.Position, dir2,params)
  265. if not result2 and not vault then
  266. vault = true
  267. local velocity = Instance.new("BodyVelocity",owner.Character.HumanoidRootPart)
  268. velocity.MaxForce = Vector3.new(math.huge,math.huge,math.huge)
  269. velocity.Velocity = owner.Character.HumanoidRootPart.CFrame.LookVector * 65 + Vector3.new(0,30,0)
  270. game:GetService("Debris"):AddItem(velocity,0.15)
  271. wait(0.75)
  272. vault = false
  273. end
  274. end
  275. end
  276. end
  277. end
  278. end)
  279. ]],e)
  280. while wait(0.25) do
  281. if owner.Character.Humanoid.MoveDirection ~= Vector3.new(0,0,0) and on then
  282. for i,clone in pairs(owner.Character:GetDescendants()) do
  283. pcall(function()
  284. if clone:IsA("BasePart") then
  285. local v = Instance.new("SpawnLocation",owner.Character)
  286. v.Enabled = false
  287. v.Name = ""
  288. game:GetService("Debris"):AddItem(v,0.5)
  289. v.CFrame = clone.CFrame
  290. v.Parent = workspace
  291. v.CanCollide = false
  292. v.Size = clone.Size + Vector3.new(0.05,0.05,0.05)
  293. v.Anchored = true
  294. v.Material = "Neon"
  295. v.Transparency = 0.7
  296. v.Color = Color3.fromRGB(255,255,255)
  297. v.Position = v.Position + Vector3.new(clone.Velocity.X * owner:GetNetworkPing() * 2,clone.Velocity.Y * owner:GetNetworkPing() * 2,clone.Velocity.Z * owner:GetNetworkPing() * 2)
  298. if clone:FindFirstChildOfClass("SpecialMesh") then
  299. local mesh = clone:FindFirstChildOfClass("SpecialMesh"):Clone()
  300. mesh.Parent = v
  301. mesh.TextureId = ""
  302. end
  303. local tweenService = game:GetService("TweenService")
  304. local timeToFade = 0.5
  305. local object = v
  306. local tweenInfo = TweenInfo.new(timeToFade)
  307. local goal = {}
  308. goal.Transparency = 1
  309. local tween = tweenService:Create(object, tweenInfo, goal)
  310. tween:Play()
  311. local goal2 = {}
  312. goal2.Color = Color3.fromRGB(0,0,0)
  313. local tween2 = tweenService:Create(object, tweenInfo, goal2)
  314. tween2:Play()
  315. end
  316. end)
  317. end
  318. coroutine.wrap(function()
  319. for i = 1, 5 do
  320. wait(0.0078125)
  321. for i,clone in pairs(owner.Character:GetDescendants()) do
  322. pcall(function()
  323. if clone:IsA("BasePart") then
  324. local v = Instance.new("SpawnLocation",owner.Character)
  325. v.Enabled = false
  326. v.Name = ""
  327. game:GetService("Debris"):AddItem(v,0.5)
  328. v.CFrame = clone.CFrame
  329. v.Parent = workspace
  330. v.CanCollide = false
  331. v.Size = clone.Size + Vector3.new(0.05,0.05,0.05)
  332. v.Anchored = true
  333. v.Material = "Neon"
  334. v.Transparency = 0.7
  335. v.Position = v.Position + Vector3.new(clone.Velocity.X * owner:GetNetworkPing() * 2,clone.Velocity.Y * owner:GetNetworkPing() * 2,clone.Velocity.Z * owner:GetNetworkPing() * 2)
  336. v.Color = Color3.fromRGB(255,255,255)
  337. if clone:FindFirstChildOfClass("SpecialMesh") then
  338. local mesh = clone:FindFirstChildOfClass("SpecialMesh"):Clone()
  339. mesh.Parent = v
  340. mesh.TextureId = ""
  341. end
  342. local tweenService = game:GetService("TweenService")
  343. local timeToFade = 0.5
  344. local object = v
  345. local tweenInfo = TweenInfo.new(timeToFade)
  346. local goal = {}
  347. goal.Transparency = 1
  348. local tween = tweenService:Create(object, tweenInfo, goal)
  349. tween:Play()
  350. local goal2 = {}
  351. goal2.Color = Color3.fromRGB(0,0,0)
  352. local tween2 = tweenService:Create(object, tweenInfo, goal2)
  353. tween2:Play()
  354. end
  355. end)
  356. end
  357. end
  358. end)()
  359. end
  360. end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement