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,game,owner = owner,game | |
3 | local RealPlayer = Player | |
4 | do | |
5 | print("FE Compatibility code by Mokiros") | |
6 | local rp = RealPlayer | |
7 | script.Parent = rp.Character | |
8 | ||
9 | --RemoteEvent for communicating | |
10 | local Event = Instance.new("RemoteEvent") | |
11 | Event.Name = "UserInput_Event" | |
12 | ||
13 | --Fake event to make stuff like Mouse.KeyDown work | |
14 | local function fakeEvent() | |
15 | local t = {_fakeEvent=true,Functions={},Connect=function(self,f)table.insert(self.Functions,f) end} | |
16 | t.connect = t.Connect | |
17 | return t | |
18 | end | |
19 | ||
20 | --Creating fake input objects with fake variables | |
21 | local m = {Target=nil,Hit=CFrame.new(),KeyUp=fakeEvent(),KeyDown=fakeEvent(),Button1Up=fakeEvent(),Button1Down=fakeEvent()} | |
22 | local UIS = {InputBegan=fakeEvent(),InputEnded=fakeEvent()} | |
23 | local CAS = {Actions={},BindAction=function(self,name,fun,touch,...) | |
24 | CAS.Actions[name] = fun and {Name=name,Function=fun,Keys={...}} or nil | |
25 | end} | |
26 | --Merged 2 functions into one by checking amount of arguments | |
27 | CAS.UnbindAction = CAS.BindAction | |
28 | ||
29 | --This function will trigger the events that have been :Connect()'ed | |
30 | local function te(self,ev,...) | |
31 | local t = m[ev] | |
32 | if t and t._fakeEvent then | |
33 | for _,f in pairs(t.Functions) do | |
34 | f(...) | |
35 | end | |
36 | end | |
37 | end | |
38 | m.TrigEvent = te | |
39 | UIS.TrigEvent = te | |
40 | ||
41 | Event.OnServerEvent:Connect(function(plr,io) | |
42 | if plr~=rp then return end | |
43 | m.Target = io.Target | |
44 | m.Hit = io.Hit | |
45 | if not io.isMouse then | |
46 | local b = io.UserInputState == Enum.UserInputState.Begin | |
47 | if io.UserInputType == Enum.UserInputType.MouseButton1 then | |
48 | return m:TrigEvent(b and "Button1Down" or "Button1Up") | |
49 | end | |
50 | for _,t in pairs(CAS.Actions) do | |
51 | for _,k in pairs(t.Keys) do | |
52 | if k==io.KeyCode then | |
53 | t.Function(t.Name,io.UserInputState,io) | |
54 | end | |
55 | end | |
56 | end | |
57 | m:TrigEvent(b and "KeyDown" or "KeyUp",io.KeyCode.Name:lower()) | |
58 | UIS:TrigEvent(b and "InputBegan" or "InputEnded",io,false) | |
59 | end | |
60 | end) | |
61 | Event.Parent = NLS([==[ | |
62 | local Player = game:GetService("Players").LocalPlayer | |
63 | local Event = script:WaitForChild("UserInput_Event") | |
64 | ||
65 | local Mouse = Player:GetMouse() | |
66 | local UIS = game:GetService("UserInputService") | |
67 | local input = function(io,a) | |
68 | if a then return end | |
69 | --Since InputObject is a client-side instance, we create and pass table instead | |
70 | Event:FireServer({KeyCode=io.KeyCode,UserInputType=io.UserInputType,UserInputState=io.UserInputState,Hit=Mouse.Hit,Target=Mouse.Target}) | |
71 | end | |
72 | UIS.InputBegan:Connect(input) | |
73 | UIS.InputEnded:Connect(input) | |
74 | ||
75 | local h,t | |
76 | --Give the server mouse data 30 times every second, but only if the values changed | |
77 | --If player is not moving their mouse, client won't fire events | |
78 | while wait(1/30) do | |
79 | if h~=Mouse.Hit or t~=Mouse.Target then | |
80 | h,t=Mouse.Hit,Mouse.Target | |
81 | Event:FireServer({isMouse=true,Target=t,Hit=h}) | |
82 | end | |
83 | end]==],Player.Character) | |
84 | ||
85 | ----Sandboxed game object that allows the usage of client-side methods and services | |
86 | --Real game object | |
87 | local _rg = game | |
88 | ||
89 | --Metatable for fake service | |
90 | local fsmt = { | |
91 | __index = function(self,k) | |
92 | local s = rawget(self,"_RealService") | |
93 | if s then return s[k] end | |
94 | end, | |
95 | __newindex = function(self,k,v) | |
96 | local s = rawget(self,"_RealService") | |
97 | if s then s[k]=v end | |
98 | end, | |
99 | __call = function(self,...) | |
100 | local s = rawget(self,"_RealService") | |
101 | if s then return s(...) end | |
102 | end | |
103 | } | |
104 | local function FakeService(t,RealService) | |
105 | t._RealService = typeof(RealService)=="string" and _rg:GetService(RealService) or RealService | |
106 | return setmetatable(t,fsmt) | |
107 | end | |
108 | ||
109 | --Fake game object | |
110 | local g = { | |
111 | GetService = function(self,s) | |
112 | return self[s] | |
113 | end, | |
114 | Players = FakeService({ | |
115 | LocalPlayer = FakeService({GetMouse=function(self)return m end},Player) | |
116 | },"Players"), | |
117 | UserInputService = FakeService(UIS,"UserInputService"), | |
118 | ContextActionService = FakeService(CAS,"ContextActionService"), | |
119 | } | |
120 | rawset(g.Players,"localPlayer",g.Players.LocalPlayer) | |
121 | g.service = g.GetService | |
122 | ||
123 | g.RunService = FakeService({ | |
124 | RenderStepped = _rg:GetService("RunService").Heartbeat, | |
125 | BindToRenderStep = function(self,name,_,fun) | |
126 | self._btrs[name] = self.Heartbeat:Connect(fun) | |
127 | end, | |
128 | UnbindFromRenderStep = function(self,name) | |
129 | self._btrs[name]:Disconnect() | |
130 | end, | |
131 | },"RunService") | |
132 | ||
133 | setmetatable(g,{ | |
134 | __index=function(self,s) | |
135 | return _rg:GetService(s) or typeof(_rg[s])=="function" | |
136 | and function(_,...)return _rg[s](_rg,...)end or _rg[s] | |
137 | end, | |
138 | __newindex = fsmt.__newindex, | |
139 | __call = fsmt.__call | |
140 | }) | |
141 | --Changing owner to fake player object to support owner:GetMouse() | |
142 | game,owner = g,g.Players.LocalPlayer | |
143 | end | |
144 | ||
145 | ||
146 | local num = 0 | |
147 | local p = game.Players.LocalPlayer | |
148 | local char = p.Character | |
149 | local rad = math.rad | |
150 | local hum = char.Humanoid | |
151 | --------------------------------------------------- | |
152 | local LeftUpperArm = char.LeftUpperArm | |
153 | local LeftShoulder = char.LeftUpperArm.LeftShoulder | |
154 | local LeftLowerArm = char.LeftLowerArm | |
155 | local LeftElbow = char.LeftLowerArm.LeftElbow | |
156 | -------------------------------------------------------- | |
157 | local LeftUpperLeg = char.LeftUpperLeg | |
158 | local LeftHip = char.LeftUpperLeg.LeftHip | |
159 | local LeftLowerLeg = char.LeftLowerLeg | |
160 | local LeftKnee = char.LeftLowerLeg.LeftKnee | |
161 | ---------------------------------------------------------- | |
162 | local RightUpperArm = char.RightUpperArm | |
163 | local RightShoulder = char.RightUpperArm.RightShoulder | |
164 | local RightLowerArm = char.RightLowerArm | |
165 | local RightElbow = char.RightLowerArm.RightElbow | |
166 | ---------------------------------------------------------- | |
167 | local RightUpperLeg = char.RightUpperLeg | |
168 | local RightHip = char.RightUpperLeg.RightHip | |
169 | local RightLowerLeg = char.RightLowerLeg | |
170 | local RightKnee = char.RightLowerLeg.RightKnee | |
171 | ---------------------------------------------------------- | |
172 | local UpperTorso = char.UpperTorso | |
173 | local LowerTorso = char.LowerTorso | |
174 | local Root = char.LowerTorso.Root | |
175 | -------------------------------------------- | |
176 | local Head = char.Head | |
177 | local Neck = char.Head.Neck | |
178 | local RootPart = char.HumanoidRootPart | |
179 | local LeftHand = char.LeftHand | |
180 | local RightHand = char.RightHand | |
181 | local LeftFoot = char.LeftFoot | |
182 | local RightFoot = char.RightFoot | |
183 | --------------------------------------------- | |
184 | ||
185 | local txt2 = Instance.new("BillboardGui", char) | |
186 | txt2.Adornee = char.Head | |
187 | txt2.Name = "_status2" | |
188 | txt2.Size = UDim2.new(2, 0, 1.2, 0) | |
189 | txt2.StudsOffset = Vector3.new(-14, 3, 0) | |
190 | local text2 = Instance.new("TextLabel", txt2) | |
191 | text2.Size = UDim2.new(15, 0,2, 0) | |
192 | text2.FontSize = "Size24" | |
193 | text2.TextScaled = true | |
194 | text2.TextTransparency = 0 | |
195 | text2.BackgroundTransparency = 1 | |
196 | text2.TextTransparency = 0 | |
197 | text2.TextStrokeTransparency = 0 | |
198 | text2.Font = Enum.Font.SourceSansBold | |
199 | text2.TextStrokeColor3 = Color3.new(0,0,0) | |
200 | text2.TextColor3 = Color3.new(26, 234, 33) | |
201 | text2.Text = "Attack Titan" | |
202 | v2=Instance.new("Part") | |
203 | v2.Name = "ColorBrick" | |
204 | v2.Parent= char | |
205 | v2.FormFactor="Symmetric" | |
206 | v2.Anchored=true | |
207 | v2.CanCollide=false | |
208 | v2.BottomSurface="Smooth" | |
209 | v2.TopSurface="Smooth" | |
210 | v2.Size=Vector3.new(10,5,3) | |
211 | v2.Transparency=1 | |
212 | v2.CFrame=char.HumanoidRootPart.CFrame | |
213 | v2.BrickColor=BrickColor.new("Lime green") | |
214 | v2.Transparency=1 | |
215 | v2.Shape="Block" | |
216 | ||
217 | hum.DisplayDistanceType = Enum.HumanoidDisplayDistanceType.None | |
218 | local v3 = Vector3.new | |
219 | local idle = true | |
220 | local walk = true | |
221 | local walk1 = true | |
222 | local mouse = p:GetMouse() | |
223 | local walkon3 = false | |
224 | local walkon2 = false | |
225 | local walkon = true | |
226 | local ns = NumberSequence.new | |
227 | local new = Instance.new | |
228 | local nr = NumberRange.new | |
229 | local debounce = true | |
230 | local SaveFaceID = Head.face.Texture | |
231 | local SaveShirtID = char.Shirt.ShirtTemplate | |
232 | local SavePantsID = char.Pants.PantsTemplate | |
233 | local SaveSkinColor = UpperTorso.BrickColor | |
234 | local bc =BrickColor.new | |
235 | local UpperTorso = char.UpperTorso | |
236 | local Waist = char.UpperTorso.Waist | |
237 | new("ForceField",char).Visible = false | |
238 | hum:SetStateEnabled("Dead",false) | |
239 | hum:SetStateEnabled(Enum.HumanoidStateType.Dead, false) | |
240 | local Transformed = false | |
241 | local Sprint = false | |
242 | local hdebounce = true | |
243 | local RageMode = false | |
244 | char:FindFirstChild'Animate':Destroy() | |
245 | hum.Animator.Parent = nil | |
246 | local YellowMotion2 = Instance.new("Sound",char) | |
247 | YellowMotion2.SoundId = "rbxassetid://177471401" | |
248 | YellowMotion2.Volume = 10 | |
249 | YellowMotion2.Pitch = 1 | |
250 | YellowMotion2.Looped = true | |
251 | ||
252 | local YellowMotion = Instance.new("Sound",char) | |
253 | YellowMotion.SoundId = "rbxassetid://150382925" | |
254 | YellowMotion.Volume = 10 | |
255 | YellowMotion.Pitch = 1 | |
256 | YellowMotion.Looped = true | |
257 | ||
258 | local Roar = Instance.new("Sound",char) | |
259 | Roar.SoundId = "rbxassetid://440794203" | |
260 | Roar.Volume = math.huge | |
261 | Roar.Pitch = 1 | |
262 | Roar.Looped = false | |
263 | local kicking = false | |
264 | local x = Instance.new("Sound", char.HumanoidRootPart) | |
265 | x.SoundId = "http://www.roblox.com/asset/?id=273962540" | |
266 | x.Looped = true | |
267 | x.Volume = 1 | |
268 | x.Pitch = 1 | |
269 | ||
270 | local punchsnd = new("Sound",char) | |
271 | punchsnd.SoundId = "rbxassetid://131237241" | |
272 | punchsnd.Volume = 1 | |
273 | local punchsnd2 = new("Sound",char) | |
274 | punchsnd2.SoundId = "rbxassetid://743886825" | |
275 | punchsnd2.Volume = 1 | |
276 | local punch11 = false | |
277 | local punch12 = false | |
278 | ||
279 | RightLowerLeg.Touched:connect(function(hit) | |
280 | ||
281 | if kicking == true then | |
282 | ||
283 | if hit.Parent == char then return end | |
284 | for i,v in pairs(hit.Parent:GetChildren()) do | |
285 | if v:IsA("Humanoid") then | |
286 | if hdebounce == true then | |
287 | hdebounce = false | |
288 | local BodyVelocity = Instance.new("BodyVelocity",hit) | |
289 | BodyVelocity.maxForce = Vector3.new(math.huge, math.huge, math.huge) | |
290 | BodyVelocity.velocity = char.HumanoidRootPart.CFrame*CFrame.new(0,-2,0).lookVector*10 | |
291 | v.Health = v.Health - 30 | |
292 | hit.Parent.Humanoid.PlatformStand = true | |
293 | wait(0.5) | |
294 | BodyVelocity:destroy() | |
295 | hdebounce = true | |
296 | end | |
297 | end | |
298 | end | |
299 | end | |
300 | ||
301 | end) | |
302 | game:service'RunService'.RenderStepped:connect(function() | |
303 | if hum.MoveDirection.x == 0 and idle == true then | |
304 | LeftShoulder.C0 = LeftShoulder.C0:lerp(CFrame.new(LeftShoulder.C0.p)*CFrame.Angles(rad(0),rad(0),rad(0)),.1) --LeftUpperArm | |
305 | RightShoulder.C0 = RightShoulder.C0:lerp(CFrame.new(RightShoulder.C0 .p)*CFrame.Angles(rad(0),rad(0),rad(0)),.1)--RightUpperArm | |
306 | LeftElbow.C0 = LeftElbow.C0:lerp(CFrame.new(LeftElbow.C0.p)*CFrame.Angles(rad(0),rad(0),rad(0)),.1)--LeftLowerArm | |
307 | RightElbow.C0 = RightElbow.C0:lerp(CFrame.new(RightElbow.C0.p)*CFrame.Angles(rad(0),rad(0),rad(0)),.1)--RightLowerArm | |
308 | LeftHip.C0 = LeftHip.C0:lerp(CFrame.new(LeftHip.C0.p)*CFrame.Angles(rad(0),rad(0),rad(0)),.1)--LeftUpperLeg | |
309 | RightHip.C0 = RightHip.C0:lerp(CFrame.new(RightHip.C0.p)*CFrame.Angles(rad(0),rad(0),rad(0)),.1)--RightUpperLeg | |
310 | LeftKnee.C0 = LeftKnee.C0:lerp(CFrame.new( LeftKnee.C0.p)*CFrame.Angles(rad(0),rad(0),rad(0)),.1)--LeftLowerLeg | |
311 | RightKnee.C0 = RightKnee.C0:lerp(CFrame.new(RightKnee.C0.p)*CFrame.Angles(rad(0),rad(0),rad(0)),.1)--RightUpperLeg | |
312 | Root.C0 = Root.C0:lerp(CFrame.new(0,0,0)*CFrame.Angles(rad(0),rad(0),rad(0)),.1)--Torso | |
313 | Neck.C0 = Neck.C0:lerp(CFrame.new( Neck.C0.p)*CFrame.Angles(rad(0),rad(0),rad(0)),.1)--Head | |
314 | RightFoot.RightAnkle.C0 = RightFoot.RightAnkle.C0:lerp(CFrame.new( RightFoot.RightAnkle.C0.p)*CFrame.Angles(rad(0),rad(0),rad(0)),.1)--Head | |
315 | LeftFoot.LeftAnkle.C0 = LeftFoot.LeftAnkle.C0:lerp(CFrame.new( LeftFoot.LeftAnkle.C0.p)*CFrame.Angles(rad(0),rad(0),rad(0)),.1)--Head | |
316 | RightHand.RightWrist.C0 = RightHand.RightWrist.C0:lerp(CFrame.new( RightHand.RightWrist.C0.p)*CFrame.Angles(rad(0),rad(0),rad(0)),.1)--Head | |
317 | LeftHand.LeftWrist.C0 = LeftHand.LeftWrist.C0:lerp(CFrame.new( LeftHand.LeftWrist.C0.p)*CFrame.Angles(rad(0),rad(0),rad(0)),.1)--Head | |
318 | Waist.C0 = Waist.C0:lerp(CFrame.new( Waist.C0.p)*CFrame.Angles(rad(0),rad(0),rad(0)),.1)--Head | |
319 | wait() | |
320 | ||
321 | end | |
322 | if hum.MoveDirection.x == 0 and Sprint == true then | |
323 | LeftShoulder.C0 = LeftShoulder.C0:lerp(CFrame.new(LeftShoulder.C0.p)*CFrame.Angles(0, math.rad(-19.652), math.rad(-10.084)),.05) --LeftUpperArm | |
324 | RightShoulder.C0 = RightShoulder.C0:lerp(CFrame.new(RightShoulder.C0 .p)*CFrame.Angles(math.rad(45.436), math.rad(7.219), math.rad(7.047)),.05)--RightUpperArm | |
325 | LeftElbow.C0 = LeftElbow.C0:lerp(CFrame.new(LeftElbow.C0.p)*CFrame.Angles(math.rad(69.614), math.rad(-18.392), math.rad(10.313)),.05)--LeftLowerArm | |
326 | RightElbow.C0 = RightElbow.C0:lerp(CFrame.new(RightElbow.C0.p)*CFrame.Angles(rad(90.585),rad(0),rad(0)),.05)--RightLowerArm | |
327 | LeftHip.C0 = LeftHip.C0:lerp(CFrame.new(LeftHip.C0.p)*CFrame.Angles(math.rad(8.136), math.rad(-1.261), math.rad(-8.652)),.05)--LeftUpperLeg | |
328 | RightHip.C0 = RightHip.C0:lerp(CFrame.new(RightHip.C0.p)*CFrame.Angles(math.rad(6.245), math.rad(-18.621), math.rad(7.105)),.05)--RightUpperLeg | |
329 | LeftKnee.C0 = LeftKnee.C0:lerp(CFrame.new( LeftKnee.C0.p)*CFrame.Angles(rad(-5.271),rad(0),rad(0)),.05)--LeftLowerLeg | |
330 | RightKnee.C0 = RightKnee.C0:lerp(CFrame.new(RightKnee.C0.p)*CFrame.Angles(rad(-8.422),rad(0),rad(0)),.05)--RightUpperLeg | |
331 | Root.C0 = Root.C0:lerp(CFrame.new(0,0,0)*CFrame.Angles(rad(0),rad(44.576),rad(0)),.05)--Torso | |
332 | Neck.C0 = Neck.C0:lerp(CFrame.new( Neck.C0.p)*CFrame.Angles(rad(0),rad(-34.32),rad(0)),.05)--Head | |
333 | RightFoot.RightAnkle.C0 = RightFoot.RightAnkle.C0:lerp(CFrame.new( RightFoot.RightAnkle.C0.p)*CFrame.Angles(rad(0),rad(0),rad(0)),.05)--Head | |
334 | LeftFoot.LeftAnkle.C0 = LeftFoot.LeftAnkle.C0:lerp(CFrame.new( LeftFoot.LeftAnkle.C0.p)*CFrame.Angles(rad(0),rad(0),rad(0)),.05)--Head | |
335 | RightHand.RightWrist.C0 = RightHand.RightWrist.C0:lerp(CFrame.new( RightHand.RightWrist.C0.p)*CFrame.Angles(rad(0),rad(0),rad(0)),.05)--Head | |
336 | LeftHand.LeftWrist.C0 = LeftHand.LeftWrist.C0:lerp(CFrame.new( LeftHand.LeftWrist.C0.p)*CFrame.Angles(rad(0),rad(0),rad(0)),.05)--Head | |
337 | Waist.C0 = Waist.C0:lerp(CFrame.new( Waist.C0.p)*CFrame.Angles(rad(0),rad(-7.792),rad(0)),.05)--Head | |
338 | wait() | |
339 | ||
340 | end | |
341 | ||
342 | if walkon == true then | |
343 | ||
344 | walkon = false | |
345 | for i = 1,10 do | |
346 | if hum.MoveDirection.x > 0 and idle == true or hum.MoveDirection.x < 0 and idle == true then | |
347 | ||
348 | LeftShoulder.C0 = LeftShoulder.C0:lerp(CFrame.new(LeftShoulder.C0.p)*CFrame.Angles(math.rad(40), math.rad(-6.474), math.rad(-6.589)),.1) --LeftUpperArm | |
349 | RightShoulder.C0 = RightShoulder.C0:lerp(CFrame.new(RightShoulder.C0 .p)*CFrame.Angles(math.rad(-40), math.rad(-4.985), math.rad(7.792)),.1)--RightUpperArm | |
350 | LeftElbow.C0 = LeftElbow.C0:lerp(CFrame.new(LeftElbow.C0.p)*CFrame.Angles(rad(0),rad(0),rad(0)),.1)--LeftLowerArm | |
351 | RightElbow.C0 = RightElbow.C0:lerp(CFrame.new(RightElbow.C0.p)*CFrame.Angles(rad(0),rad(0),rad(0)),.1)--RightLowerArm | |
352 | LeftHip.C0 = LeftHip.C0:lerp(CFrame.new(LeftHip.C0.p)*CFrame.Angles(math.rad(70.241), math.rad(-5.443), math.rad(0.458)),.1)--LeftUpperLeg | |
353 | RightHip.C0 = RightHip.C0:lerp(CFrame.new(RightHip.C0.p)*CFrame.Angles(math.rad(-70.74), math.rad(0.344), math.rad(4.526)),.1)--RightUpperLeg | |
354 | LeftKnee.C0 = LeftKnee.C0:lerp(CFrame.new( LeftKnee.C0.p)*CFrame.Angles(rad(-12.949),rad(0),rad(0)),.1)--LeftLowerLeg | |
355 | RightKnee.C0 = RightKnee.C0:lerp(CFrame.new(RightKnee.C0.p)*CFrame.Angles(math.rad(-10.371),rad(0),rad(0)),.1)--RightUpperLeg | |
356 | Root.C0 = Root.C0:lerp(CFrame.new(0,0,0)*CFrame.Angles(rad(0),rad(0),rad(0)),.1)--Torso | |
357 | Neck.C0 = Neck.C0:lerp(CFrame.new( Neck.C0.p)*CFrame.Angles(rad(0),rad(0),rad(0)),.1)--Head | |
358 | Waist.C0 = Waist.C0:lerp(CFrame.new( Waist.C0.p)*CFrame.Angles(math.rad(0), math.rad(0), math.rad(0), 0),.1)--UpperTorso | |
359 | wait() | |
360 | ||
361 | ||
362 | end | |
363 | end | |
364 | ||
365 | ||
366 | for i = 1,10 do | |
367 | if hum.MoveDirection.x > 0 and idle == true or hum.MoveDirection.x < 0 and idle == true then | |
368 | ||
369 | LeftShoulder.C0 = LeftShoulder.C0:lerp(CFrame.new(LeftShoulder.C0.p)*CFrame.Angles(math.rad(-40), math.rad(7.391), math.rad(-5.558)),.1) --LeftUpperArm | |
370 | RightShoulder.C0 = RightShoulder.C0:lerp(CFrame.new(RightShoulder.C0 .p)*CFrame.Angles(math.rad(40), math.rad(6.818), math.rad(6.245)),.1)--RightUpperArm | |
371 | LeftElbow.C0 = LeftElbow.C0:lerp(CFrame.new(LeftElbow.C0.p)*CFrame.Angles(rad(0),rad(0),rad(0)),.1)--LeftLowerArm | |
372 | RightElbow.C0 = RightElbow.C0:lerp(CFrame.new(RightElbow.C0.p)*CFrame.Angles(rad(0),rad(0),rad(0)),.1)--RightLowerArm | |
373 | LeftHip.C0 = LeftHip.C0:lerp(CFrame.new(LeftHip.C0.p)*CFrame.Angles(math.rad(-70.241), math.rad(-4.354), math.rad(-3.323)),.1)--LeftUpperLeg | |
374 | RightHip.C0 = RightHip.C0:lerp(CFrame.new(RightHip.C0.p)*CFrame.Angles(math.rad(70.74), math.rad(3.552), math.rad(2.865)),.1)--RightUpperLeg | |
375 | LeftKnee.C0 = LeftKnee.C0:lerp(CFrame.new( LeftKnee.C0.p)*CFrame.Angles(rad(-12.949),rad(0),rad(0)),.1)--LeftLowerLeg | |
376 | RightKnee.C0 = RightKnee.C0:lerp(CFrame.new(RightKnee.C0.p)*CFrame.Angles(math.rad(-10.371),rad(0),rad(0)),.1)--RightUpperLeg | |
377 | Root.C0 = Root.C0:lerp(CFrame.new(0,0,0)*CFrame.Angles(rad(0),rad(0),rad(0)),.1)--Torso | |
378 | Neck.C0 = Neck.C0:lerp(CFrame.new( Neck.C0.p)*CFrame.Angles(rad(0),rad(0),rad(0)),.1)--Head | |
379 | Waist.C0 = Waist.C0:lerp(CFrame.new( Waist.C0.p)*CFrame.Angles(math.rad(0), math.rad(0), math.rad(0), 0),.1)--UpperTorso | |
380 | wait() | |
381 | ||
382 | ||
383 | end | |
384 | ||
385 | end | |
386 | walkon = true | |
387 | end | |
388 | if walkon2 == true then | |
389 | ||
390 | walkon2 = false | |
391 | for i = 1,20 do | |
392 | if hum.MoveDirection.x > 0 and idle == true or hum.MoveDirection.x < 0 and idle == true then | |
393 | ||
394 | LeftShoulder.C0 = LeftShoulder.C0:lerp(CFrame.new(LeftShoulder.C0.p)*CFrame.Angles(math.rad(40), math.rad(-6.474), math.rad(-6.589)),.1) --LeftUpperArm | |
395 | RightShoulder.C0 = RightShoulder.C0:lerp(CFrame.new(RightShoulder.C0 .p)*CFrame.Angles(math.rad(-40), math.rad(-4.985), math.rad(7.792)),.1)--RightUpperArm | |
396 | LeftElbow.C0 = LeftElbow.C0:lerp(CFrame.new(LeftElbow.C0.p)*CFrame.Angles(rad(0),rad(0),rad(0)),.1)--LeftLowerArm | |
397 | RightElbow.C0 = RightElbow.C0:lerp(CFrame.new(RightElbow.C0.p)*CFrame.Angles(rad(0),rad(0),rad(0)),.1)--RightLowerArm | |
398 | LeftHip.C0 = LeftHip.C0:lerp(CFrame.new(LeftHip.C0.p)*CFrame.Angles(math.rad(70.241), math.rad(-5.443), math.rad(0.458)),.1)--LeftUpperLeg | |
399 | RightHip.C0 = RightHip.C0:lerp(CFrame.new(RightHip.C0.p)*CFrame.Angles(math.rad(-70.74), math.rad(0.344), math.rad(4.526)),.1)--RightUpperLeg | |
400 | LeftKnee.C0 = LeftKnee.C0:lerp(CFrame.new( LeftKnee.C0.p)*CFrame.Angles(rad(-12.949),rad(0),rad(0)),.1)--LeftLowerLeg | |
401 | RightKnee.C0 = RightKnee.C0:lerp(CFrame.new(RightKnee.C0.p)*CFrame.Angles(math.rad(-10.371),rad(0),rad(0)),.1)--RightUpperLeg | |
402 | Root.C0 = Root.C0:lerp(CFrame.new(0,0,0)*CFrame.Angles(rad(0),rad(0),rad(0)),.1)--Torso | |
403 | Neck.C0 = Neck.C0:lerp(CFrame.new( Neck.C0.p)*CFrame.Angles(rad(0),rad(0),rad(0)),.1)--Head | |
404 | Waist.C0 = Waist.C0:lerp(CFrame.new( Waist.C0.p)*CFrame.Angles(math.rad(0), math.rad(0), math.rad(0), 0),.1)--UpperTorso | |
405 | wait() | |
406 | ||
407 | ||
408 | end | |
409 | end | |
410 | ||
411 | ||
412 | for i = 1,20 do | |
413 | if hum.MoveDirection.x > 0 and idle == true or hum.MoveDirection.x < 0 and idle == true then | |
414 | ||
415 | LeftShoulder.C0 = LeftShoulder.C0:lerp(CFrame.new(LeftShoulder.C0.p)*CFrame.Angles(math.rad(-40), math.rad(7.391), math.rad(-5.558)),.1) --LeftUpperArm | |
416 | RightShoulder.C0 = RightShoulder.C0:lerp(CFrame.new(RightShoulder.C0 .p)*CFrame.Angles(math.rad(40), math.rad(6.818), math.rad(6.245)),.1)--RightUpperArm | |
417 | LeftElbow.C0 = LeftElbow.C0:lerp(CFrame.new(LeftElbow.C0.p)*CFrame.Angles(rad(0),rad(0),rad(0)),.1)--LeftLowerArm | |
418 | RightElbow.C0 = RightElbow.C0:lerp(CFrame.new(RightElbow.C0.p)*CFrame.Angles(rad(0),rad(0),rad(0)),.1)--RightLowerArm | |
419 | LeftHip.C0 = LeftHip.C0:lerp(CFrame.new(LeftHip.C0.p)*CFrame.Angles(math.rad(-70.241), math.rad(-4.354), math.rad(-3.323)),.1)--LeftUpperLeg | |
420 | RightHip.C0 = RightHip.C0:lerp(CFrame.new(RightHip.C0.p)*CFrame.Angles(math.rad(70.74), math.rad(3.552), math.rad(2.865)),.1)--RightUpperLeg | |
421 | LeftKnee.C0 = LeftKnee.C0:lerp(CFrame.new( LeftKnee.C0.p)*CFrame.Angles(rad(-12.949),rad(0),rad(0)),.1)--LeftLowerLeg | |
422 | RightKnee.C0 = RightKnee.C0:lerp(CFrame.new(RightKnee.C0.p)*CFrame.Angles(math.rad(-10.371),rad(0),rad(0)),.1)--RightUpperLeg | |
423 | Root.C0 = Root.C0:lerp(CFrame.new(0,0,0)*CFrame.Angles(rad(0),rad(0),rad(0)),.1)--Torso | |
424 | Neck.C0 = Neck.C0:lerp(CFrame.new( Neck.C0.p)*CFrame.Angles(rad(0),rad(0),rad(0)),.1)--Head | |
425 | Waist.C0 = Waist.C0:lerp(CFrame.new( Waist.C0.p)*CFrame.Angles(math.rad(0), math.rad(0), math.rad(0), 0),.1)--UpperTorso | |
426 | wait() | |
427 | ||
428 | ||
429 | end | |
430 | ||
431 | end | |
432 | walkon2 = true | |
433 | end | |
434 | ||
435 | ||
436 | if walkon3 == true then | |
437 | ||
438 | walkon3 = false | |
439 | for i = 1,5 do | |
440 | if hum.MoveDirection.x > 0 and Sprint == true or hum.MoveDirection.x < 0 and Sprint == true then | |
441 | ||
442 | LeftShoulder.C0 = LeftShoulder.C0:lerp(CFrame.new(LeftShoulder.C0.p)*CFrame.Angles(math.rad(100.272), math.rad(-6.474), math.rad(-6.589)),.2) --LeftUpperArm | |
443 | RightShoulder.C0 = RightShoulder.C0:lerp(CFrame.new(RightShoulder.C0 .p)*CFrame.Angles(math.rad(-20), math.rad(-4.985), math.rad(7.792)),.2)--RightUpperArm | |
444 | LeftElbow.C0 = LeftElbow.C0:lerp(CFrame.new(LeftElbow.C0.p)*CFrame.Angles(rad(70),rad(0),rad(0)),.2)--LeftLowerArm | |
445 | RightElbow.C0 = RightElbow.C0:lerp(CFrame.new(RightElbow.C0.p)*CFrame.Angles(rad(0),rad(0),rad(0)),.2)--RightLowerArm | |
446 | LeftHip.C0 = LeftHip.C0:lerp(CFrame.new(LeftHip.C0.p)*CFrame.Angles(math.rad(80.241), math.rad(-5.443), math.rad(0.458)),.2)--LeftUpperLeg | |
447 | RightHip.C0 = RightHip.C0:lerp(CFrame.new(RightHip.C0.p)*CFrame.Angles(math.rad(-90.74), math.rad(0.344), math.rad(4.526)),.2)--RightUpperLeg | |
448 | LeftKnee.C0 = LeftKnee.C0:lerp(CFrame.new( LeftKnee.C0.p)*CFrame.Angles(rad(-20.949),rad(0),rad(0)),.2)--LeftLowerLeg | |
449 | RightKnee.C0 = RightKnee.C0:lerp(CFrame.new(RightKnee.C0.p)*CFrame.Angles(math.rad(-10.371),rad(0),rad(0)),.2)--RightUpperLeg | |
450 | Root.C0 = Root.C0:lerp(CFrame.new(0,0,0)*CFrame.Angles(rad(0),rad(0),rad(0)),.2)--Torso | |
451 | Neck.C0 = Neck.C0:lerp(CFrame.new( Neck.C0.p)*CFrame.Angles(rad(20.743),rad(0),rad(0)),.2)--Head | |
452 | Waist.C0 = Waist.C0:lerp(CFrame.new( Waist.C0.p)*CFrame.Angles(math.rad(-30.817), math.rad(-12.147), math.rad(0), 0),.2)--UpperTorso | |
453 | RightHand.RightWrist.C0 = RightHand.RightWrist.C0:lerp(CFrame.new( RightHand.RightWrist.C0.p)*CFrame.Angles(math.rad(0), math.rad(0), math.rad(0)),.2)--Head | |
454 | LeftHand.LeftWrist.C0 = LeftHand.LeftWrist.C0:lerp(CFrame.new( LeftHand.LeftWrist.C0.p)*CFrame.Angles(rad(0),rad(0),rad(0)),.2)--Head | |
455 | wait() | |
456 | ||
457 | ||
458 | end | |
459 | end | |
460 | for i = 1,4 do | |
461 | if hum.MoveDirection.x > 0 and Sprint == true or hum.MoveDirection.x < 0 and Sprint == true then | |
462 | ||
463 | LeftShoulder.C0 = LeftShoulder.C0:lerp(CFrame.new(LeftShoulder.C0.p)*CFrame.Angles(math.rad(100.272), math.rad(-6.474), math.rad(-6.589)),.2) --LeftUpperArm | |
464 | RightShoulder.C0 = RightShoulder.C0:lerp(CFrame.new(RightShoulder.C0 .p)*CFrame.Angles(math.rad(-40), math.rad(-4.985), math.rad(7.792)),.2)--RightUpperArm | |
465 | LeftElbow.C0 = LeftElbow.C0:lerp(CFrame.new(LeftElbow.C0.p)*CFrame.Angles(rad(90),rad(0),rad(0)),.2)--LeftLowerArm | |
466 | RightElbow.C0 = RightElbow.C0:lerp(CFrame.new(RightElbow.C0.p)*CFrame.Angles(rad(0),rad(0),rad(0)),.2)--RightLowerArm | |
467 | LeftHip.C0 = LeftHip.C0:lerp(CFrame.new(LeftHip.C0.p)*CFrame.Angles(math.rad(80.241), math.rad(-5.443), math.rad(0.458)),.2)--LeftUpperLeg | |
468 | RightHip.C0 = RightHip.C0:lerp(CFrame.new(RightHip.C0.p)*CFrame.Angles(math.rad(-90.74), math.rad(0.344), math.rad(4.526)),.2)--RightUpperLeg | |
469 | LeftKnee.C0 = LeftKnee.C0:lerp(CFrame.new( LeftKnee.C0.p)*CFrame.Angles(rad(-20.949),rad(0),rad(0)),.2)--LeftLowerLeg | |
470 | RightKnee.C0 = RightKnee.C0:lerp(CFrame.new(RightKnee.C0.p)*CFrame.Angles(math.rad(-10.371),rad(0),rad(0)),.2)--RightUpperLeg | |
471 | Root.C0 = Root.C0:lerp(CFrame.new(0,0,0)*CFrame.Angles(rad(0),rad(0),rad(0)),.2)--Torso | |
472 | Neck.C0 = Neck.C0:lerp(CFrame.new( Neck.C0.p)*CFrame.Angles(rad(20.743),rad(0),rad(0)),.2)--Head | |
473 | Waist.C0 = Waist.C0:lerp(CFrame.new( Waist.C0.p)*CFrame.Angles(math.rad(-30.817), math.rad(-12.147), math.rad(0), 0),.2)--UpperTorso | |
474 | RightHand.RightWrist.C0 = RightHand.RightWrist.C0:lerp(CFrame.new( RightHand.RightWrist.C0.p)*CFrame.Angles(math.rad(0), math.rad(0), math.rad(0)),.2)--Head | |
475 | LeftHand.LeftWrist.C0 = LeftHand.LeftWrist.C0:lerp(CFrame.new( LeftHand.LeftWrist.C0.p)*CFrame.Angles(rad(0),rad(0),rad(0)),.2)--Head | |
476 | wait() | |
477 | ||
478 | ||
479 | end | |
480 | end | |
481 | ||
482 | for i = 1,4 do | |
483 | if hum.MoveDirection.x > 0 and Sprint == true or hum.MoveDirection.x < 0 and Sprint == true then | |
484 | LeftShoulder.C0 = LeftShoulder.C0:lerp(CFrame.new(LeftShoulder.C0.p)*CFrame.Angles(math.rad(-40), math.rad(7.391), math.rad(-5.558)),.2) --LeftUpperArm | |
485 | RightShoulder.C0 = RightShoulder.C0:lerp(CFrame.new(RightShoulder.C0 .p)*CFrame.Angles(math.rad(100.272), math.rad(6.818), math.rad(6.245)),.2)--RightUpperArm | |
486 | LeftElbow.C0 = LeftElbow.C0:lerp(CFrame.new(LeftElbow.C0.p)*CFrame.Angles(rad(0),rad(0),rad(0)),.2)--LeftLowerArm | |
487 | RightElbow.C0 = RightElbow.C0:lerp(CFrame.new(RightElbow.C0.p)*CFrame.Angles(rad(90),rad(0),rad(0)),.2)--RightLowerArm | |
488 | LeftHip.C0 = LeftHip.C0:lerp(CFrame.new(LeftHip.C0.p)*CFrame.Angles(math.rad(-70.241), math.rad(-4.354), math.rad(-3.323)),.2)--LeftUpperLeg | |
489 | RightHip.C0 = RightHip.C0:lerp(CFrame.new(RightHip.C0.p)*CFrame.Angles(math.rad(70.74), math.rad(3.552), math.rad(2.865)),.2)--RightUpperLeg | |
490 | LeftKnee.C0 = LeftKnee.C0:lerp(CFrame.new( LeftKnee.C0.p)*CFrame.Angles(rad(-12.949),rad(0),rad(0)),.2)--LeftLowerLeg | |
491 | RightKnee.C0 = RightKnee.C0:lerp(CFrame.new(RightKnee.C0.p)*CFrame.Angles(math.rad(-10.371),rad(0),rad(0)),.2)--RightUpperLeg | |
492 | Root.C0 = Root.C0:lerp(CFrame.new(0,0,0)*CFrame.Angles(rad(0),rad(0),rad(0)),.2)--Torso | |
493 | Neck.C0 = Neck.C0:lerp(CFrame.new( Neck.C0.p)*CFrame.Angles(rad(20.743),rad(0),rad(0)),.2)--Head | |
494 | Waist.C0 = Waist.C0:lerp(CFrame.new( Waist.C0.p)*CFrame.Angles(math.rad(-30.817), math.rad(12.147), math.rad(0), 0),.2)--UpperTorso | |
495 | RightHand.RightWrist.C0 = RightHand.RightWrist.C0:lerp(CFrame.new( RightHand.RightWrist.C0.p)*CFrame.Angles(math.rad(0), math.rad(0), math.rad(0)),.2)--Head | |
496 | LeftHand.LeftWrist.C0 = LeftHand.LeftWrist.C0:lerp(CFrame.new( LeftHand.LeftWrist.C0.p)*CFrame.Angles(rad(0),rad(0),rad(0)),.2)--Head | |
497 | wait() | |
498 | ||
499 | ||
500 | end | |
501 | ||
502 | end | |
503 | for i = 1,3 do | |
504 | if hum.MoveDirection.x > 0 and Sprint == true or hum.MoveDirection.x < 0 and Sprint == true then | |
505 | LeftShoulder.C0 = LeftShoulder.C0:lerp(CFrame.new(LeftShoulder.C0.p)*CFrame.Angles(math.rad(-70), math.rad(7.391), math.rad(-5.558)),.2) --LeftUpperArm | |
506 | RightShoulder.C0 = RightShoulder.C0:lerp(CFrame.new(RightShoulder.C0 .p)*CFrame.Angles(math.rad(100.272), math.rad(6.818), math.rad(6.245)),.2)--RightUpperArm | |
507 | LeftElbow.C0 = LeftElbow.C0:lerp(CFrame.new(LeftElbow.C0.p)*CFrame.Angles(rad(0),rad(0),rad(0)),.2)--LeftLowerArm | |
508 | RightElbow.C0 = RightElbow.C0:lerp(CFrame.new(RightElbow.C0.p)*CFrame.Angles(rad(90),rad(0),rad(0)),.2)--RightLowerArm | |
509 | LeftHip.C0 = LeftHip.C0:lerp(CFrame.new(LeftHip.C0.p)*CFrame.Angles(math.rad(-90.241), math.rad(-4.354), math.rad(-3.323)),.2)--LeftUpperLeg | |
510 | RightHip.C0 = RightHip.C0:lerp(CFrame.new(RightHip.C0.p)*CFrame.Angles(math.rad(91.74), math.rad(3.552), math.rad(2.865)),.2)--RightUpperLeg | |
511 | LeftKnee.C0 = LeftKnee.C0:lerp(CFrame.new( LeftKnee.C0.p)*CFrame.Angles(rad(-12.949),rad(0),rad(0)),.2)--LeftLowerLeg | |
512 | RightKnee.C0 = RightKnee.C0:lerp(CFrame.new(RightKnee.C0.p)*CFrame.Angles(math.rad(-10.371),rad(0),rad(0)),.2)--RightUpperLeg | |
513 | Root.C0 = Root.C0:lerp(CFrame.new(0,0,0)*CFrame.Angles(rad(0),rad(0),rad(0)),.1)--Torso | |
514 | Neck.C0 = Neck.C0:lerp(CFrame.new( Neck.C0.p)*CFrame.Angles(rad(20.743),rad(0),rad(0)),.1)--Head | |
515 | Waist.C0 = Waist.C0:lerp(CFrame.new( Waist.C0.p)*CFrame.Angles(math.rad(-30.817), math.rad(12.147), math.rad(0), 0),.1)--UpperTorso | |
516 | RightHand.RightWrist.C0 = RightHand.RightWrist.C0:lerp(CFrame.new( RightHand.RightWrist.C0.p)*CFrame.Angles(math.rad(0), math.rad(0), math.rad(0)),.2)--Head | |
517 | LeftHand.LeftWrist.C0 = LeftHand.LeftWrist.C0:lerp(CFrame.new( LeftHand.LeftWrist.C0.p)*CFrame.Angles(rad(0),rad(0),rad(0)),.2)--Head | |
518 | wait() | |
519 | ||
520 | ||
521 | end | |
522 | ||
523 | end | |
524 | for i = 1,2 do | |
525 | if hum.MoveDirection.x > 0 and Sprint == true or hum.MoveDirection.x < 0 and Sprint == true then | |
526 | LeftShoulder.C0 = LeftShoulder.C0:lerp(CFrame.new(LeftShoulder.C0.p)*CFrame.Angles(math.rad(-70), math.rad(7.391), math.rad(-5.558)),.2) --LeftUpperArm | |
527 | RightShoulder.C0 = RightShoulder.C0:lerp(CFrame.new(RightShoulder.C0 .p)*CFrame.Angles(math.rad(120.272), math.rad(6.818), math.rad(6.245)),.2)--RightUpperArm | |
528 | LeftElbow.C0 = LeftElbow.C0:lerp(CFrame.new(LeftElbow.C0.p)*CFrame.Angles(rad(0),rad(0),rad(0)),.2)--LeftLowerArm | |
529 | RightElbow.C0 = RightElbow.C0:lerp(CFrame.new(RightElbow.C0.p)*CFrame.Angles(rad(90),rad(0),rad(0)),.2)--RightLowerArm | |
530 | LeftHip.C0 = LeftHip.C0:lerp(CFrame.new(LeftHip.C0.p)*CFrame.Angles(math.rad(-90.241), math.rad(-4.354), math.rad(-3.323)),.2)--LeftUpperLeg | |
531 | RightHip.C0 = RightHip.C0:lerp(CFrame.new(RightHip.C0.p)*CFrame.Angles(math.rad(91.74), math.rad(3.552), math.rad(2.865)),.2)--RightUpperLeg | |
532 | LeftKnee.C0 = LeftKnee.C0:lerp(CFrame.new( LeftKnee.C0.p)*CFrame.Angles(rad(-12.949),rad(0),rad(0)),.2)--LeftLowerLeg | |
533 | RightKnee.C0 = RightKnee.C0:lerp(CFrame.new(RightKnee.C0.p)*CFrame.Angles(math.rad(-10.371),rad(0),rad(0)),.2)--RightUpperLeg | |
534 | Root.C0 = Root.C0:lerp(CFrame.new(0,0,0)*CFrame.Angles(rad(0),rad(0),rad(0)),.1)--Torso | |
535 | Neck.C0 = Neck.C0:lerp(CFrame.new( Neck.C0.p)*CFrame.Angles(rad(20.743),rad(0),rad(0)),.1)--Head | |
536 | Waist.C0 = Waist.C0:lerp(CFrame.new( Waist.C0.p)*CFrame.Angles(math.rad(-30.817), math.rad(12.147), math.rad(0), 0),.1)--UpperTorso | |
537 | RightHand.RightWrist.C0 = RightHand.RightWrist.C0:lerp(CFrame.new( RightHand.RightWrist.C0.p)*CFrame.Angles(math.rad(0), math.rad(0), math.rad(0)),.2)--Head | |
538 | LeftHand.LeftWrist.C0 = LeftHand.LeftWrist.C0:lerp(CFrame.new( LeftHand.LeftWrist.C0.p)*CFrame.Angles(rad(0),rad(0),rad(0)),.2)--Head | |
539 | wait() | |
540 | ||
541 | ||
542 | end | |
543 | ||
544 | end | |
545 | walkon3 = true | |
546 | end | |
547 | end) | |
548 | ||
549 | function Transform() | |
550 | if Transformed == false then | |
551 | if debounce == true then | |
552 | debounce = false | |
553 | idle = false | |
554 | Transformed = true | |
555 | hum.WalkSpeed = 0 | |
556 | hum.JumpPower = 0 | |
557 | for i = 1,20 do | |
558 | LeftShoulder.C0 = LeftShoulder.C0:lerp(CFrame.new(LeftShoulder.C0.p)*CFrame.Angles(rad(0),rad(0),rad(0)),.1) --LeftUpperArm | |
559 | RightShoulder.C0 = RightShoulder.C0:lerp(CFrame.new(RightShoulder.C0 .p)*CFrame.Angles(rad(0),rad(0),rad(0)),.1)--RightUpperArm | |
560 | LeftElbow.C0 = LeftElbow.C0:lerp(CFrame.new(LeftElbow.C0.p)*CFrame.Angles(rad(18.564),rad(0),rad(0)),.1)--LeftLowerArm | |
561 | RightElbow.C0 = RightElbow.C0:lerp(CFrame.new(RightElbow.C0.p)*CFrame.Angles(rad(24.523),rad(0),rad(0)),.1)--RightLowerArm | |
562 | LeftHip.C0 = LeftHip.C0:lerp(CFrame.new(LeftHip.C0.p)*CFrame.Angles(math.rad(33.862), math.rad(21.658), math.rad(-9.74)),.1)--LeftUpperLeg | |
563 | RightHip.C0 = RightHip.C0:lerp(CFrame.new(RightHip.C0.p)*CFrame.Angles(math.rad(60.275), math.rad(-20.225), math.rad(31.169)),.1)--RightUpperLeg | |
564 | LeftKnee.C0 = LeftKnee.C0:lerp(CFrame.new( LeftKnee.C0.p)*CFrame.Angles(rad(-24.293),rad(0),rad(0)),.1)--LeftLowerLeg | |
565 | RightKnee.C0 = RightKnee.C0:lerp(CFrame.new(RightKnee.C0.p)*CFrame.Angles(rad(-55.921),rad(0),rad(0)),.1)--RightUpperLeg | |
566 | Root.C0 = Root.C0:lerp(CFrame.new(0,-0.213,0)*CFrame.Angles(rad(0),rad(0),rad(0)),.1)--Torso | |
567 | Neck.C0 = Neck.C0:lerp(CFrame.new( Neck.C0.p)*CFrame.Angles(rad(0),rad(0),rad(0)),.1)--Head | |
568 | RightFoot.RightAnkle.C0 = RightFoot.RightAnkle.C0:lerp(CFrame.new( RightFoot.RightAnkle.C0.p)*CFrame.Angles(rad(-21.142),rad(0),rad(0)),.1)--Head | |
569 | LeftFoot.LeftAnkle.C0 = LeftFoot.LeftAnkle.C0:lerp(CFrame.new( LeftFoot.LeftAnkle.C0.p)*CFrame.Angles(rad(0),rad(0),rad(0)),.1)--Head | |
570 | RightHand.RightWrist.C0 = RightHand.RightWrist.C0:lerp(CFrame.new( RightHand.RightWrist.C0.p)*CFrame.Angles(rad(0),rad(0),rad(0)),.1)--Head | |
571 | LeftHand.LeftWrist.C0 = LeftHand.LeftWrist.C0:lerp(CFrame.new( LeftHand.LeftWrist.C0.p)*CFrame.Angles(rad(0),rad(0),rad(0)),.1)--Head | |
572 | Waist.C0 = Waist.C0:lerp(CFrame.new( Waist.C0.p)*CFrame.Angles(rad(-26.299),rad(0),rad(0)),.1)--Head | |
573 | wait() | |
574 | end | |
575 | for i = 1,10 do | |
576 | LeftShoulder.C0 = LeftShoulder.C0:lerp(CFrame.new(LeftShoulder.C0.p)*CFrame.Angles(rad(0),rad(0),rad(-17.303)),.1) --LeftUpperArm | |
577 | RightShoulder.C0 = RightShoulder.C0:lerp(CFrame.new(RightShoulder.C0 .p)*CFrame.Angles(rad(0),rad(0),rad(10.943)),.1)--RightUpperArm | |
578 | LeftElbow.C0 = LeftElbow.C0:lerp(CFrame.new(LeftElbow.C0.p)*CFrame.Angles(rad(18.564),rad(0),rad(0)),.1)--LeftLowerArm | |
579 | RightElbow.C0 = RightElbow.C0:lerp(CFrame.new(RightElbow.C0.p)*CFrame.Angles(rad(10.829),rad(0),rad(0)),.1)--RightLowerArm | |
580 | LeftHip.C0 = LeftHip.C0:lerp(CFrame.new(LeftHip.C0.p)*CFrame.Angles(math.rad(18.507), math.rad(4.011), math.rad(1.833)),.1)--LeftUpperLeg | |
581 | RightHip.C0 = RightHip.C0:lerp(CFrame.new(RightHip.C0.p)*CFrame.Angles(math.rad(2.177), math.rad(3.209), math.rad(4.698)),.1)--RightUpperLeg | |
582 | LeftKnee.C0 = LeftKnee.C0:lerp(CFrame.new( LeftKnee.C0.p)*CFrame.Angles(rad(-12.662),rad(0),rad(0)),.1)--LeftLowerLeg | |
583 | RightKnee.C0 = RightKnee.C0:lerp(CFrame.new(RightKnee.C0.p)*CFrame.Angles(math.rad(-0.859), math.rad(-1.089), math.rad(-0.745)),.1)--RightUpperLeg | |
584 | Root.C0 = Root.C0:lerp(CFrame.new(0,0,0)*CFrame.Angles(rad(0),rad(0),rad(0)),.1)--Torso | |
585 | Neck.C0 = Neck.C0:lerp(CFrame.new( Neck.C0.p)*CFrame.Angles(rad(0),rad(0),rad(0)),.1)--Head | |
586 | RightFoot.RightAnkle.C0 = RightFoot.RightAnkle.C0:lerp(CFrame.new( RightFoot.RightAnkle.C0.p)*CFrame.Angles(rad(-21.142),rad(0),rad(0)),.1)--Head | |
587 | LeftFoot.LeftAnkle.C0 = LeftFoot.LeftAnkle.C0:lerp(CFrame.new( LeftFoot.LeftAnkle.C0.p)*CFrame.Angles(rad(-9.11),rad(0),rad(0)),.1)--Head | |
588 | RightHand.RightWrist.C0 = RightHand.RightWrist.C0:lerp(CFrame.new( RightHand.RightWrist.C0.p)*CFrame.Angles(rad(0),rad(0),rad(0)),.1)--Head | |
589 | LeftHand.LeftWrist.C0 = LeftHand.LeftWrist.C0:lerp(CFrame.new( LeftHand.LeftWrist.C0.p)*CFrame.Angles(rad(0),rad(0),rad(0)),.1)--Head | |
590 | Waist.C0 = Waist.C0:lerp(CFrame.new( Waist.C0.p)*CFrame.Angles(rad(40.777),rad(0),rad(0)),.1)--Head | |
591 | wait() | |
592 | end | |
593 | ||
594 | char.Shirt:Destroy() | |
595 | char.Pants:Destroy() | |
596 | shirt = Instance.new("Shirt", char) | |
597 | shirt.Name = "Shirt" | |
598 | pants = Instance.new("Pants", char) | |
599 | pants.Name = "Pants" | |
600 | char.Shirt.ShirtTemplate = "https://web.roblox.com/catalog/221913117/buff-af" | |
601 | char.Pants.PantsTemplate = "http://www.roblox.com/asset/?id=917519857" | |
602 | char.Head.face.Texture = "rbxassetid://1036875641" | |
603 | local Eye2 = Instance.new("Part",char) | |
604 | Eye2.Size = Vector3.new(3,3,3) | |
605 | Eye2.BrickColor = BrickColor.new("Really black") | |
606 | Eye2.CanCollide = false | |
607 | Eye2.TopSurface = 0 | |
608 | Eye2.BottomSurface = 0 | |
609 | Eye2.Transparency = 1 | |
610 | local Eye22 = Instance.new("SpecialMesh",Eye2) | |
611 | Eye22.MeshType = "Sphere" | |
612 | Eye22.Scale = Vector3.new(1.2,0.6,0.1) | |
613 | local Eye32 = Instance.new("Weld",Eye2) | |
614 | Eye32.Part0 = char.Head | |
615 | Eye32.Part1 = Eye2 | |
616 | Eye32.C0 = CFrame.new(1.3,0.5,-3)*CFrame.Angles(0,0,0.3) | |
617 | local Eye = Instance.new("Part",char) | |
618 | Eye.Size = Vector3.new(3,3,3) | |
619 | Eye.BrickColor = BrickColor.new("Really black") | |
620 | Eye.CanCollide = false | |
621 | Eye.TopSurface = 0 | |
622 | Eye.BottomSurface = 0 | |
623 | Eye.Transparency = 1 | |
624 | local Eye212 = Instance.new("SpecialMesh",Eye) | |
625 | Eye212.MeshType = "Sphere" | |
626 | Eye212.Scale = Vector3.new(1.2,0.6,0.1) | |
627 | local Eye3 = Instance.new("Weld",Eye) | |
628 | Eye3.Part0 = char.Head | |
629 | Eye3.Part1 = Eye | |
630 | Eye3.C0 = CFrame.new(-1.3,0.5,-2.8)*CFrame.Angles(0,0,-0.3) | |
631 | Eye4 = Instance.new("Part", char) | |
632 | Eye4.Transparency = 1 | |
633 | Eye4.Size = Vector3.new(0.3,0.3,0.3) | |
634 | local Eye32 = Instance.new("Weld",Eye4) | |
635 | Eye32.Part0 = char.Head | |
636 | Eye32.Part1 = Eye4 | |
637 | Eye32.C0 = CFrame.new(1.3,0.5,-3)*CFrame.Angles(0,0,0.3) | |
638 | pe = Instance.new("ParticleEmitter", Eye4) | |
639 | color1 = Color3.new(0,255,255) | |
640 | pe.Texture = "rbxassetid://242550536" | |
641 | pe.Color = ColorSequence.new(color1) | |
642 | pe.Rate = 300 | |
643 | pe.Speed = NumberRange.new(10) | |
644 | pe.Lifetime = NumberRange.new(0.1) | |
645 | pe.Rotation = NumberRange.new(1000) | |
646 | pe.RotSpeed = NumberRange.new(1000) | |
647 | pe.Size = NumberSequence.new(0,1.4) | |
648 | ||
649 | ||
650 | Glow4 = Instance.new("Part", char) | |
651 | Glow4.Transparency = 1 | |
652 | Glow4.Size = Vector3.new(0.2,0.2,0.2) | |
653 | local Glow3 = Instance.new("Weld",Glow4) | |
654 | Glow3.Part0 = Eye | |
655 | Glow3.Part1 = Glow4 | |
656 | Glow3.C0 = CFrame.new(0,0,-0.2)*CFrame.Angles(0,0,0) | |
657 | pe = Instance.new("ParticleEmitter", Glow4) | |
658 | color1 = Color3.new(0,255,255) | |
659 | pe.Texture = "rbxassetid://242550536" | |
660 | pe.Color = ColorSequence.new(color1) | |
661 | pe.Rate = 300 | |
662 | pe.Speed = NumberRange.new(10) | |
663 | pe.Lifetime = NumberRange.new(0.1) | |
664 | pe.Rotation = NumberRange.new(1000) | |
665 | pe.RotSpeed = NumberRange.new(1000) | |
666 | pe.Size = NumberSequence.new(0,1.4) | |
667 | ||
668 | ||
669 | YellowMotion2:Play() | |
670 | for i = 1,10 do | |
671 | char.Humanoid.BodyWidthScale.Value = char.Humanoid.BodyWidthScale.Value +0.3 | |
672 | char.Humanoid.BodyHeightScale.Value = char.Humanoid.BodyHeightScale.Value +0.4 | |
673 | char.Humanoid.BodyDepthScale.Value = char.Humanoid.BodyDepthScale.Value +0.3 | |
674 | char.Humanoid.HeadScale.Value = char.Humanoid.HeadScale.Value +0.4 | |
675 | LeftShoulder.C0 = LeftShoulder.C0:lerp(CFrame.new(LeftShoulder.C0.p)*CFrame.Angles(rad(0),rad(0),rad(-17.303)),.1) --LeftUpperArm | |
676 | RightShoulder.C0 = RightShoulder.C0:lerp(CFrame.new(RightShoulder.C0 .p)*CFrame.Angles(rad(0),rad(0),rad(10.943)),.1)--RightUpperArm | |
677 | LeftElbow.C0 = LeftElbow.C0:lerp(CFrame.new(LeftElbow.C0.p)*CFrame.Angles(rad(18.564),rad(0),rad(0)),.1)--LeftLowerArm | |
678 | RightElbow.C0 = RightElbow.C0:lerp(CFrame.new(RightElbow.C0.p)*CFrame.Angles(rad(10.829),rad(0),rad(0)),.1)--RightLowerArm | |
679 | LeftHip.C0 = LeftHip.C0:lerp(CFrame.new(LeftHip.C0.p)*CFrame.Angles(math.rad(18.507), math.rad(4.011), math.rad(1.833)),.1)--LeftUpperLeg | |
680 | RightHip.C0 = RightHip.C0:lerp(CFrame.new(RightHip.C0.p)*CFrame.Angles(math.rad(2.177), math.rad(3.209), math.rad(4.698)),.1)--RightUpperLeg | |
681 | LeftKnee.C0 = LeftKnee.C0:lerp(CFrame.new( LeftKnee.C0.p)*CFrame.Angles(rad(-12.662),rad(0),rad(0)),.1)--LeftLowerLeg | |
682 | RightKnee.C0 = RightKnee.C0:lerp(CFrame.new(RightKnee.C0.p)*CFrame.Angles(math.rad(-0.859), math.rad(-1.089), math.rad(-0.745)),.1)--RightUpperLeg | |
683 | Root.C0 = Root.C0:lerp(CFrame.new(0,0,0)*CFrame.Angles(rad(0),rad(0),rad(0)),.1)--Torso | |
684 | Neck.C0 = Neck.C0:lerp(CFrame.new( Neck.C0.p)*CFrame.Angles(rad(0),rad(0),rad(0)),.1)--Head | |
685 | RightFoot.RightAnkle.C0 = RightFoot.RightAnkle.C0:lerp(CFrame.new( RightFoot.RightAnkle.C0.p)*CFrame.Angles(rad(-21.142),rad(0),rad(0)),.1)--Head | |
686 | LeftFoot.LeftAnkle.C0 = LeftFoot.LeftAnkle.C0:lerp(CFrame.new( LeftFoot.LeftAnkle.C0.p)*CFrame.Angles(rad(-9.11),rad(0),rad(0)),.1)--Head | |
687 | RightHand.RightWrist.C0 = RightHand.RightWrist.C0:lerp(CFrame.new( RightHand.RightWrist.C0.p)*CFrame.Angles(rad(0),rad(0),rad(0)),.1)--Head | |
688 | LeftHand.LeftWrist.C0 = LeftHand.LeftWrist.C0:lerp(CFrame.new( LeftHand.LeftWrist.C0.p)*CFrame.Angles(rad(0),rad(0),rad(0)),.1)--Head | |
689 | Waist.C0 = Waist.C0:lerp(CFrame.new( Waist.C0.p)*CFrame.Angles(rad(40.777),rad(0),rad(0)),.1)--Head | |
690 | wait() | |
691 | end | |
692 | txt2.StudsOffset = Vector3.new(-14, 10, 0) | |
693 | ||
694 | Roar:Play() | |
695 | local cam = game.workspace.CurrentCamera | |
696 | text2.Text = "W0KE AF" | |
697 | text2.Size = UDim2.new(15, 0,4, 0) | |
698 | for i = 1,40 do | |
699 | local cam_rot = cam.CoordinateFrame - cam.CoordinateFrame.p | |
700 | local cam_scroll = (cam.CoordinateFrame.p - cam.Focus.p).magnitude | |
701 | local ncf = CFrame.new(cam.Focus.p)*cam_rot*CFrame.fromEulerAnglesXYZ(math.random(-5, 5)/40, math.random(-5, 5)/40, 0) | |
702 | cam.CoordinateFrame = ncf*CFrame.new(0, 0, cam_scroll) | |
703 | ||
704 | LeftShoulder.C0 = LeftShoulder.C0:lerp(CFrame.new(LeftShoulder.C0.p)*CFrame.Angles(rad(0),rad(0),rad(-17.303)),.1) --LeftUpperArm | |
705 | RightShoulder.C0 = RightShoulder.C0:lerp(CFrame.new(RightShoulder.C0 .p)*CFrame.Angles(rad(0),rad(0),rad(10.943)),.1)--RightUpperArm | |
706 | LeftElbow.C0 = LeftElbow.C0:lerp(CFrame.new(LeftElbow.C0.p)*CFrame.Angles(rad(18.564),rad(0),rad(0)),.1)--LeftLowerArm | |
707 | RightElbow.C0 = RightElbow.C0:lerp(CFrame.new(RightElbow.C0.p)*CFrame.Angles(rad(10.829),rad(0),rad(0)),.1)--RightLowerArm | |
708 | LeftHip.C0 = LeftHip.C0:lerp(CFrame.new(LeftHip.C0.p)*CFrame.Angles(math.rad(18.507), math.rad(4.011), math.rad(1.833)),.1)--LeftUpperLeg | |
709 | RightHip.C0 = RightHip.C0:lerp(CFrame.new(RightHip.C0.p)*CFrame.Angles(math.rad(2.177), math.rad(3.209), math.rad(4.698)),.1)--RightUpperLeg | |
710 | LeftKnee.C0 = LeftKnee.C0:lerp(CFrame.new( LeftKnee.C0.p)*CFrame.Angles(rad(-12.662),rad(0),rad(0)),.1)--LeftLowerLeg | |
711 | RightKnee.C0 = RightKnee.C0:lerp(CFrame.new(RightKnee.C0.p)*CFrame.Angles(math.rad(-0.859), math.rad(-1.089), math.rad(-0.745)),.1)--RightUpperLeg | |
712 | Root.C0 = Root.C0:lerp(CFrame.new(0,0,0)*CFrame.Angles(rad(0),rad(0),rad(0)),.1)--Torso | |
713 | Neck.C0 = Neck.C0:lerp(CFrame.new( Neck.C0.p)*CFrame.Angles(rad(0),rad(0),rad(0)),.1)--Head | |
714 | RightFoot.RightAnkle.C0 = RightFoot.RightAnkle.C0:lerp(CFrame.new( RightFoot.RightAnkle.C0.p)*CFrame.Angles(rad(-21.142),rad(0),rad(0)),.1)--Head | |
715 | LeftFoot.LeftAnkle.C0 = LeftFoot.LeftAnkle.C0:lerp(CFrame.new( LeftFoot.LeftAnkle.C0.p)*CFrame.Angles(rad(-9.11),rad(0),rad(0)),.1)--Head | |
716 | RightHand.RightWrist.C0 = RightHand.RightWrist.C0:lerp(CFrame.new( RightHand.RightWrist.C0.p)*CFrame.Angles(rad(0),rad(0),rad(0)),.1)--Head | |
717 | LeftHand.LeftWrist.C0 = LeftHand.LeftWrist.C0:lerp(CFrame.new( LeftHand.LeftWrist.C0.p)*CFrame.Angles(rad(0),rad(0),rad(0)),.1)--Head | |
718 | Waist.C0 = Waist.C0:lerp(CFrame.new( Waist.C0.p)*CFrame.Angles(rad(40.777),rad(-30),rad(0)),.1)--Head | |
719 | wait() | |
720 | end | |
721 | text2.TextStrokeColor3 = Color3.new(1,0,0) | |
722 | text2.TextColor3 = Color3.new(15, 1, 0) | |
723 | ||
724 | for i = 1,40 do | |
725 | local cam_rot = cam.CoordinateFrame - cam.CoordinateFrame.p | |
726 | local cam_scroll = (cam.CoordinateFrame.p - cam.Focus.p).magnitude | |
727 | local ncf = CFrame.new(cam.Focus.p)*cam_rot*CFrame.fromEulerAnglesXYZ(math.random(-5, 5)/40, math.random(-5, 5)/40, 0) | |
728 | cam.CoordinateFrame = ncf*CFrame.new(0, 0, cam_scroll) | |
729 | LeftShoulder.C0 = LeftShoulder.C0:lerp(CFrame.new(LeftShoulder.C0.p)*CFrame.Angles(rad(0),rad(0),rad(-17.303)),.1) --LeftUpperArm | |
730 | RightShoulder.C0 = RightShoulder.C0:lerp(CFrame.new(RightShoulder.C0 .p)*CFrame.Angles(rad(0),rad(0),rad(10.943)),.1)--RightUpperArm | |
731 | LeftElbow.C0 = LeftElbow.C0:lerp(CFrame.new(LeftElbow.C0.p)*CFrame.Angles(rad(18.564),rad(0),rad(0)),.1)--LeftLowerArm | |
732 | RightElbow.C0 = RightElbow.C0:lerp(CFrame.new(RightElbow.C0.p)*CFrame.Angles(rad(10.829),rad(0),rad(0)),.1)--RightLowerArm | |
733 | LeftHip.C0 = LeftHip.C0:lerp(CFrame.new(LeftHip.C0.p)*CFrame.Angles(math.rad(18.507), math.rad(4.011), math.rad(1.833)),.1)--LeftUpperLeg | |
734 | RightHip.C0 = RightHip.C0:lerp(CFrame.new(RightHip.C0.p)*CFrame.Angles(math.rad(2.177), math.rad(3.209), math.rad(4.698)),.1)--RightUpperLeg | |
735 | LeftKnee.C0 = LeftKnee.C0:lerp(CFrame.new( LeftKnee.C0.p)*CFrame.Angles(rad(-12.662),rad(0),rad(0)),.1)--LeftLowerLeg | |
736 | RightKnee.C0 = RightKnee.C0:lerp(CFrame.new(RightKnee.C0.p)*CFrame.Angles(math.rad(-0.859), math.rad(-1.089), math.rad(-0.745)),.1)--RightUpperLeg | |
737 | Root.C0 = Root.C0:lerp(CFrame.new(0,0,0)*CFrame.Angles(rad(0),rad(0),rad(0)),.1)--Torso | |
738 | Neck.C0 = Neck.C0:lerp(CFrame.new( Neck.C0.p)*CFrame.Angles(rad(0),rad(0),rad(0)),.1)--Head | |
739 | RightFoot.RightAnkle.C0 = RightFoot.RightAnkle.C0:lerp(CFrame.new( RightFoot.RightAnkle.C0.p)*CFrame.Angles(rad(-21.142),rad(0),rad(0)),.1)--Head | |
740 | LeftFoot.LeftAnkle.C0 = LeftFoot.LeftAnkle.C0:lerp(CFrame.new( LeftFoot.LeftAnkle.C0.p)*CFrame.Angles(rad(-9.11),rad(0),rad(0)),.1)--Head | |
741 | RightHand.RightWrist.C0 = RightHand.RightWrist.C0:lerp(CFrame.new( RightHand.RightWrist.C0.p)*CFrame.Angles(rad(0),rad(0),rad(0)),.1)--Head | |
742 | LeftHand.LeftWrist.C0 = LeftHand.LeftWrist.C0:lerp(CFrame.new( LeftHand.LeftWrist.C0.p)*CFrame.Angles(rad(0),rad(0),rad(0)),.1)--Head | |
743 | Waist.C0 = Waist.C0:lerp(CFrame.new( Waist.C0.p)*CFrame.Angles(rad(40.777),rad(30),rad(0)),.1)--Head | |
744 | wait() | |
745 | end | |
746 | text2.TextStrokeColor3 = Color3.new(0,0,0) | |
747 | text2.TextColor3 = Color3.new(26, 234, 33) | |
748 | txt2.StudsOffset = Vector3.new(-14, 7, 0) | |
749 | text2.Size = UDim2.new(15, 0,2, 0) | |
750 | text2.Text = "Attack Titan" | |
751 | idle = true | |
752 | hum.WalkSpeed = 10 | |
753 | hum.JumpPower = 50 | |
754 | walkon2 = true | |
755 | walkon = false | |
756 | wait(1) | |
757 | debounce = true | |
758 | ||
759 | end | |
760 | end | |
761 | end | |
762 | function punch1() | |
763 | if punch11 == false then | |
764 | punch11 = true | |
765 | idle = false | |
766 | Sprint = false | |
767 | for i = 1,2 do | |
768 | LeftShoulder.C0 = LeftShoulder.C0:lerp(CFrame.new(LeftShoulder.C0.p)*CFrame.Angles(rad(0),rad(0),rad(0)),.7) --LeftUpperArm | |
769 | RightShoulder.C0 = RightShoulder.C0:lerp(CFrame.new(RightShoulder.C0 .p)*CFrame.Angles(math.rad(-5.672), math.rad(-69.958), math.rad(83.824)),.7)--RightUpperArm | |
770 | RightElbow.C0 = RightElbow.C0:lerp(CFrame.new(RightElbow.C0.p)*CFrame.Angles(rad(86.459),rad(0),rad(0)),.7)--RightLowerArm | |
771 | ||
772 | ||
773 | Waist.C0 = Waist.C0:lerp(CFrame.new( Waist.C0.p)*CFrame.Angles(rad(0),rad(-21.772),rad(0)),.5)--Head | |
774 | wait() | |
775 | end | |
776 | punchsnd:Play() | |
777 | for i = 1,2 do | |
778 | LeftShoulder.C0 = LeftShoulder.C0:lerp(CFrame.new(LeftShoulder.C0.p)*CFrame.Angles(rad(0),rad(0),rad(0)),.7) --LeftUpperArm | |
779 | RightShoulder.C0 = RightShoulder.C0:lerp(CFrame.new(RightShoulder.C0 .p)*CFrame.Angles(math.rad(23.491), math.rad(84.683), math.rad(66.52)),.7)--RightUpperArm | |
780 | RightElbow.C0 = RightElbow.C0:lerp(CFrame.new(RightElbow.C0.p)*CFrame.Angles(rad(14.095),rad(0),rad(0)),.7)--RightLowerArm | |
781 | ||
782 | ||
783 | Waist.C0 = Waist.C0:lerp(CFrame.new( Waist.C0.p)*CFrame.Angles(rad(0),rad(25.898),rad(0)),.7)--Head | |
784 | wait() | |
785 | end | |
786 | end | |
787 | end | |
788 | function punch2() | |
789 | if punch12 == false then | |
790 | punch12 = true | |
791 | ||
792 | for i = 1,2 do | |
793 | LeftShoulder.C0 = LeftShoulder.C0:lerp(CFrame.new(LeftShoulder.C0.p)*CFrame.Angles(math.rad(5.5), math.rad(72.25), math.rad(-95.799)),.7) --LeftUpperArm | |
794 | RightShoulder.C0 = RightShoulder.C0:lerp(CFrame.new(RightShoulder.C0 .p)*CFrame.Angles(rad(0),rad(0),rad(0)),.7)--RightUpperArm | |
795 | LeftElbow.C0 = LeftElbow.C0:lerp(CFrame.new(LeftElbow.C0.p)*CFrame.Angles(rad(92.876),rad(0),rad(0)),.7)--LeftLowerArm | |
796 | RightElbow.C0 = RightElbow.C0:lerp(CFrame.new(RightElbow.C0.p)*CFrame.Angles(rad(0),rad(0),rad(0)),.7)--RightLowerArm | |
797 | ||
798 | ||
799 | Waist.C0 = Waist.C0:lerp(CFrame.new( Waist.C0.p)*CFrame.Angles(rad(0),rad(27.273),rad(0)),.5)--Head | |
800 | wait() | |
801 | end | |
802 | punchsnd2:Play() | |
803 | for i = 1,2 do | |
804 | LeftShoulder.C0 = LeftShoulder.C0:lerp(CFrame.new(LeftShoulder.C0.p)*CFrame.Angles(math.rad(-10.829), math.rad(-80.73), math.rad(-101.012)),.7) --LeftUpperArm | |
805 | RightShoulder.C0 = RightShoulder.C0:lerp(CFrame.new(RightShoulder.C0 .p)*CFrame.Angles(rad(0),rad(0),rad(0)),.7)--RightUpperArm | |
806 | LeftElbow.C0 = LeftElbow.C0:lerp(CFrame.new(LeftElbow.C0.p)*CFrame.Angles(rad(17.418),rad(0),rad(0)),.7)--LeftLowerArm | |
807 | RightElbow.C0 = RightElbow.C0:lerp(CFrame.new(RightElbow.C0.p)*CFrame.Angles(rad(0),rad(0),rad(0)),.7)--RightLowerArm | |
808 | ||
809 | ||
810 | Waist.C0 = Waist.C0:lerp(CFrame.new( Waist.C0.p)*CFrame.Angles(math.rad(1.719), math.rad(-44.404), math.rad(0.286)),.7)--Head | |
811 | wait() | |
812 | end | |
813 | ||
814 | punch12 = false | |
815 | punch11 = false | |
816 | end | |
817 | end | |
818 | LeftHand.Touched:connect(function(hit) | |
819 | if hit then | |
820 | if punch12 == true then | |
821 | for i,v in pairs(hit.Parent:GetChildren()) do | |
822 | if v:IsA("Humanoid") then | |
823 | v.Health = v.Health - 50 | |
824 | end | |
825 | end | |
826 | end | |
827 | end | |
828 | end) | |
829 | RightHand.Touched:connect(function(hit) | |
830 | if hit then | |
831 | if punch11 == true then | |
832 | for i,v in pairs(hit.Parent:GetChildren()) do | |
833 | if v:IsA("Humanoid") then | |
834 | v.Health = v.Health - 50 | |
835 | end | |
836 | end | |
837 | end | |
838 | end | |
839 | end) | |
840 | ||
841 | function Normal() | |
842 | if Transformed == true then | |
843 | if debounce == true then | |
844 | debounce = false | |
845 | Transformed = false | |
846 | walkon = true | |
847 | walkon2 = false | |
848 | txt2.StudsOffset = Vector3.new(-14, 3, 0) | |
849 | Eye4:destroy() | |
850 | Glow4:destroy() | |
851 | YellowMotion:Stop() | |
852 | for i = 1,10 do | |
853 | char.Humanoid.BodyWidthScale.Value = char.Humanoid.BodyWidthScale.Value -0.3 | |
854 | char.Humanoid.BodyHeightScale.Value = char.Humanoid.BodyHeightScale.Value -0.4 | |
855 | char.Humanoid.BodyDepthScale.Value = char.Humanoid.BodyDepthScale.Value -0.3 | |
856 | char.Humanoid.HeadScale.Value = char.Humanoid.HeadScale.Value -0.4 | |
857 | wait() | |
858 | end | |
859 | hum.WalkSpeed = 16 | |
860 | hum.JumpPower = 50 | |
861 | Head.face.Texture = SaveFaceID | |
862 | char.Shirt.ShirtTemplate = SaveShirtID | |
863 | char.Pants.PantsTemplate = SavePantsID | |
864 | ||
865 | wait(1) | |
866 | debounce = true | |
867 | for i = 1,10 do | |
868 | YellowMotion2.Volume = YellowMotion2.Volume-0.01 | |
869 | wait() | |
870 | end | |
871 | YellowMotion2:Stop() | |
872 | end | |
873 | end | |
874 | end | |
875 | function Rage() | |
876 | if Transformed == false then | |
877 | error("You Must Be Transformed.") | |
878 | else | |
879 | if RageMode == false then | |
880 | ||
881 | YellowMotion2:Stop() | |
882 | YellowMotion:Play() | |
883 | idle = false | |
884 | local cam = workspace.CurrentCamera | |
885 | Roar:Play() | |
886 | for i = 1,40 do | |
887 | local cam_rot = cam.CoordinateFrame - cam.CoordinateFrame.p | |
888 | local cam_scroll = (cam.CoordinateFrame.p - cam.Focus.p).magnitude | |
889 | local ncf = CFrame.new(cam.Focus.p)*cam_rot*CFrame.fromEulerAnglesXYZ(math.random(-5, 5)/40, math.random(-5, 5)/40, 0) | |
890 | cam.CoordinateFrame = ncf*CFrame.new(0, 0, cam_scroll) | |
891 | LeftShoulder.C0 = LeftShoulder.C0:lerp(CFrame.new(LeftShoulder.C0.p)*CFrame.Angles(rad(0),rad(0),rad(-17.303)),.1) --LeftUpperArm | |
892 | RightShoulder.C0 = RightShoulder.C0:lerp(CFrame.new(RightShoulder.C0 .p)*CFrame.Angles(rad(0),rad(0),rad(10.943)),.1)--RightUpperArm | |
893 | LeftElbow.C0 = LeftElbow.C0:lerp(CFrame.new(LeftElbow.C0.p)*CFrame.Angles(rad(18.564),rad(0),rad(0)),.1)--LeftLowerArm | |
894 | RightElbow.C0 = RightElbow.C0:lerp(CFrame.new(RightElbow.C0.p)*CFrame.Angles(rad(10.829),rad(0),rad(0)),.1)--RightLowerArm | |
895 | LeftHip.C0 = LeftHip.C0:lerp(CFrame.new(LeftHip.C0.p)*CFrame.Angles(math.rad(18.507), math.rad(4.011), math.rad(1.833)),.1)--LeftUpperLeg | |
896 | RightHip.C0 = RightHip.C0:lerp(CFrame.new(RightHip.C0.p)*CFrame.Angles(math.rad(2.177), math.rad(3.209), math.rad(4.698)),.1)--RightUpperLeg | |
897 | LeftKnee.C0 = LeftKnee.C0:lerp(CFrame.new( LeftKnee.C0.p)*CFrame.Angles(rad(-12.662),rad(0),rad(0)),.1)--LeftLowerLeg | |
898 | RightKnee.C0 = RightKnee.C0:lerp(CFrame.new(RightKnee.C0.p)*CFrame.Angles(math.rad(-0.859), math.rad(-1.089), math.rad(-0.745)),.1)--RightUpperLeg | |
899 | Root.C0 = Root.C0:lerp(CFrame.new(0,0,0)*CFrame.Angles(rad(0),rad(0),rad(0)),.1)--Torso | |
900 | Neck.C0 = Neck.C0:lerp(CFrame.new( Neck.C0.p)*CFrame.Angles(rad(0),rad(0),rad(0)),.1)--Head | |
901 | RightFoot.RightAnkle.C0 = RightFoot.RightAnkle.C0:lerp(CFrame.new( RightFoot.RightAnkle.C0.p)*CFrame.Angles(rad(-21.142),rad(0),rad(0)),.1)--Head | |
902 | LeftFoot.LeftAnkle.C0 = LeftFoot.LeftAnkle.C0:lerp(CFrame.new( LeftFoot.LeftAnkle.C0.p)*CFrame.Angles(rad(-9.11),rad(0),rad(0)),.1)--Head | |
903 | RightHand.RightWrist.C0 = RightHand.RightWrist.C0:lerp(CFrame.new( RightHand.RightWrist.C0.p)*CFrame.Angles(rad(0),rad(0),rad(0)),.1)--Head | |
904 | LeftHand.LeftWrist.C0 = LeftHand.LeftWrist.C0:lerp(CFrame.new( LeftHand.LeftWrist.C0.p)*CFrame.Angles(rad(0),rad(0),rad(0)),.1)--Head | |
905 | Waist.C0 = Waist.C0:lerp(CFrame.new( Waist.C0.p)*CFrame.Angles(rad(40.777),rad(-30),rad(0)),.1)--Head | |
906 | wait() | |
907 | end | |
908 | for i = 1,40 do | |
909 | local cam_rot = cam.CoordinateFrame - cam.CoordinateFrame.p | |
910 | local cam_scroll = (cam.CoordinateFrame.p - cam.Focus.p).magnitude | |
911 | local ncf = CFrame.new(cam.Focus.p)*cam_rot*CFrame.fromEulerAnglesXYZ(math.random(-5, 5)/40, math.random(-5, 5)/40, 0) | |
912 | cam.CoordinateFrame = ncf*CFrame.new(0, 0, cam_scroll) | |
913 | LeftShoulder.C0 = LeftShoulder.C0:lerp(CFrame.new(LeftShoulder.C0.p)*CFrame.Angles(rad(0),rad(0),rad(-17.303)),.1) --LeftUpperArm | |
914 | RightShoulder.C0 = RightShoulder.C0:lerp(CFrame.new(RightShoulder.C0 .p)*CFrame.Angles(rad(0),rad(0),rad(10.943)),.1)--RightUpperArm | |
915 | LeftElbow.C0 = LeftElbow.C0:lerp(CFrame.new(LeftElbow.C0.p)*CFrame.Angles(rad(18.564),rad(0),rad(0)),.1)--LeftLowerArm | |
916 | RightElbow.C0 = RightElbow.C0:lerp(CFrame.new(RightElbow.C0.p)*CFrame.Angles(rad(10.829),rad(0),rad(0)),.1)--RightLowerArm | |
917 | LeftHip.C0 = LeftHip.C0:lerp(CFrame.new(LeftHip.C0.p)*CFrame.Angles(math.rad(18.507), math.rad(4.011), math.rad(1.833)),.1)--LeftUpperLeg | |
918 | RightHip.C0 = RightHip.C0:lerp(CFrame.new(RightHip.C0.p)*CFrame.Angles(math.rad(2.177), math.rad(3.209), math.rad(4.698)),.1)--RightUpperLeg | |
919 | LeftKnee.C0 = LeftKnee.C0:lerp(CFrame.new( LeftKnee.C0.p)*CFrame.Angles(rad(-12.662),rad(0),rad(0)),.1)--LeftLowerLeg | |
920 | RightKnee.C0 = RightKnee.C0:lerp(CFrame.new(RightKnee.C0.p)*CFrame.Angles(math.rad(-0.859), math.rad(-1.089), math.rad(-0.745)),.1)--RightUpperLeg | |
921 | Root.C0 = Root.C0:lerp(CFrame.new(0,0,0)*CFrame.Angles(rad(0),rad(0),rad(0)),.1)--Torso | |
922 | Neck.C0 = Neck.C0:lerp(CFrame.new( Neck.C0.p)*CFrame.Angles(rad(0),rad(0),rad(0)),.1)--Head | |
923 | RightFoot.RightAnkle.C0 = RightFoot.RightAnkle.C0:lerp(CFrame.new( RightFoot.RightAnkle.C0.p)*CFrame.Angles(rad(-21.142),rad(0),rad(0)),.1)--Head | |
924 | LeftFoot.LeftAnkle.C0 = LeftFoot.LeftAnkle.C0:lerp(CFrame.new( LeftFoot.LeftAnkle.C0.p)*CFrame.Angles(rad(-9.11),rad(0),rad(0)),.1)--Head | |
925 | RightHand.RightWrist.C0 = RightHand.RightWrist.C0:lerp(CFrame.new( RightHand.RightWrist.C0.p)*CFrame.Angles(rad(0),rad(0),rad(0)),.1)--Head | |
926 | LeftHand.LeftWrist.C0 = LeftHand.LeftWrist.C0:lerp(CFrame.new( LeftHand.LeftWrist.C0.p)*CFrame.Angles(rad(0),rad(0),rad(0)),.1)--Head | |
927 | Waist.C0 = Waist.C0:lerp(CFrame.new( Waist.C0.p)*CFrame.Angles(rad(40.777),rad(30),rad(0)),.1)--Head | |
928 | wait() | |
929 | end | |
930 | ||
931 | ||
932 | RageMode = true | |
933 | hum.WalkSpeed = 50 | |
934 | hum.MaxHealth = 50000000 | |
935 | wait() | |
936 | hum.Health = 50000000 | |
937 | walkon2 = false | |
938 | walkon3 = true | |
939 | idle = false | |
940 | Sprint = true | |
941 | ---------------------------------------------------- | |
942 | ||
943 | for i,e in pairs(char:GetChildren()) do | |
944 | if e:IsA("MeshPart") then | |
945 | e.BrickColor = BrickColor.new("Brown") | |
946 | e.Parent.Head.BrickColor = BrickColor.new("Brown") | |
947 | local part = Instance.new("ParticleEmitter") | |
948 | part.Parent = e | |
949 | part.LockedToPart = false | |
950 | part.Texture = "rbxassetid://405886187" | |
951 | part.Size = NumberSequence.new(0,0.1) | |
952 | part.Transparency = NumberSequence.new(0.2) | |
953 | part.Lifetime = NumberRange.new(0.5,1) | |
954 | part.Rate = 300 | |
955 | part.Speed = NumberRange.new(3) | |
956 | part.Color = ColorSequence.new(Color3.fromRGB(196, 40, 28)) | |
957 | ||
958 | part.Texture = "rbxassetid://365830819" | |
959 | part.Size = NumberSequence.new({NumberSequenceKeypoint.new(0,7),NumberSequenceKeypoint.new(1,1)}) | |
960 | part.Transparency = NumberSequence.new(0.8) | |
961 | part.Lifetime = NumberRange.new(3) | |
962 | part.Rate = 18 | |
963 | ||
964 | end | |
965 | end | |
966 | wait(5) | |
967 | for i,e in pairs(char:GetChildren()) do | |
968 | if e:IsA("MeshPart") then | |
969 | e.BrickColor = BrickColor.new("Nougat") | |
970 | e.Parent.Head.BrickColor = BrickColor.new("Nougat") | |
971 | ||
972 | for _, o in pairs(e:GetChildren()) do | |
973 | if o:IsA("ParticleEmitter") then | |
974 | o:Destroy() | |
975 | end | |
976 | end | |
977 | end | |
978 | end | |
979 | elseif RageMode == true then | |
980 | RageMode = false | |
981 | YellowMotion:Stop() | |
982 | walkon2 = true | |
983 | walkon3 = false | |
984 | Sprint = false | |
985 | idle = true | |
986 | ||
987 | ||
988 | end | |
989 | end | |
990 | end | |
991 | function Kick() | |
992 | if Transformed == true then | |
993 | if RageMode == false then | |
994 | if debounce == true then | |
995 | kicking = true | |
996 | debounce = false | |
997 | idle = false | |
998 | for i = 1,10 do | |
999 | LeftShoulder.C0 = LeftShoulder.C0:lerp(CFrame.new(LeftShoulder.C0.p)*CFrame.Angles(rad(0),rad(0),rad(-13.751)),.3) --LeftUpperArm | |
1000 | RightShoulder.C0 = RightShoulder.C0:lerp(CFrame.new(RightShoulder.C0 .p)*CFrame.Angles(math.rad(-1.261), math.rad(-7.277), math.rad(12.49)),.3)--RightUpperArm | |
1001 | LeftElbow.C0 = LeftElbow.C0:lerp(CFrame.new(LeftElbow.C0.p)*CFrame.Angles(rad(0),rad(13.636),rad(0)),.3)--LeftLowerArm | |
1002 | RightElbow.C0 = RightElbow.C0:lerp(CFrame.new(RightElbow.C0.p)*CFrame.Angles(rad(20.856),rad(0),rad(0)),.3)--RightLowerArm | |
1003 | LeftHip.C0 = LeftHip.C0:lerp(CFrame.new(LeftHip.C0.p)*CFrame.Angles(rad(23.835),rad(0),rad(0)),.3)--LeftUpperLeg | |
1004 | RightHip.C0 = RightHip.C0:lerp(CFrame.new(RightHip.C0.p)*CFrame.Angles(rad(-6.016),rad(0),rad(0)),.3)--RightUpperLeg | |
1005 | LeftKnee.C0 = LeftKnee.C0:lerp(CFrame.new( LeftKnee.C0.p)*CFrame.Angles(rad(-8.652),rad(0),rad(0)),.3)--LeftLowerLeg | |
1006 | RightKnee.C0 = RightKnee.C0:lerp(CFrame.new(RightKnee.C0.p)*CFrame.Angles(rad(-26.872),rad(0),rad(0)),.3)--RightUpperLeg | |
1007 | Root.C0 = Root.C0:lerp(CFrame.new(0,0,0)*CFrame.Angles(rad(-11.574),rad(0),rad(0)),.3)--Torso | |
1008 | Neck.C0 = Neck.C0:lerp(CFrame.new( Neck.C0.p)*CFrame.Angles(rad(0),rad(0),rad(0)),.3)--Head | |
1009 | RightFoot.RightAnkle.C0 = RightFoot.RightAnkle.C0:lerp(CFrame.new( RightFoot.RightAnkle.C0.p)*CFrame.Angles(rad(0),rad(0),rad(0)),.3)--Head | |
1010 | LeftFoot.LeftAnkle.C0 = LeftFoot.LeftAnkle.C0:lerp(CFrame.new( LeftFoot.LeftAnkle.C0.p)*CFrame.Angles(rad(-10.371),rad(0),rad(0)),.3)--Head | |
1011 | RightHand.RightWrist.C0 = RightHand.RightWrist.C0:lerp(CFrame.new( RightHand.RightWrist.C0.p)*CFrame.Angles(rad(0),rad(0),rad(0)),.3)--Head | |
1012 | LeftHand.LeftWrist.C0 = LeftHand.LeftWrist.C0:lerp(CFrame.new( LeftHand.LeftWrist.C0.p)*CFrame.Angles(rad(0),rad(0),rad(0)),.3)--Head | |
1013 | Waist.C0 = Waist.C0:lerp(CFrame.new( Waist.C0.p)*CFrame.Angles(rad(0),rad(-13.751),rad(0)),.3)--Head | |
1014 | wait() | |
1015 | end | |
1016 | for i = 1,10 do | |
1017 | LeftShoulder.C0 = LeftShoulder.C0:lerp(CFrame.new(LeftShoulder.C0.p)*CFrame.Angles(rad(0),rad(0),rad(-13.751)),.3) --LeftUpperArm | |
1018 | RightShoulder.C0 = RightShoulder.C0:lerp(CFrame.new(RightShoulder.C0 .p)*CFrame.Angles(math.rad(-1.261), math.rad(-7.277), math.rad(12.49)),.3)--RightUpperArm | |
1019 | LeftElbow.C0 = LeftElbow.C0:lerp(CFrame.new(LeftElbow.C0.p)*CFrame.Angles(rad(2.521),rad(0),rad(0)),.3)--LeftLowerArm | |
1020 | RightElbow.C0 = RightElbow.C0:lerp(CFrame.new(RightElbow.C0.p)*CFrame.Angles(rad(15.126),rad(0),rad(0)),.3)--RightLowerArm | |
1021 | LeftHip.C0 = LeftHip.C0:lerp(CFrame.new(LeftHip.C0.p)*CFrame.Angles(rad(0.344),rad(0),rad(0)),.3)--LeftUpperLeg | |
1022 | RightHip.C0 = RightHip.C0:lerp(CFrame.new(RightHip.C0.p)*CFrame.Angles(rad(96.314),rad(0),rad(0)),.3)--RightUpperLeg | |
1023 | LeftKnee.C0 = LeftKnee.C0:lerp(CFrame.new( LeftKnee.C0.p)*CFrame.Angles(rad(-1.318),rad(0),rad(0)),.3)--LeftLowerLeg | |
1024 | RightKnee.C0 = RightKnee.C0:lerp(CFrame.new(RightKnee.C0.p)*CFrame.Angles(rad(-2.578),rad(0),rad(0)),.3)--RightUpperLeg | |
1025 | Root.C0 = Root.C0:lerp(CFrame.new(0,0,0)*CFrame.Angles(rad(-6.474),rad(0),rad(0)),.3)--Torso | |
1026 | Neck.C0 = Neck.C0:lerp(CFrame.new( Neck.C0.p)*CFrame.Angles(rad(0),rad(0),rad(0)),.3)--Head | |
1027 | RightFoot.RightAnkle.C0 = RightFoot.RightAnkle.C0:lerp(CFrame.new( RightFoot.RightAnkle.C0.p)*CFrame.Angles(rad(0),rad(0),rad(0)),.3)--Head | |
1028 | LeftFoot.LeftAnkle.C0 = LeftFoot.LeftAnkle.C0:lerp(CFrame.new( LeftFoot.LeftAnkle.C0.p)*CFrame.Angles(rad(-0.974),rad(0),rad(0)),.3)--Head | |
1029 | RightHand.RightWrist.C0 = RightHand.RightWrist.C0:lerp(CFrame.new( RightHand.RightWrist.C0.p)*CFrame.Angles(rad(0),rad(0),rad(0)),.3)--Head | |
1030 | LeftHand.LeftWrist.C0 = LeftHand.LeftWrist.C0:lerp(CFrame.new( LeftHand.LeftWrist.C0.p)*CFrame.Angles(rad(0),rad(0),rad(0)),.3)--Head | |
1031 | Waist.C0 = Waist.C0:lerp(CFrame.new( Waist.C0.p)*CFrame.Angles(math.rad(21.887), math.rad(0.458), math.rad(-0.172)),.3)--Head | |
1032 | wait() | |
1033 | end | |
1034 | ||
1035 | idle = true | |
1036 | kicking = false | |
1037 | wait(1) | |
1038 | debounce = true | |
1039 | end | |
1040 | end | |
1041 | end | |
1042 | end | |
1043 | function Kick2() | |
1044 | if Transformed == true then | |
1045 | if RageMode == true then | |
1046 | if debounce == true then | |
1047 | kicking = true | |
1048 | debounce = false | |
1049 | idle = false | |
1050 | Sprint = false | |
1051 | for i = 1,10 do | |
1052 | LeftShoulder.C0 = LeftShoulder.C0:lerp(CFrame.new(LeftShoulder.C0.p)*CFrame.Angles(rad(0),rad(0),rad(-13.751)),.3) --LeftUpperArm | |
1053 | RightShoulder.C0 = RightShoulder.C0:lerp(CFrame.new(RightShoulder.C0 .p)*CFrame.Angles(math.rad(-1.261), math.rad(-7.277), math.rad(12.49)),.3)--RightUpperArm | |
1054 | LeftElbow.C0 = LeftElbow.C0:lerp(CFrame.new(LeftElbow.C0.p)*CFrame.Angles(rad(0),rad(13.636),rad(0)),.3)--LeftLowerArm | |
1055 | RightElbow.C0 = RightElbow.C0:lerp(CFrame.new(RightElbow.C0.p)*CFrame.Angles(rad(20.856),rad(0),rad(0)),.3)--RightLowerArm | |
1056 | LeftHip.C0 = LeftHip.C0:lerp(CFrame.new(LeftHip.C0.p)*CFrame.Angles(rad(23.835),rad(0),rad(0)),.3)--LeftUpperLeg | |
1057 | RightHip.C0 = RightHip.C0:lerp(CFrame.new(RightHip.C0.p)*CFrame.Angles(rad(-6.016),rad(0),rad(0)),.3)--RightUpperLeg | |
1058 | LeftKnee.C0 = LeftKnee.C0:lerp(CFrame.new( LeftKnee.C0.p)*CFrame.Angles(rad(-8.652),rad(0),rad(0)),.3)--LeftLowerLeg | |
1059 | RightKnee.C0 = RightKnee.C0:lerp(CFrame.new(RightKnee.C0.p)*CFrame.Angles(rad(-26.872),rad(0),rad(0)),.3)--RightUpperLeg | |
1060 | Root.C0 = Root.C0:lerp(CFrame.new(0,0,0)*CFrame.Angles(rad(-11.574),rad(0),rad(0)),.3)--Torso | |
1061 | Neck.C0 = Neck.C0:lerp(CFrame.new( Neck.C0.p)*CFrame.Angles(rad(0),rad(0),rad(0)),.3)--Head | |
1062 | RightFoot.RightAnkle.C0 = RightFoot.RightAnkle.C0:lerp(CFrame.new( RightFoot.RightAnkle.C0.p)*CFrame.Angles(rad(0),rad(0),rad(0)),.3)--Head | |
1063 | LeftFoot.LeftAnkle.C0 = LeftFoot.LeftAnkle.C0:lerp(CFrame.new( LeftFoot.LeftAnkle.C0.p)*CFrame.Angles(rad(-10.371),rad(0),rad(0)),.3)--Head | |
1064 | RightHand.RightWrist.C0 = RightHand.RightWrist.C0:lerp(CFrame.new( RightHand.RightWrist.C0.p)*CFrame.Angles(rad(0),rad(0),rad(0)),.3)--Head | |
1065 | LeftHand.LeftWrist.C0 = LeftHand.LeftWrist.C0:lerp(CFrame.new( LeftHand.LeftWrist.C0.p)*CFrame.Angles(rad(0),rad(0),rad(0)),.3)--Head | |
1066 | Waist.C0 = Waist.C0:lerp(CFrame.new( Waist.C0.p)*CFrame.Angles(rad(0),rad(-13.751),rad(0)),.3)--Head | |
1067 | wait() | |
1068 | end | |
1069 | for i = 1,10 do | |
1070 | LeftShoulder.C0 = LeftShoulder.C0:lerp(CFrame.new(LeftShoulder.C0.p)*CFrame.Angles(rad(0),rad(0),rad(-13.751)),.3) --LeftUpperArm | |
1071 | RightShoulder.C0 = RightShoulder.C0:lerp(CFrame.new(RightShoulder.C0 .p)*CFrame.Angles(math.rad(-1.261), math.rad(-7.277), math.rad(12.49)),.3)--RightUpperArm | |
1072 | LeftElbow.C0 = LeftElbow.C0:lerp(CFrame.new(LeftElbow.C0.p)*CFrame.Angles(rad(2.521),rad(0),rad(0)),.3)--LeftLowerArm | |
1073 | RightElbow.C0 = RightElbow.C0:lerp(CFrame.new(RightElbow.C0.p)*CFrame.Angles(rad(15.126),rad(0),rad(0)),.3)--RightLowerArm | |
1074 | LeftHip.C0 = LeftHip.C0:lerp(CFrame.new(LeftHip.C0.p)*CFrame.Angles(rad(0.344),rad(0),rad(0)),.3)--LeftUpperLeg | |
1075 | RightHip.C0 = RightHip.C0:lerp(CFrame.new(RightHip.C0.p)*CFrame.Angles(rad(96.314),rad(0),rad(0)),.3)--RightUpperLeg | |
1076 | LeftKnee.C0 = LeftKnee.C0:lerp(CFrame.new( LeftKnee.C0.p)*CFrame.Angles(rad(-1.318),rad(0),rad(0)),.3)--LeftLowerLeg | |
1077 | RightKnee.C0 = RightKnee.C0:lerp(CFrame.new(RightKnee.C0.p)*CFrame.Angles(rad(-2.578),rad(0),rad(0)),.3)--RightUpperLeg | |
1078 | Root.C0 = Root.C0:lerp(CFrame.new(0,0,0)*CFrame.Angles(rad(-6.474),rad(0),rad(0)),.3)--Torso | |
1079 | Neck.C0 = Neck.C0:lerp(CFrame.new( Neck.C0.p)*CFrame.Angles(rad(0),rad(0),rad(0)),.3)--Head | |
1080 | RightFoot.RightAnkle.C0 = RightFoot.RightAnkle.C0:lerp(CFrame.new( RightFoot.RightAnkle.C0.p)*CFrame.Angles(rad(0),rad(0),rad(0)),.3)--Head | |
1081 | LeftFoot.LeftAnkle.C0 = LeftFoot.LeftAnkle.C0:lerp(CFrame.new( LeftFoot.LeftAnkle.C0.p)*CFrame.Angles(rad(-0.974),rad(0),rad(0)),.3)--Head | |
1082 | RightHand.RightWrist.C0 = RightHand.RightWrist.C0:lerp(CFrame.new( RightHand.RightWrist.C0.p)*CFrame.Angles(rad(0),rad(0),rad(0)),.3)--Head | |
1083 | LeftHand.LeftWrist.C0 = LeftHand.LeftWrist.C0:lerp(CFrame.new( LeftHand.LeftWrist.C0.p)*CFrame.Angles(rad(0),rad(0),rad(0)),.3)--Head | |
1084 | Waist.C0 = Waist.C0:lerp(CFrame.new( Waist.C0.p)*CFrame.Angles(math.rad(21.887), math.rad(0.458), math.rad(-0.172)),.3)--Head | |
1085 | wait() | |
1086 | end | |
1087 | ||
1088 | Sprint = true | |
1089 | kicking = false | |
1090 | wait(1) | |
1091 | debounce = true | |
1092 | end | |
1093 | end | |
1094 | end | |
1095 | end | |
1096 | local shashing = false | |
1097 | mouse.KeyDown:connect(function(k) | |
1098 | if k == "q" then | |
1099 | if RageMode == true then | |
1100 | if shashing == false then | |
1101 | shashing = true | |
1102 | repeat | |
1103 | punch1() | |
1104 | punch2() | |
1105 | wait() | |
1106 | until shashing == false | |
1107 | end | |
1108 | end | |
1109 | end | |
1110 | ||
1111 | end) | |
1112 | mouse.KeyUp:connect(function(k) | |
1113 | if k == "q" then | |
1114 | if RageMode == true then | |
1115 | shashing = false | |
1116 | Sprint = true | |
1117 | end | |
1118 | end | |
1119 | end) | |
1120 | function GhostKill() | |
1121 | local exp = new("Explosion",workspace) | |
1122 | exp.Position = mouse.Hit.p | |
1123 | exp.BlastPressure = math.huge | |
1124 | exp.BlastRadius= math.huge | |
1125 | end | |
1126 | ||
1127 | mouse.KeyDown:connect(function(k) | |
1128 | if k == "n" then | |
1129 | Transform() | |
1130 | end | |
1131 | end) | |
1132 | mouse.KeyDown:connect(function(k) | |
1133 | if k == "m" then | |
1134 | Normal() | |
1135 | end | |
1136 | end) | |
1137 | mouse.KeyDown:connect(function(k) | |
1138 | if k == "b" then | |
1139 | Rage() | |
1140 | end | |
1141 | end) | |
1142 | mouse.KeyDown:connect(function(k) | |
1143 | if k == "e" then | |
1144 | Kick() | |
1145 | end | |
1146 | end) | |
1147 | mouse.KeyDown:connect(function(k) | |
1148 | if k == "e" then | |
1149 | Kick2() | |
1150 | end | |
1151 | end) | |
1152 | mouse.KeyDown:connect(function(k) | |
1153 | if k == "o" then | |
1154 | GhostKill() | |
1155 | end | |
1156 | end) | |
1157 | health = hum.Health | |
1158 | hum.Changed:connect(function() | |
1159 | if hum.Health < 5 then | |
1160 | wait() | |
1161 | for i = 1,20 do | |
1162 | hum.Health = math.huge | |
1163 | wait() | |
1164 | end | |
1165 | end | |
1166 | health = hum.Health | |
1167 | end) | |
1168 | spawn(function() | |
1169 | while wait(0) do | |
1170 | hum.PlatformStand = false | |
1171 | end | |
1172 | end) | |
1173 | print("USE O TO KILL GHOST") |