View difference between Paste ID: 9WbuHA3w and 7FuSTRrt
SHOW: | | - or go back to the newest paste.
1
char = game.Players.LocalPlayer.Character
2-
print("Sonic Forces! Double boost!")
2+
print("Sonic Movie")
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"
22+
boost.SoundId = "rbxassetid://3168123706"
23
boost.Volume = 4
24
boost.Looped = true
25
boost:Play()
26
coroutine.wrap(function()
27
    while true do
28
        wait(0.01)
29
        if boost.Parent == nil then
30
            boost.Parent = char
31
        end
32
    end
33
end)()
34
wait(5)
35
local boostp = Instance.new("Part",char)
36
boostp.BrickColor = BrickColor.new("Electric blue")
37
boostp.Transparency = 0.5
38
local boostm = Instance.new("FileMesh",boostp)
39
boostm.MeshId = "http://www.roblox.com/asset/?id=16150864"
40
boostm.Scale = Vector3.new(5,5,5)
41
local boostw = Instance.new("Weld",boostp)
42
boostw.Part0 = boostp
43
boostw.Part1 = char.Torso
44
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)
45
local booste = Instance.new("Sound",char)
46
booste.SoundId = "rbxassetid://1295449565"
47
booste.Looped = true
48
booste.Volume = 2
49
booste:Play()
50
local boost2 = Instance.new("Sound",char)
51
boost2.Volume = 4
52
boost2.SoundId = "rbxassetid://1295446488"
53
boost2:Play()
54
lhandweld = char.Torso["Left Shoulder"]
55
rhandweld = char.Torso["Right Shoulder"]
56
llegweld = char.Torso["Left Hip"]
57
rlegweld = char.Torso["Right Hip"]
58
lhandweld.C1 = CFrame.new(0,0,0)
59
rhandweld.C1 = CFrame.new(0,0,0)
60
llegweld.C1 = CFrame.new(0,0,0)
61
rlegweld.C1 = CFrame.new(0,0,0)
62
local trail = Instance.new("Trail",char)
63
trail.Color = ColorSequence.new(boostp.BrickColor.Color)
64
trail.Lifetime = 0.5
65
local attachment0 = Instance.new("Attachment",char.Head)
66
attachment0.Name = "TrailAttachment0"
67
local attachment1 = Instance.new("Attachment",char.HumanoidRootPart)
68
attachment1.Name = "TrailAttachment1"
69
trail.Attachment0 = attachment0
70
trail.Attachment1 = attachment1
71
local newvel = Instance.new("BodyVelocity")
72
        newvel.Parent = char.Torso
73
        newvel.maxForce = Vector3.new(100000,3000,100000)
74
        newvel.velocity =  newvel.Parent.CFrame.lookVector*100
75
        newvel.Name = "SuperRun"
76
char.Torso.Touched:connect(function(part)
77
    local human = part.Parent:FindFirstChildOfClass("Humanoid")
78
    if human then
79
        human.Parent:BreakJoints()
80
    end
81
end)
82
coroutine.wrap(function()
83
    while true do
84
        wait(0.01)
85
        for i = 1,40 do
86
            wait()
87
            newvel.velocity =  newvel.Parent.CFrame.lookVector* math.random(100,1000)
88
            text.Text = "Speed: " .. math.random(100,1000)
89
        end
90
    end
91
end)()
92
while true do
93
    wait(0.01)
94
    char.Humanoid.WalkSpeed = math.random(100,200)
95
    for i = 0,1 ,0.3 do
96
        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)
97
        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)
98
        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)
99
        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)
100
        game:GetService("RunService").RenderStepped:wait()
101
    end
102
    for i = 0,1 ,0.3 do
103
        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)
104
        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)
105
        game:GetService("RunService").RenderStepped:wait()
106
    end
107
end