View difference between Paste ID: WpJZxJiZ and j8vUgwff
SHOW: | | - or go back to the newest paste.
1
if game:GetService("RunService"):IsClient() then error("Script must be server-side in order to work; use h/ and not hl/") end
2
local Player,Mouse,mouse,UserInputService,ContextActionService = owner
3
local RealPlayer = Player
4
do print("FE Compatibility code by Mokiros")local a=RealPlayer;script.Parent=a.Character;local b=Instance.new("RemoteEvent")b.Name="UserInput_Event"local function c()local d={_fakeEvent=true,Functions={},Connect=function(self,e)table.insert(self.Functions,e)end}d.connect=d.Connect;return d end;local f={Target=nil,Hit=CFrame.new(),KeyUp=c(),KeyDown=c(),Button1Up=c(),Button1Down=c(),Button2Up=c(),Button2Down=c()}local g={InputBegan=c(),InputEnded=c()}local CAS={Actions={},BindAction=function(self,h,i,j,...)CAS.Actions[h]=i and{Name=h,Function=i,Keys={...}}or nil end}CAS.UnbindAction=CAS.BindAction;local function k(self,l,...)local d=f[l]if d and d._fakeEvent then for m,e in pairs(d.Functions)do e(...)end end end;f.TrigEvent=k;g.TrigEvent=k;b.OnServerEvent:Connect(function(n,o)if n~=a then return end;f.Target=o.Target;f.Hit=o.Hit;if not o.isMouse then local p=o.UserInputState==Enum.UserInputState.Begin;if o.UserInputType==Enum.UserInputType.MouseButton1 then return f:TrigEvent(p and"Button1Down"or"Button1Up")end;if o.UserInputType==Enum.UserInputType.MouseButton2 then return f:TrigEvent(p and"Button2Down"or"Button2Up")end;for m,d in pairs(CAS.Actions)do for m,q in pairs(d.Keys)do if q==o.KeyCode then d.Function(d.Name,o.UserInputState,o)end end end;f:TrigEvent(p and"KeyDown"or"KeyUp",o.KeyCode.Name:lower())g:TrigEvent(p and"InputBegan"or"InputEnded",o,false)end end)b.Parent=NLS([==[local a=game:GetService("Players").LocalPlayer;local b=script:WaitForChild("UserInput_Event")local c=a:GetMouse()local d=game:GetService("UserInputService")local e=function(f,g)if g then return end;b:FireServer({KeyCode=f.KeyCode,UserInputType=f.UserInputType,UserInputState=f.UserInputState,Hit=c.Hit,Target=c.Target})end;d.InputBegan:Connect(e)d.InputEnded:Connect(e)local h,i;while wait(1/30)do if h~=c.Hit or i~=c.Target then h,i=c.Hit,c.Target;b:FireServer({isMouse=true,Target=i,Hit=h})end end]==],Player.Character)local r=game;local s={__index=function(self,q)local t=rawget(self,"_RealService")if t then return typeof(t[q])=="function"and function(m,...)return t[q](t,...)end or t[q]end end,__newindex=function(self,q,u)local t=rawget(self,"_RealService")if t then t[q]=u end end}local function v(d,w)d._RealService=typeof(w)=="string"and r:GetService(w)or w;return setmetatable(d,s)end;local x={GetService=function(self,t)return rawget(self,t)or r:GetService(t)end,Players=v({LocalPlayer=v({GetMouse=function(self)return f end},Player)},"Players"),UserInputService=v(g,"UserInputService"),ContextActionService=v(CAS,"ContextActionService"),RunService=v({_btrs={},RenderStepped=r:GetService("RunService").Heartbeat,BindToRenderStep=function(self,h,m,i)self._btrs[h]=self.Heartbeat:Connect(i)end,UnbindFromRenderStep=function(self,h)self._btrs[h]:Disconnect()end},"RunService")}rawset(x.Players,"localPlayer",x.Players.LocalPlayer)x.service=x.GetService;v(x,game)game,owner=x,x.Players.LocalPlayer end
5
6
7
8
local player = owner
9
local Cha = player.Character
10
local mouse = player:GetMouse()
11
local henshine = false
12
local RAC = Cha.Torso:WaitForChild("Right Shoulder")
13
local LAC = Cha.Torso:WaitForChild("Left Shoulder")
14
local RLC = Cha.Torso:WaitForChild("Right Hip")
15
local LLC = Cha.Torso:WaitForChild("Left Hip")
16
local Neck = Cha.Torso:WaitForChild("Neck")
17
local RA = Cha:FindFirstChild("Right Arm")
18
local LA = Cha:FindFirstChild("Left Arm")
19
local Torso = Cha.Torso
20
local Root = Cha.HumanoidRootPart
21
local Head = Cha.Head
22
local RL = Cha:FindFirstChild("Right Leg")
23
local LL = Cha:FindFirstChild("Left Leg")
24
local Humanoid = Cha.Humanoid
25
26
Humanoid.WalkSpeed = 0
27
local SongDriver = Instance.new("Sound")
28
SongDriver.Parent = Cha.Torso
29-
SongDriver.SoundId = "rbxassetid://341859730"
29+
SongDriver.SoundId = "rbxassetid://263473026"
30-
SongDriver.Volume = 15
30+
SongDriver.Volume = 2
31
SongDriver.Looped = true
32
SongDriver:Play()
33
34
35
local wheel = true
36
37
Model0 = Instance.new("Model")
38
MeshPart1 = Instance.new("Part")
39
SpecialMesh2 = Instance.new("SpecialMesh")
40
MeshPart3 = Instance.new("Part")
41
SpecialMesh4 = Instance.new("SpecialMesh")
42
MeshPart5 = Instance.new("Part")
43
SpecialMesh6 = Instance.new("SpecialMesh")
44
MeshPart7 = Instance.new("Part")
45
SpecialMesh8 = Instance.new("SpecialMesh")
46
Model0.Parent = Cha
47
MeshPart1.Name = "1"
48
MeshPart1.Parent = Model0
49
MeshPart1.Color = Color3.new(0.0666667, 0.0666667, 0.0666667)
50
MeshPart1.Size = Vector3.new(7.60899353, 4.52809906, 18.8089981)
51
MeshPart1.BrickColor = BrickColor.new("Really black")
52
MeshPart1.Material = Enum.Material.Neon
53
MeshPart1.brickColor = BrickColor.new("Really black")
54
local weld23 = Instance.new("Weld")
55
weld23.Part0 = Root 
56
weld23.Part1 = MeshPart1
57
weld23.C1 = CFrame.new(0,0.2,0)
58
weld23.Parent = MeshPart1
59
SpecialMesh2.Parent = MeshPart1
60
SpecialMesh2.MeshId = "rbxassetid://4564429740"
61
SpecialMesh2.MeshType = Enum.MeshType.FileMesh
62
MeshPart3.Name = "3"
63
MeshPart3.Parent = Model0
64
MeshPart3.Color = Color3.new(0.0666667, 0.0666667, 0.0666667)
65
MeshPart3.Size = Vector3.new(8.32899475, 4.90130043, 13.7426987)
66
MeshPart3.BrickColor = BrickColor.new("Really black")
67
MeshPart3.brickColor = BrickColor.new("Really black")
68
local weld3 = Instance.new("Weld")
69
weld3.Part0 = Root 
70
weld3.Part1 = MeshPart3
71
weld3.C1 = CFrame.new(0,0,-2.7)
72
weld3.Parent = MeshPart3
73
SpecialMesh4.Parent = MeshPart3
74
SpecialMesh4.MeshId = "rbxassetid://4564437842"
75
SpecialMesh4.MeshType = Enum.MeshType.FileMesh
76
MeshPart5.Name = "2"
77
MeshPart5.Parent = Model0
78
MeshPart5.Color = Color3.new(1, 0, 0)
79
MeshPart5.Size = Vector3.new(8.33399963, 4.59379959, 19.0807037)
80
MeshPart5.BrickColor = BrickColor.new("Really red")
81
MeshPart5.brickColor = BrickColor.new("Really red")
82
local weld5 = Instance.new("Weld")
83
weld5.Part0 = Root 
84
weld5.Part1 = MeshPart5
85
weld5.C1 = CFrame.new(0,0,0)
86
weld5.Parent = MeshPart5
87
SpecialMesh6.Parent = MeshPart5
88
SpecialMesh6.MeshId = "rbxassetid://4564431788"
89
SpecialMesh6.MeshType = Enum.MeshType.FileMesh
90
MeshPart7.Name = "4"
91
MeshPart7.Parent = Model0
92
MeshPart7.Color = Color3.new(0.0666667, 0.0666667, 0.0666667)
93
MeshPart7.Size = Vector3.new(8.21899414, 3.43040085, 18.7054062)
94
MeshPart7.BrickColor = BrickColor.new("Really black")
95
MeshPart7.brickColor = BrickColor.new("Really black")
96
local weld7 = Instance.new("Weld")
97
weld7.Part0 = Root 
98
weld7.Part1 = MeshPart7
99
weld7.C1 = CFrame.new(0,0.6,0.3)
100
weld7.Parent = MeshPart7
101
SpecialMesh8.Parent = MeshPart7
102
SpecialMesh8.MeshId = "rbxassetid://4564439599"
103
SpecialMesh8.MeshType = Enum.MeshType.FileMesh
104
105
local Wheel = Instance.new("Part")
106
Wheel.Parent = Cha.Torso
107
Wheel.BrickColor = BrickColor.new("New Yeller")
108
Wheel.CanCollide = false
109
Wheel.Material = "Neon"
110
local weld1 = Instance.new("Weld")
111
weld1.Part0 = Root 
112
weld1.Part1 = Wheel
113-
weld1.C1 = CFrame.new(0,1.5,0.4)
113+
weld1.C1 = CFrame.new(0,1.7,0.4)
114
weld1.Parent = Wheel
115
local Wheel1 = Instance.new("SpecialMesh")
116
Wheel1.MeshType = "FileMesh"
117
Wheel1.MeshId = "rbxassetid://4564501456"
118
Wheel1.TextureId = "rbxassetid://526379063"
119
Wheel1.Parent = Wheel
120
121
122
local engine = false
123
124
mouse.KeyDown:connect(function(key)
125
	if key == "f" and engine == false then
126
         local start = Instance.new("Sound")
127
start.Parent = Cha.Torso
128
start.SoundId = "rbxassetid://140685060"
129
start.Volume = 10
130
start:Play()
131
wait(1)
132
Humanoid.WalkSpeed = 90
133
local sport = Instance.new("SpotLight")
134
sport.Face = "Front"
135
sport.Range = 60
136
sport.Parent = Wheel1
137
local Engine = Instance.new("Sound")
138
Engine.Parent = Cha.Torso
139
Engine.SoundId = "rbxassetid://3163347496"
140
Engine.Volume = 0.4
141
Engine.Looped = true
142
Engine:Play()
143
end
144
end)
145
146
147
RAC.C0 = RAC.C0 * CFrame.new(0.6, 0, -0.4) * CFrame.Angles(0,214,-105.2)
148
LAC.C0 = LAC.C0 * CFrame.new(0, 0, 0) * CFrame.Angles(0,0,105.2)
149
150
151
RLC.C0 = RLC.C0 * CFrame.new(0, 0, 0) * CFrame.Angles(0,0,-200)
152
LLC.C0 = LLC.C0 * CFrame.new(0, 0, 0) * CFrame.Angles(0,0,200)
153
154
155
mouse.KeyDown:connect(function(key)
156
	if key == "w" and engine == true then
157
end
158
end)
159
160
161
game:GetService('RunService').Stepped:Connect(function()
162
table.foreach(Humanoid:GetPlayingAnimationTracks(), function(_, v)
163
	v:Stop()
164
end)
165
if Cha:FindFirstChild("Animate") then
166
	Cha:FindFirstChild("Animate"):Destroy()
167
end
168
end)