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