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 | local player = owner | |
8 | local Cha = player.Character | |
9 | local mouse = player:GetMouse() | |
10 | local henshine = false | |
11 | local RAC = Cha.Torso:WaitForChild("Right Shoulder") | |
12 | local LAC = Cha.Torso:WaitForChild("Left Shoulder") | |
13 | local RLC = Cha.Torso:WaitForChild("Right Hip") | |
14 | local LLC = Cha.Torso:WaitForChild("Left Hip") | |
15 | local Neck = Cha.Torso:WaitForChild("Neck") | |
16 | local RA = Cha:FindFirstChild("Right Arm") | |
17 | local LA = Cha:FindFirstChild("Left Arm") | |
18 | local Torso = Cha.Torso | |
19 | local Root = Cha.HumanoidRootPart | |
20 | local Head = Cha.Head | |
21 | local RL = Cha:FindFirstChild("Right Leg") | |
22 | local LL = Cha:FindFirstChild("Left Leg") | |
23 | local Humanoid = Cha.Humanoid | |
24 | ||
25 | Humanoid.WalkSpeed = 0 | |
26 | local SongDriver = Instance.new("Sound") | |
27 | SongDriver.Parent = Cha.Torso | |
28 | SongDriver.SoundId = "rbxassetid://341859730" | |
29 | SongDriver.Volume = 15 | |
30 | SongDriver.Looped = true | |
31 | SongDriver:Play() | |
32 | ||
33 | ||
34 | local wheel = true | |
35 | ||
36 | Model0 = Instance.new("Model") | |
37 | MeshPart1 = Instance.new("Part") | |
38 | SpecialMesh2 = Instance.new("SpecialMesh") | |
39 | MeshPart3 = Instance.new("Part") | |
40 | SpecialMesh4 = Instance.new("SpecialMesh") | |
41 | MeshPart5 = Instance.new("Part") | |
42 | SpecialMesh6 = Instance.new("SpecialMesh") | |
43 | MeshPart7 = Instance.new("Part") | |
44 | SpecialMesh8 = Instance.new("SpecialMesh") | |
45 | Model0.Parent = Cha | |
46 | MeshPart1.Name = "1" | |
47 | MeshPart1.Parent = Model0 | |
48 | MeshPart1.Color = Color3.new(0.0666667, 0.0666667, 0.0666667) | |
49 | MeshPart1.Size = Vector3.new(7.60899353, 4.52809906, 18.8089981) | |
50 | MeshPart1.BrickColor = BrickColor.new("Really black") | |
51 | MeshPart1.Material = Enum.Material.Neon | |
52 | MeshPart1.brickColor = BrickColor.new("Really black") | |
53 | local weld23 = Instance.new("Weld") | |
54 | weld23.Part0 = Root | |
55 | weld23.Part1 = MeshPart1 | |
56 | weld23.C1 = CFrame.new(0,0,0) | |
57 | weld23.Parent = MeshPart1 | |
58 | SpecialMesh2.Parent = MeshPart1 | |
59 | SpecialMesh2.MeshId = "rbxassetid://4564429740" | |
60 | SpecialMesh2.MeshType = Enum.MeshType.FileMesh | |
61 | MeshPart3.Name = "3" | |
62 | MeshPart3.Parent = Model0 | |
63 | MeshPart3.Color = Color3.new(0.0666667, 0.0666667, 0.0666667) | |
64 | MeshPart3.Size = Vector3.new(8.32899475, 4.90130043, 13.7426987) | |
65 | MeshPart3.BrickColor = BrickColor.new("Really black") | |
66 | MeshPart3.brickColor = BrickColor.new("Really black") | |
67 | local weld3 = Instance.new("Weld") | |
68 | weld3.Part0 = Root | |
69 | weld3.Part1 = MeshPart3 | |
70 | weld3.C1 = CFrame.new(0,0,0) | |
71 | weld3.Parent = MeshPart3 | |
72 | SpecialMesh4.Parent = MeshPart3 | |
73 | SpecialMesh4.MeshId = "rbxassetid://4564437842" | |
74 | SpecialMesh4.MeshType = Enum.MeshType.FileMesh | |
75 | MeshPart5.Name = "2" | |
76 | MeshPart5.Parent = Model0 | |
77 | MeshPart5.Color = Color3.new(1, 0, 0) | |
78 | MeshPart5.Size = Vector3.new(8.33399963, 4.59379959, 19.0807037) | |
79 | MeshPart5.BrickColor = BrickColor.new("Really red") | |
80 | MeshPart5.brickColor = BrickColor.new("Really red") | |
81 | local weld5 = Instance.new("Weld") | |
82 | weld5.Part0 = Root | |
83 | weld5.Part1 = MeshPart5 | |
84 | weld5.C1 = CFrame.new(0,0,0) | |
85 | weld5.Parent = MeshPart5 | |
86 | SpecialMesh6.Parent = MeshPart5 | |
87 | SpecialMesh6.MeshId = "rbxassetid://4564431788" | |
88 | SpecialMesh6.MeshType = Enum.MeshType.FileMesh | |
89 | MeshPart7.Name = "4" | |
90 | MeshPart7.Parent = Model0 | |
91 | MeshPart7.Color = Color3.new(0.0666667, 0.0666667, 0.0666667) | |
92 | MeshPart7.Size = Vector3.new(8.21899414, 3.43040085, 18.7054062) | |
93 | MeshPart7.BrickColor = BrickColor.new("Really black") | |
94 | MeshPart7.brickColor = BrickColor.new("Really black") | |
95 | local weld7 = Instance.new("Weld") | |
96 | weld7.Part0 = Root | |
97 | weld7.Part1 = MeshPart7 | |
98 | - | weld7.C1 = CFrame.new(0,1,0) |
98 | + | weld7.C1 = CFrame.new(0,0.5,0) |
99 | weld7.Parent = MeshPart7 | |
100 | SpecialMesh8.Parent = MeshPart7 | |
101 | SpecialMesh8.MeshId = "rbxassetid://4564439599" | |
102 | SpecialMesh8.MeshType = Enum.MeshType.FileMesh | |
103 | ||
104 | local Wheel = Instance.new("Part") | |
105 | Wheel.Parent = Cha.Torso | |
106 | Wheel.BrickColor = BrickColor.new("New Yeller") | |
107 | Wheel.CanCollide = false | |
108 | Wheel.Material = "Neon" | |
109 | local weld1 = Instance.new("Weld") | |
110 | weld1.Part0 = Root | |
111 | weld1.Part1 = Wheel | |
112 | weld1.C1 = CFrame.new(-1.8,1.7,-6) | |
113 | weld1.Parent = Wheel | |
114 | local Wheel1 = Instance.new("SpecialMesh") | |
115 | Wheel1.MeshType = "FileMesh" | |
116 | Wheel1.MeshId = "rbxassetid://3683259634" | |
117 | Wheel1.TextureId = "rbxassetid://560989240" | |
118 | Wheel1.Parent = Wheel | |
119 | ||
120 | local Wheel1 = Instance.new("Part") | |
121 | Wheel1.Parent = Cha.Torso | |
122 | Wheel1.BrickColor = BrickColor.new("New Yeller") | |
123 | Wheel1.CanCollide = false | |
124 | Wheel1.Material = "Neon" | |
125 | local weld2 = Instance.new("Weld") | |
126 | weld2.Part0 = Root | |
127 | weld2.Part1 = Wheel1 | |
128 | weld2.C1 = CFrame.new(-1.8,1.7,7.7) | |
129 | weld2.Parent = Wheel1 | |
130 | local Wheel2 = Instance.new("SpecialMesh") | |
131 | Wheel2.MeshType = "FileMesh" | |
132 | Wheel2.MeshId = "rbxassetid://3683259634" | |
133 | Wheel2.TextureId = "rbxassetid://560989240" | |
134 | Wheel2.Parent = Wheel1 | |
135 | local engine = false | |
136 | ||
137 | mouse.KeyDown:connect(function(key) | |
138 | if key == "f" and engine == false then | |
139 | local start = Instance.new("Sound") | |
140 | start.Parent = Cha.Torso | |
141 | start.SoundId = "rbxassetid://140685060" | |
142 | start.Volume = 10 | |
143 | start:Play() | |
144 | wait(1) | |
145 | Humanoid.WalkSpeed = 90 | |
146 | local sport = Instance.new("SpotLight") | |
147 | sport.Face = "Front" | |
148 | sport.Range = 60 | |
149 | sport.Parent = Wheel1 | |
150 | local Engine = Instance.new("Sound") | |
151 | Engine.Parent = Cha.Torso | |
152 | Engine.SoundId = "rbxassetid://3163347496" | |
153 | Engine.Volume = 0.4 | |
154 | Engine.Looped = true | |
155 | Engine:Play() | |
156 | end | |
157 | end) | |
158 | ||
159 | ||
160 | RAC.C0 = RAC.C0 * CFrame.new(0.6, 0, -0.4) * CFrame.Angles(0,214,-105.2) | |
161 | LAC.C0 = LAC.C0 * CFrame.new(0, 0, 0) * CFrame.Angles(0,0,105.2) | |
162 | ||
163 | ||
164 | RLC.C0 = RLC.C0 * CFrame.new(0, 0, 0) * CFrame.Angles(0,0,-200) | |
165 | LLC.C0 = LLC.C0 * CFrame.new(0, 0, 0) * CFrame.Angles(0,0,200) | |
166 | ||
167 | ||
168 | mouse.KeyDown:connect(function(key) | |
169 | if key == "w" and engine == true then | |
170 | end | |
171 | end) | |
172 | ||
173 | ||
174 | game:GetService('RunService').Stepped:Connect(function() | |
175 | table.foreach(Humanoid:GetPlayingAnimationTracks(), function(_, v) | |
176 | v:Stop() | |
177 | end) | |
178 | if Cha:FindFirstChild("Animate") then | |
179 | Cha:FindFirstChild("Animate"):Destroy() | |
180 | end | |
181 | end) |