Advertisement
Guest User

Untitled

a guest
Jul 17th, 2018
145
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 4.81 KB | None | 0 0
  1. char = game.Players.LocalPlayer.Character
  2. print("Sonic Forces! Double boost!")
  3. local gui = Instance.new("ScreenGui",game.Players.LocalPlayer.PlayerGui)
  4. local text = Instance.new("TextLabel",gui)
  5. text.Position = UDim2.new(0.003, 0,0.781, 0)
  6. text.Size = UDim2.new(0.203, 0,0.211, 0)
  7. text.BackgroundTransparency = 1
  8. text.TextColor3 = Color3.new(1,1,1)
  9. text.TextScaled = true
  10. text.Text = "Speed: 0"
  11. char.Humanoid.Animator:Destroy()
  12. char.Animate:Destroy()
  13. char.HumanoidRootPart.RootJoint.C1 = CFrame.new(0,0,0)
  14. char.Torso["Right Hip"].C1 = CFrame.new(0,0,0)
  15. for i = 0,1 ,0.03 do
  16. char.HumanoidRootPart.RootJoint.C0 = char.HumanoidRootPart.RootJoint.C0:lerp(CFrame.new(0, 0.107334137, -0.173822403, 1, 0, 0, 0, 0.940232992, -0.340532184, 0, 0.340532184, 0.940232992):inverse(),i)
  17. char.Torso["Right Hip"].C0 = char.Torso["Right Hip"].C0:lerp(CFrame.new(0.5, -1.87479305, -0.59992981, 1, 0, 0, 0, 0.916532993, -0.399959058, 0, 0.399958998, 0.916533113),i)
  18. game:GetService("RunService").RenderStepped:wait()
  19. end
  20. char.Humanoid.WalkSpeed = 0
  21. local boost = Instance.new("Sound",char)
  22. boost.SoundId = "rbxassetid://1192337951"
  23. boost.Volume = 10
  24. boost.Looped = true
  25. boost.Parent=workspace
  26. local distortion= Instance.new("DistortionSoundEffect")
  27. distortion.Parent=boost
  28. distortion.Level=1
  29. distortion.Priority=1
  30. boost.Playing=true
  31. coroutine.wrap(function()
  32. while true do
  33. wait(0.01)
  34. if boost.Parent == nil then
  35. boost.Parent = char
  36. end
  37. end
  38. end)()
  39. wait(5)
  40. local boostp = Instance.new("Part",char)
  41. boostp.BrickColor = BrickColor.new("Electric blue")
  42. boostp.Transparency = 0.5
  43. local boostm = Instance.new("FileMesh",boostp)
  44. boostm.MeshId = "http://www.roblox.com/asset/?id=16150864"
  45. boostm.Scale = Vector3.new(5,5,5)
  46. local boostw = Instance.new("Weld",boostp)
  47. boostw.Part0 = boostp
  48. boostw.Part1 = char.Torso
  49. boostw.C0 = CFrame.new(0.00974273682, 0.00136947632, -0.455072403, 0.998052895, -0.024946643, 0.0571669154, 0.0573021285, 0.00473886728, -0.998345733, 0.0246344674, 0.999677718, 0.00615915656)
  50. local booste = Instance.new("Sound",char)
  51. booste.SoundId = "rbxassetid://1295449565"
  52. booste.Looped = true
  53. booste.Volume = 2
  54. booste:Play()
  55. local boost2 = Instance.new("Sound",char)
  56. boost2.Volume = 4
  57. boost2.SoundId = "rbxassetid://1295446488"
  58. boost2:Play()
  59. lhandweld = char.Torso["Left Shoulder"]
  60. rhandweld = char.Torso["Right Shoulder"]
  61. llegweld = char.Torso["Left Hip"]
  62. rlegweld = char.Torso["Right Hip"]
  63. lhandweld.C1 = CFrame.new(0,0,0)
  64. rhandweld.C1 = CFrame.new(0,0,0)
  65. llegweld.C1 = CFrame.new(0,0,0)
  66. rlegweld.C1 = CFrame.new(0,0,0)
  67. local trail = Instance.new("Trail",char)
  68. trail.Color = ColorSequence.new(boostp.BrickColor.Color)
  69. trail.Lifetime = 0.5
  70. local attachment0 = Instance.new("Attachment",char.Head)
  71. attachment0.Name = "TrailAttachment0"
  72. local attachment1 = Instance.new("Attachment",char.HumanoidRootPart)
  73. attachment1.Name = "TrailAttachment1"
  74. trail.Attachment0 = attachment0
  75. trail.Attachment1 = attachment1
  76. local newvel = Instance.new("BodyVelocity")
  77. newvel.Parent = char.Torso
  78. newvel.maxForce = Vector3.new(100000,3000,100000)
  79. newvel.velocity = newvel.Parent.CFrame.lookVector*100
  80. newvel.Name = "SuperRun"
  81. char.Torso.Touched:connect(function(part)
  82. local human = part.Parent:FindFirstChildOfClass("Humanoid")
  83. if human then
  84. human.Parent:BreakJoints()
  85. end
  86. end)
  87. coroutine.wrap(function()
  88. while true do
  89. wait(0.01)
  90. for i = 1,40 do
  91. wait()
  92. newvel.velocity = newvel.Parent.CFrame.lookVector* math.random(100,1000)
  93. text.Text = "Speed: " .. math.random(100,1000)
  94. end
  95. end
  96. end)()
  97. while true do
  98. wait(0.01)
  99. char.Humanoid.WalkSpeed = math.random(100,200)
  100. for i = 0,1 ,0.3 do
  101. lhandweld.C0 = lhandweld.C0:lerp(CFrame.new(-1.5, 0.273401737, 0.445701599, 1, 0, 0, 0, 0.453197539, 0.891410112, 0, -0.891410232, 0.453197569),i)
  102. llegweld.C0 = llegweld.C0:lerp(CFrame.new(-0.5, -1.53495121, -0.844882965, 1, 0, 0, 0, 0.534950972, -0.844883084, 0, 0.844883084, 0.534951091),i)
  103. rhandweld.C0 = rhandweld.C0:lerp(CFrame.new(1.5, 0.313892841, 0.464073181, 1, 0, 0, 0, 0.37221545, 0.928146303, 0, -0.928146362, 0.372215509),i)
  104. rlegweld.C0 = rlegweld.C0:lerp(CFrame.new(0.5, -1.59347343, 0.804859161, 1, 0, 0, 0, 0.593472898, 0.804853976, 0, -0.804854035, 0.593472958),i)
  105. game:GetService("RunService").RenderStepped:wait()
  106. end
  107. for i = 0,1 ,0.3 do
  108. llegweld.C0 = llegweld.C0:lerp(CFrame.new(-0.5, -1.63476276, 0.772708893, 1, 0, 0, 0, 0.63476181, 0.77270782, 0, -0.77270788, 0.63476187),i)
  109. rlegweld.C0 = rlegweld.C0:lerp(CFrame.new(0.5, -1.49659729, -0.867980957, 1, 0, 0, 0, 0.496596336, -0.867981553, 0, 0.867981672, 0.496596336),i)
  110. game:GetService("RunService").RenderStepped:wait()
  111. end
  112. end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement