Advertisement
Guest User

Untitled

a guest
Jul 17th, 2018
68
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 4.95 KB | None | 0 0
  1. local message=Instance.New("Message")
  2. message.Text="Turn down your volume :)"
  3. message.parent=game.workspace
  4. wait(5)
  5. message:Destroy()
  6. char = game.Players.LocalPlayer.Character
  7. print("Sonic Forces! Double boost!")
  8. local gui = Instance.new("ScreenGui",game.Players.LocalPlayer.PlayerGui)
  9. local text = Instance.new("TextLabel",gui)
  10. text.Position = UDim2.new(0.003, 0,0.781, 0)
  11. text.Size = UDim2.new(0.203, 0,0.211, 0)
  12. text.BackgroundTransparency = 1
  13. text.TextColor3 = Color3.new(1,1,1)
  14. text.TextScaled = true
  15. text.Text = "Speed: 0"
  16. char.Humanoid.Animator:Destroy()
  17. char.Animate:Destroy()
  18. char.HumanoidRootPart.RootJoint.C1 = CFrame.new(0,0,0)
  19. char.Torso["Right Hip"].C1 = CFrame.new(0,0,0)
  20. for i = 0,1 ,0.03 do
  21. 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)
  22. 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)
  23. game:GetService("RunService").RenderStepped:wait()
  24. end
  25. char.Humanoid.WalkSpeed = 0
  26. local boost = Instance.new("Sound",char)
  27. boost.SoundId = "rbxassetid://1192337951"
  28. boost.Volume = 10
  29. boost.Looped = true
  30. boost.Parent=workspace
  31. local distortion= Instance.new("DistortionSoundEffect")
  32. distortion.Parent=boost
  33. distortion.Level=1
  34. distortion.Priority=1
  35. boost.Playing=true
  36. coroutine.wrap(function()
  37. while true do
  38. wait(0.01)
  39. if boost.Parent == nil then
  40. boost.Parent = char
  41. end
  42. end
  43. end)()
  44. wait(5)
  45. local boostp = Instance.new("Part",char)
  46. boostp.BrickColor = BrickColor.new("Electric blue")
  47. boostp.Transparency = 0.5
  48. local boostm = Instance.new("FileMesh",boostp)
  49. boostm.MeshId = "http://www.roblox.com/asset/?id=16150864"
  50. boostm.Scale = Vector3.new(5,5,5)
  51. local boostw = Instance.new("Weld",boostp)
  52. boostw.Part0 = boostp
  53. boostw.Part1 = char.Torso
  54. 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)
  55. local booste = Instance.new("Sound",char)
  56. booste.SoundId = "rbxassetid://1295449565"
  57. booste.Looped = true
  58. booste.Volume = 2
  59. booste:Play()
  60. local boost2 = Instance.new("Sound",char)
  61. boost2.Volume = 4
  62. boost2.SoundId = "rbxassetid://1295446488"
  63. boost2:Play()
  64. lhandweld = char.Torso["Left Shoulder"]
  65. rhandweld = char.Torso["Right Shoulder"]
  66. llegweld = char.Torso["Left Hip"]
  67. rlegweld = char.Torso["Right Hip"]
  68. lhandweld.C1 = CFrame.new(0,0,0)
  69. rhandweld.C1 = CFrame.new(0,0,0)
  70. llegweld.C1 = CFrame.new(0,0,0)
  71. rlegweld.C1 = CFrame.new(0,0,0)
  72. local trail = Instance.new("Trail",char)
  73. trail.Color = ColorSequence.new(boostp.BrickColor.Color)
  74. trail.Lifetime = 0.5
  75. local attachment0 = Instance.new("Attachment",char.Head)
  76. attachment0.Name = "TrailAttachment0"
  77. local attachment1 = Instance.new("Attachment",char.HumanoidRootPart)
  78. attachment1.Name = "TrailAttachment1"
  79. trail.Attachment0 = attachment0
  80. trail.Attachment1 = attachment1
  81. local newvel = Instance.new("BodyVelocity")
  82. newvel.Parent = char.Torso
  83. newvel.maxForce = Vector3.new(100000,3000,100000)
  84. newvel.velocity = newvel.Parent.CFrame.lookVector*100
  85. newvel.Name = "SuperRun"
  86. char.Torso.Touched:connect(function(part)
  87. local human = part.Parent:FindFirstChildOfClass("Humanoid")
  88. if human then
  89. human.Parent:BreakJoints()
  90. end
  91. end)
  92. coroutine.wrap(function()
  93. while true do
  94. wait(0.01)
  95. for i = 1,40 do
  96. wait()
  97. newvel.velocity = newvel.Parent.CFrame.lookVector* math.random(100,1000)
  98. text.Text = "Speed: " .. math.random(100,1000)
  99. end
  100. end
  101. end)()
  102. while true do
  103. wait(0.01)
  104. char.Humanoid.WalkSpeed = math.random(100,200)
  105. for i = 0,1 ,0.3 do
  106. 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)
  107. 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)
  108. 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)
  109. 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)
  110. game:GetService("RunService").RenderStepped:wait()
  111. end
  112. for i = 0,1 ,0.3 do
  113. 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)
  114. 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)
  115. game:GetService("RunService").RenderStepped:wait()
  116. end
  117. end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement