SHOW:
|
|
- or go back to the newest paste.
1 | - | --Edited by 1x0x1x0-- |
1 | + | --]] |
2 | --https://github.com/Mokiros/roblox-FE-compatibility | |
3 | if game:GetService("RunService"):IsClient() then error("Script must be server-side in order to work; use h/ and not hl/") end | |
4 | local Player,Mouse,mouse,UserInputService,ContextActionService = owner | |
5 | local RealPlayer = Player | |
6 | do print("FE Compatibility code by Mokiros")local a=RealPlayer;script.Parent=a.Character;local b=Instance.new("RemoteEvent")b.Name="UserInput_Event"local function c()local d={_fakeEvent=true,Functions={},Connect=function(self,e)table.insert(self.Functions,e)end}d.connect=d.Connect;return d end;local f={Target=nil,Hit=CFrame.new(),KeyUp=c(),KeyDown=c(),Button1Up=c(),Button1Down=c(),Button2Up=c(),Button2Down=c()}local g={InputBegan=c(),InputEnded=c()}local CAS={Actions={},BindAction=function(self,h,i,j,...)CAS.Actions[h]=i and{Name=h,Function=i,Keys={...}}or nil end}CAS.UnbindAction=CAS.BindAction;local function k(self,l,...)local d=f[l]if d and d._fakeEvent then for m,e in pairs(d.Functions)do e(...)end end end;f.TrigEvent=k;g.TrigEvent=k;b.OnServerEvent:Connect(function(n,o)if n~=a then return end;f.Target=o.Target;f.Hit=o.Hit;if not o.isMouse then local p=o.UserInputState==Enum.UserInputState.Begin;if o.UserInputType==Enum.UserInputType.MouseButton1 then return f:TrigEvent(p and"Button1Down"or"Button1Up")end;if o.UserInputType==Enum.UserInputType.MouseButton2 then return f:TrigEvent(p and"Button2Down"or"Button2Up")end;for m,d in pairs(CAS.Actions)do for m,q in pairs(d.Keys)do if q==o.KeyCode then d.Function(d.Name,o.UserInputState,o)end end end;f:TrigEvent(p and"KeyDown"or"KeyUp",o.KeyCode.Name:lower())g:TrigEvent(p and"InputBegan"or"InputEnded",o,false)end end)b.Parent=NLS([==[local a=game:GetService("Players").LocalPlayer;local b=script:WaitForChild("UserInput_Event")local c=a:GetMouse()local d=game:GetService("UserInputService")local e=function(f,g)if g then return end;b:FireServer({KeyCode=f.KeyCode,UserInputType=f.UserInputType,UserInputState=f.UserInputState,Hit=c.Hit,Target=c.Target})end;d.InputBegan:Connect(e)d.InputEnded:Connect(e)local h,i;while wait(1/30)do if h~=c.Hit or i~=c.Target then h,i=c.Hit,c.Target;b:FireServer({isMouse=true,Target=i,Hit=h})end end]==],Player.Character)local r=game;local s={__index=function(self,q)local t=rawget(self,"_RealService")if t then return typeof(t[q])=="function"and function(m,...)return t[q](t,...)end or t[q]end end,__newindex=function(self,q,u)local t=rawget(self,"_RealService")if t then t[q]=u end end}local function v(d,w)d._RealService=typeof(w)=="string"and r:GetService(w)or w;return setmetatable(d,s)end;local x={GetService=function(self,t)return rawget(self,t)or r:GetService(t)end,Players=v({LocalPlayer=v({GetMouse=function(self)return f end},Player)},"Players"),UserInputService=v(g,"UserInputService"),ContextActionService=v(CAS,"ContextActionService"),RunService=v({_btrs={},RenderStepped=r:GetService("RunService").Heartbeat,BindToRenderStep=function(self,h,m,i)self._btrs[h]=self.Heartbeat:Connect(i)end,UnbindFromRenderStep=function(self,h)self._btrs[h]:Disconnect()end},"RunService")}rawset(x.Players,"localPlayer",x.Players.LocalPlayer)x.service=x.GetService;v(x,game)game,owner=x,x.Players.LocalPlayer end | |
7 | ||
8 | Player = game.Players.LocalPlayer | |
9 | Character = Player.Character | |
10 | PlayerGui = Player.PlayerGui | |
11 | Backpack = Player.Backpack | |
12 | Torso = Character.Torso | |
13 | Head = Character.Head | |
14 | Humanoid = Character.Humanoid | |
15 | LeftArm = Character["Left Arm"] | |
16 | LeftLeg = Character["Left Leg"] | |
17 | RightArm = Character["Right Arm"] | |
18 | RightLeg = Character["Right Leg"] | |
19 | Character = Player.Character | |
20 | PlayerGui = Player.PlayerGui | |
21 | Backpack = Player.Backpack | |
22 | Torso = Character.Torso | |
23 | Head = Character.Head | |
24 | Humanoid = Character.Humanoid | |
25 | LeftArm = Character["Left Arm"] | |
26 | LeftLeg = Character["Left Leg"] | |
27 | RightArm = Character["Right Arm"] | |
28 | RightLeg = Character["Right Leg"] | |
29 | LS = Torso["Left Shoulder"] | |
30 | LH = Torso["Left Hip"] | |
31 | RS = Torso["Right Shoulder"] | |
32 | RH = Torso["Right Hip"] | |
33 | Neck = Torso.Neck | |
34 | attacktype = 1 | |
35 | vt = Vector3.new | |
36 | cf = CFrame.new | |
37 | euler = CFrame.fromEulerAnglesXYZ | |
38 | angles = CFrame.Angles | |
39 | necko = cf(0, 1, 0, -1, -0, -0, 0, 0, 1, 0, 1, 0) | |
40 | necko2 = cf(0, -0.5, 0, -1, -0, -0, 0, 0, 1, 0, 1, 0) | |
41 | LHC0 = cf(-1, -1, 0, -0, -0, -1, 0, 1, 0, 1, 0, 0) | |
42 | LHC1 = cf(-0.5, 1, 0, -0, -0, -1, 0, 1, 0, 1, 0, 0) | |
43 | RHC0 = cf(1, -1, 0, 0, 0, 1, 0, 1, 0, -1, -0, -0) | |
44 | RHC1 = cf(0.5, 1, 0, 0, 0, 1, 0, 1, 0, -1, -0, -0) | |
45 | RootPart = Character.HumanoidRootPart | |
46 | RootJoint = RootPart.RootJoint | |
47 | RootCF = euler(-1.57, 0, 3.14) | |
48 | attack = false | |
49 | equipped = true | |
50 | local Anim = "Idle" | |
51 | local Effects = {} | |
52 | cam = workspace.CurrentCamera | |
53 | ZTarget = nil | |
54 | RocketTarget = nil | |
55 | local RbxUtility = LoadLibrary("RbxUtility") | |
56 | local Create = RbxUtility.Create | |
57 | local m = Create("Model"){ | |
58 | Parent = Character, | |
59 | Name = "WeaponModel", | |
60 | } | |
61 | mouse = Player:GetMouse() | |
62 | ||
63 | z = Instance.new("Sound", Character) | |
64 | z.SoundId = "rbxassetid://183973343" | |
65 | z.Looped = false | |
66 | z.Pitch = 1 | |
67 | z.Volume = 7 | |
68 | wait(.1) | |
69 | z:Play() | |
70 | ---------------------------------------------------- | |
71 | cn,ca,bc,v3,r = CFrame.new,CFrame.Angles,BrickColor.new,Vector3.new,function(a)return (math.random()-.5)*2*(a or 1) end | |
72 | deg,nf,c3,ins,ma,pi,mr = math.deg,math.floor,Color3.new,Instance.new,math.abs,math.pi,math.rad | |
73 | local part = function(prnt,cfr,siz,col,anc,canc,tra,mat,typ) | |
74 | local p = ins(typ or "Part") | |
75 | p.FormFactor = "Custom" | |
76 | p.Material = mat | |
77 | p.Transparency = tra | |
78 | p.CanCollide = canc | |
79 | p.Anchored = anc | |
80 | p.BrickColor = bc(col) | |
81 | p.Size = siz | |
82 | p.CFrame = cfr | |
83 | p.Parent = prnt | |
84 | p.Locked = true | |
85 | p.TopSurface,p.BottomSurface = 0,0 | |
86 | p:BreakJoints() | |
87 | return p | |
88 | end | |
89 | local mesh = function(typ,prnt,scal,mtyp,mid,mtx) | |
90 | local m = ins(typ or "SpecialMesh") | |
91 | if mtyp then m.MeshType = mtyp end | |
92 | if mid then m.MeshId = mid end | |
93 | if mtx then m.TextureId = mtx end | |
94 | if scal then m.Scale = scal end | |
95 | m.Parent = prnt | |
96 | return m | |
97 | end | |
98 | function cylinderOpen(cf,col,col2) | |
99 | local p = part(Character,cf,v3(0,1000,0),col,true,false,.1,"Granite") | |
100 | local pm = mesh("CylinderMesh",p) | |
101 | local p2 = part(Character,cf,v3(0,1000,0),col2,true,false,.1,"Granite") | |
102 | local p2m = mesh("CylinderMesh",p2) | |
103 | Spawn(function() | |
104 | for i=.1,1.1,.0125 do | |
105 | p.Transparency = i | |
106 | p2.Transparency = i | |
107 | pm.Scale = pm.Scale + v3(.8,0,.8) | |
108 | p2m.Scale = p2m.Scale + v3(.5,0,.5) | |
109 | wait() | |
110 | end | |
111 | p:Destroy() | |
112 | p2:Destroy() | |
113 | end) | |
114 | end | |
115 | ||
116 | function expandDong() | |
117 | local nTarg = Torso | |
118 | local Orbi = Instance.new('Part') | |
119 | Orbi.Size = Vector3.new(3,3,3) | |
120 | Orbi.CanCollide = false | |
121 | Orbi.Locked = true | |
122 | Orbi.Shape = 'Ball' | |
123 | Orbi.Anchored = true | |
124 | Orbi.Transparency = .6 | |
125 | Orbi.TopSurface,Orbi.BottomSurface = 0,0 | |
126 | Orbi.Name = 'Expand Dong' | |
127 | Orbi.BrickColor = BrickColor.new('Dark Blue') | |
128 | ||
129 | local OrbiMesh = Instance.new('SpecialMesh',Orbi) | |
130 | OrbiMesh.Name = 'Dxpand Eong' | |
131 | OrbiMesh.Scale = Vector3.new(2, 2, 2) | |
132 | OrbiMesh.MeshType = 'Sphere' | |
133 | Orbi.Parent = Character | |
134 | ypcall(function() | |
135 | for i = 3,.35,-1 do | |
136 | OrbiMesh.Scale = OrbiMesh.Scale + Vector3.new(.7, .7, .7) | |
137 | Orbi.CFrame = nTarg.CFrame | |
138 | end | |
139 | for i = .6,1,.05 do | |
140 | wait(0.04) | |
141 | Orbi.Transparency = i | |
142 | end | |
143 | Orbi:Destroy() | |
144 | end) | |
145 | end | |
146 | ||
147 | ||
148 | function expandDong2() | |
149 | local nTarg = Torso | |
150 | local Orbi = Instance.new('Part') | |
151 | Orbi.Size = Vector3.new(3,3,3) | |
152 | Orbi.CanCollide = false | |
153 | Orbi.Locked = true | |
154 | Orbi.Shape = 'Ball' | |
155 | Orbi.Anchored = true | |
156 | Orbi.Transparency = .6 | |
157 | Orbi.TopSurface,Orbi.BottomSurface = 0,0 | |
158 | Orbi.Name = 'Expand Dong' | |
159 | Orbi.BrickColor = BrickColor.new('Really black') | |
160 | ||
161 | local OrbiMesh = Instance.new('SpecialMesh',Orbi) | |
162 | OrbiMesh.Name = 'Dxpand Eong' | |
163 | OrbiMesh.Scale = Vector3.new(2.5, 2.5, 2.5) | |
164 | OrbiMesh.MeshType = 'Sphere' | |
165 | Orbi.Parent = Character | |
166 | ypcall(function() | |
167 | for i = 3,0,-1 do | |
168 | OrbiMesh.Scale = OrbiMesh.Scale + Vector3.new(.7, .7, .7) | |
169 | Orbi.CFrame = nTarg.CFrame | |
170 | end | |
171 | for i = .6,1,.05 do | |
172 | wait(0.04) | |
173 | Orbi.Transparency = i | |
174 | end | |
175 | Orbi:Destroy() | |
176 | end) | |
177 | end | |
178 | cylinderOpen(Torso.CFrame,"Dark blue","Really black") | |
179 | expandDong2() | |
180 | expandDong() | |
181 | ||
182 | wait(1) | |
183 | local p = game.Players.LocalPlayer | |
184 | repeat wait() until p | |
185 | local char = p.Character | |
186 | repeat wait() until char | |
187 | local mouse = p:GetMouse() | |
188 | local larm = char["Left Arm"] | |
189 | local rarm = char["Right Arm"] | |
190 | local lleg = char["Left Leg"] | |
191 | local rleg = char["Right Leg"] | |
192 | local hed = char.Head | |
193 | local chatServ = game:GetService("Chat") | |
194 | local torso = char.Torso | |
195 | local hum = char.Humanoid | |
196 | local cam = game.Workspace.CurrentCamera | |
197 | local root = char.HumanoidRootPart | |
198 | local deb = false | |
199 | local shot = 0 | |
200 | local l = game:GetService("Lighting") | |
201 | local rs = game:GetService("RunService").RenderStepped | |
202 | local insServ = game:GetService("InsertService") | |
203 | local debServ = game:GetService("Debris") | |
204 | local stanceToggle = "Normal" | |
205 | - | hum.MaxHealth = 999999999 |
205 | + | |
206 | hum.WalkSpeed = 80 | |
207 | - | hum.Health = 999999999 |
207 | + | |
208 | char:WaitForChild("Animate").Disabled = true | |
209 | debServ:AddItem(hum:WaitForChild("Animator"), 0) | |
210 | hum.MaxHealth = 1000 | |
211 | wait(0.1) | |
212 | hum.Health = 1000 | |
213 | ---------------------------------------------------- | |
214 | local shIRT = char:FindFirstChild("Shirt") | |
215 | local pANTS = char:FindFirstChild("Pants") | |
216 | if shIRT then | |
217 | shIRT:Destroy() | |
218 | end | |
219 | if pANTS then | |
220 | pANTS:Destroy() | |
221 | end | |
222 | shirt = Instance.new("Shirt", char) | |
223 | shirt.Name = "Shirt" | |
224 | pants = Instance.new("Pants", char) | |
225 | pants.Name = "Pants" | |
226 | char.Shirt.ShirtTemplate = "http://www.roblox.com/asset/?id=289028097" | |
227 | char.Pants.PantsTemplate = "http://www.roblox.com/asset/?id=289028434" | |
228 | char.Humanoid.JumpPower = 150 | |
229 | ---------------------------------------------------- | |
230 | Debounces = { | |
231 | on = false; | |
232 | ks = false; | |
233 | CanAttack = true; | |
234 | CanJoke = true; | |
235 | NoIdl = false; | |
236 | Slashing = false; | |
237 | Slashed = false; | |
238 | Grabbing = false; | |
239 | Grabbed = false; | |
240 | } | |
241 | local Touche = {char.Name, } | |
242 | ---------------------------------------------------- | |
243 | function lerp(a, b, t) -- Linear interpolation | |
244 | return a + (b - a)*t | |
245 | end | |
246 | ||
247 | function slerp(a, b, t) --Spherical interpolation | |
248 | dot = a:Dot(b) | |
249 | if dot > 0.99999 or dot < -0.99999 then | |
250 | return t <= 0.5 and a or b | |
251 | else | |
252 | r = math.acos(dot) | |
253 | return (a*math.sin((1 - t)*r) + b*math.sin(t*r)) / math.sin(r) | |
254 | end | |
255 | end | |
256 | ||
257 | function matrixInterpolate(a, b, t) | |
258 | local ax, ay, az, a00, a01, a02, a10, a11, a12, a20, a21, a22 = a:components() | |
259 | local bx, by, bz, b00, b01, b02, b10, b11, b12, b20, b21, b22 = b:components() | |
260 | local v0 = lerp(Vector3.new(ax, ay, az), Vector3.new(bx , by , bz), t) -- Position | |
261 | local v1 = slerp(Vector3.new(a00, a01, a02), Vector3.new(b00, b01, b02), t) -- Vector right | |
262 | local v2 = slerp(Vector3.new(a10, a11, a12), Vector3.new(b10, b11, b12), t) -- Vector up | |
263 | local v3 = slerp(Vector3.new(a20, a21, a22), Vector3.new(b20, b21, b22), t) -- Vector back | |
264 | local t = v1:Dot(v2) | |
265 | if not (t < 0 or t == 0 or t > 0) then -- Failsafe | |
266 | return CFrame.new() | |
267 | end | |
268 | return CFrame.new( | |
269 | v0.x, v0.y, v0.z, | |
270 | v1.x, v1.y, v1.z, | |
271 | v2.x, v2.y, v2.z, | |
272 | v3.x, v3.y, v3.z) | |
273 | end | |
274 | ---------------------------------------------------- | |
275 | function genWeld(a,b) | |
276 | local w = Instance.new("Weld",a) | |
277 | w.Part0 = a | |
278 | w.Part1 = b | |
279 | return w | |
280 | end | |
281 | function weld(a, b) | |
282 | local weld = Instance.new("Weld") | |
283 | weld.Name = "W" | |
284 | weld.Part0 = a | |
285 | weld.Part1 = b | |
286 | weld.C0 = a.CFrame:inverse() * b.CFrame | |
287 | weld.Parent = a | |
288 | return weld; | |
289 | end | |
290 | ---------------------------------------------------- | |
291 | function Lerp(c1,c2,al) | |
292 | local com1 = {c1.X,c1.Y,c1.Z,c1:toEulerAnglesXYZ()} | |
293 | local com2 = {c2.X,c2.Y,c2.Z,c2:toEulerAnglesXYZ()} | |
294 | for i,v in pairs(com1) do | |
295 | com1[i] = v+(com2[i]-v)*al | |
296 | end | |
297 | return CFrame.new(com1[1],com1[2],com1[3]) * CFrame.Angles(select(4,unpack(com1))) | |
298 | end | |
299 | ---------------------------------------------------- | |
300 | newWeld = function(wp0, wp1, wc0x, wc0y, wc0z) | |
301 | local wld = Instance.new("Motor6D", wp1) | |
302 | wld.Name = "Weld" | |
303 | wld.Part0 = wp0 | |
304 | wld.Part1 = wp1 | |
305 | wld.C0 = CFrame.new(wc0x, wc0y, wc0z) | |
306 | end | |
307 | ---------------------------------------------------- | |
308 | for i,v in pairs(char:children()) do | |
309 | if v:IsA("Hat") then | |
310 | debServ:AddItem(v, 0) | |
311 | end | |
312 | end | |
313 | for i,v in pairs(hed:children()) do | |
314 | if v:IsA("Sound") then | |
315 | debServ:AddItem(v, 0) | |
316 | end | |
317 | end | |
318 | ---------------------------------------------------- | |
319 | function HasntTouched(plrname) | |
320 | local ret = true | |
321 | for _, v in pairs(Touche) do | |
322 | if v == plrname then | |
323 | ret = false | |
324 | end | |
325 | end | |
326 | return ret | |
327 | end | |
328 | ---------------------------------------------------- | |
329 | larm.Size = larm.Size * 2 | |
330 | rarm.Size = rarm.Size * 2 | |
331 | lleg.Size = lleg.Size * 2 | |
332 | rleg.Size = rleg.Size * 2 | |
333 | torso.Size = torso.Size * 2 | |
334 | hed.Size = hed.Size * 2 | |
335 | root.Size = root.Size * 2 | |
336 | ---------------------------------------------------- | |
337 | newWeld(torso, larm, -1.5, 0.5, 0) | |
338 | larm.Weld.C1 = CFrame.new(0, 0.5, 0) | |
339 | newWeld(torso, rarm, 1.5, 0.5, 0) | |
340 | rarm.Weld.C1 = CFrame.new(0, 0.5, 0) | |
341 | newWeld(torso, hed, 0, 1.5, 0) | |
342 | newWeld(torso, lleg, -0.5, -1, 0) | |
343 | lleg.Weld.C1 = CFrame.new(0, 1, 0) | |
344 | newWeld(torso, rleg, 0.5, -1, 0) | |
345 | rleg.Weld.C1 = CFrame.new(0, 1, 0) | |
346 | newWeld(root, torso, 0, -1, 0) | |
347 | torso.Weld.C1 = CFrame.new(0, -1, 0) | |
348 | ---------------------------------------------------- | |
349 | local HBill = Instance.new("BillboardGui", hed) | |
350 | local HMain, HBarBack, HBar = Instance.new("Frame", HBill), Instance.new("Frame"), Instance.new("Frame") | |
351 | local HHealth, HName = Instance.new("TextLabel", HBarBack), Instance.new("TextLabel") | |
352 | HBill.Size = UDim2.new(20,0,2.2,0) | |
353 | HBill.StudsOffset = Vector3.new(0,4,0) | |
354 | HBill.AlwaysOnTop = true | |
355 | HMain.BackgroundColor3 = Color3.new(0/255, 0, 0/255) | |
356 | HMain.BackgroundTransparency = 0.6 | |
357 | HMain.Size = UDim2.new(1,0,1,0) | |
358 | HBarBack.Parent = HMain | |
359 | HBarBack.BackgroundColor3 = Color3.new(0/255,0/255,0/255) | |
360 | HBarBack.BorderColor3 = Color3.new(0,0,0) | |
361 | HBarBack.BorderSizePixel = 2 | |
362 | HBarBack.Position = UDim2.new(.025, 0, .55, 0) | |
363 | HBarBack.Size = UDim2.new(.95, 0, .25, 0) | |
364 | HBar.Parent = HBarBack | |
365 | HBar.BackgroundColor3 = Color3.new(0, 0/255, 225) | |
366 | HBar.BorderColor3 = Color3.new(0,0,0) | |
367 | HBar.Size = UDim2.new(.5,0,1,0) | |
368 | HHealth.BackgroundTransparency = 1 | |
369 | HHealth.Size = UDim2.new(1,0,1,0) | |
370 | HHealth.Font = "SourceSans" | |
371 | HHealth.Text = "[10/10]" | |
372 | HHealth.TextScaled = true | |
373 | HHealth.TextColor3 = Color3.new(1,1,1) | |
374 | HName.Parent = HMain | |
375 | HName.BackgroundTransparency = 1 | |
376 | HName.Size = UDim2.new(1,0,.35,0) | |
377 | HName.Font = "SourceSansItalic" | |
378 | HName.Text = "Dominus King" | |
379 | HName.TextScaled = true | |
380 | HName.TextColor3 = Color3.new(0/255, 0, 255/255) | |
381 | HName.TextStrokeColor3 = Color3.new(1,1,1) | |
382 | HName.TextStrokeTransparency = 0 | |
383 | HName.TextYAlignment = "Top" | |
384 | rs:connect(function() | |
385 | HHealth.Text = "HP["..hum.Health.."]" | |
386 | HBar:TweenSize(UDim2.new((hum.Health/hum.MaxHealth),0,1,0), _, "Linear", .4) | |
387 | end) | |
388 | ||
389 | local DHandle = Instance.new("Part") | |
390 | local DMesh = Instance.new("SpecialMesh") | |
391 | local DWeld = Instance.new("Weld") | |
392 | DHandle.Parent = char | |
393 | DHandle.Name = "Handle" | |
394 | DHandle.CanCollide = false | |
395 | DHandle.Locked = true | |
396 | DHandle.Size = Vector3.new(1.93, 1.77, 1.6) | |
397 | DMesh.Parent = DHandle | |
398 | DMesh.MeshId = "http://www.roblox.com/asset/?id=21057410" | |
399 | DMesh.TextureId = "http://www.roblox.com/asset/?id=21057378" | |
400 | DMesh.Scale = DMesh.Scale * 1.8 | |
401 | DWeld.Parent = DHandle | |
402 | DWeld.Name = "no" | |
403 | DWeld.Part0 = hed | |
404 | DWeld.Part1 = DHandle | |
405 | DWeld.C0 = CFrame.new(0,0,-0.7) * CFrame.fromEulerAnglesXYZ(math.rad(-20),0,0) | |
406 | hed.face.Texture = "rbxassetid://0" | |
407 | hed.Transparency = 1 | |
408 | local eye1 = Instance.new("Part") | |
409 | eye1.BrickColor = BrickColor.new("Dark blue") | |
410 | eye1.Material = "Neon" | |
411 | eye1.Transparency = 1 | |
412 | eye1.Name = "oi" | |
413 | eye1.Size = Vector3.new(.1,.1,.1) | |
414 | eye1.CanCollide = false | |
415 | eye1.Anchored = false | |
416 | eye1.Locked = true | |
417 | eye1.CFrame = hed.CFrame | |
418 | local eye1weld = Instance.new("Weld") | |
419 | eye1weld.Parent = DHandle | |
420 | eye1weld.Name = "nooo" | |
421 | eye1weld.Part0 = DHandle | |
422 | eye1weld.Part1 = eye1 | |
423 | eye1weld.C0 = CFrame.new(0.6,0.58,-0.8) * CFrame.fromEulerAnglesXYZ(math.rad(0), math.rad(20), math.rad(0)) | |
424 | eye1.Parent = DHandle | |
425 | local eye2 = Instance.new("Part") | |
426 | eye2.BrickColor = BrickColor.new("Dark blue") | |
427 | eye2.Material = "Neon" | |
428 | eye2.Transparency = 1 | |
429 | eye2.Name = "oi" | |
430 | eye2.Size = Vector3.new(.1,.1,.1) | |
431 | eye2.CanCollide = false | |
432 | eye2.Anchored = false | |
433 | eye2.Locked = true | |
434 | eye2.CFrame = hed.CFrame | |
435 | local eye2weld = Instance.new("Weld") | |
436 | eye2weld.Parent = DHandle | |
437 | eye2weld.Name = "nooo" | |
438 | eye2weld.Part0 = DHandle | |
439 | eye2weld.Part1 = eye2 | |
440 | eye2weld.C0 = CFrame.new(-0.6,0.58,-0.8) * CFrame.fromEulerAnglesXYZ(math.rad(0), math.rad(-20), math.rad(0)) | |
441 | eye2.Parent = DHandle | |
442 | local transPoints = { | |
443 | NumberSequenceKeypoint.new(0,.469,0), | |
444 | NumberSequenceKeypoint.new(.217,.375,.0187), | |
445 | NumberSequenceKeypoint.new(.381,.262,0), | |
446 | NumberSequenceKeypoint.new(.574,.462,.05), | |
447 | NumberSequenceKeypoint.new(.757,.769,.0315), | |
448 | NumberSequenceKeypoint.new(1,1,0), | |
449 | } | |
450 | local sizePoints = { | |
451 | NumberSequenceKeypoint.new(0,0,0), | |
452 | NumberSequenceKeypoint.new(.107,.55,0), | |
453 | NumberSequenceKeypoint.new(.326,.712,0), | |
454 | NumberSequenceKeypoint.new(.984,.23,0), | |
455 | NumberSequenceKeypoint.new(1,0,0), | |
456 | } | |
457 | local ESize = NumberSequence.new(sizePoints) | |
458 | local ETransparency = NumberSequence.new(transPoints) | |
459 | local Glow = Instance.new("ParticleEmitter") | |
460 | Glow.Color = ColorSequence.new(eye1.BrickColor.Color) | |
461 | Glow.LightEmission = .5 | |
462 | Glow.Size = ESize | |
463 | Glow.Name = "noice" | |
464 | Glow.Transparency = ETransparency | |
465 | Glow.EmissionDirection = "Left" | |
466 | Glow.LockedToPart = true | |
467 | Glow.VelocityInheritance = 1 | |
468 | Glow.LockedToPart = true | |
469 | Glow.Rate = 200 | |
470 | Glow.Texture = "http://www.roblox.com/asset/?id=37332909" | |
471 | Glow.Lifetime = NumberRange.new(0.5) | |
472 | Glow.RotSpeed = NumberRange.new(100) | |
473 | Glow.Speed = NumberRange.new(10) | |
474 | Glow.VelocitySpread = 5 | |
475 | Glow.Parent = eye1 | |
476 | local Glow2 = Glow:Clone() | |
477 | Glow2.Parent = eye2 | |
478 | Glow2.EmissionDirection = "Right" | |
479 | ---------------------------------------------------- | |
480 | z = Instance.new("Sound", char) | |
481 | z.SoundId = "rbxassetid://319101193" | |
482 | z.Looped = true | |
483 | z.Pitch = 1 | |
484 | z.Volume = 1.0 | |
485 | wait(.01) | |
486 | z:Play() | |
487 | ---------------------------------------------------- | |
488 | local m = Instance.new("Model") | |
489 | m.Name = "Absolution" | |
490 | p1 = Instance.new("Part", m) | |
491 | p1.BrickColor = BrickColor.new("Black metallic") | |
492 | p1.FormFactor = Enum.FormFactor.Custom | |
493 | p1.Size = Vector3.new(1, 0.600000024, 1.5) | |
494 | p1.CFrame = CFrame.new(67.4994888, 12.1560526, 73.0205841, 0.999972522, -3.59117985e-005, -8.00192356e-006, -1.39250187e-005, 0.358383715, -0.933530986, 5.28097153e-005, 0.933500648, 0.358406395) | |
495 | p1.CanCollide = false | |
496 | p1.Locked = true | |
497 | p1.Elasticity = 0 | |
498 | p1.BottomSurface = Enum.SurfaceType.Smooth | |
499 | p1.TopSurface = Enum.SurfaceType.Smooth | |
500 | b1 = Instance.new("SpecialMesh", p1) | |
501 | b1.MeshType = Enum.MeshType.Wedge | |
502 | b1.Name = "Mesh" | |
503 | b1.Scale = Vector3.new(0.400000006, 0.600000024, 0.699999928) | |
504 | p2 = Instance.new("Part", m) | |
505 | p2.BrickColor = BrickColor.new("Dark blue") | |
506 | p2.Material = "Neon" | |
507 | p2.FormFactor = Enum.FormFactor.Custom | |
508 | p2.Size = Vector3.new(1, 2.9000001, 1) | |
509 | p2.CFrame = CFrame.new(67.4995728, 11.7633543, 74.2129135, -1.30959779e-005, 2.79811252e-006, 0.999972522, 0.961226642, 0.275612593, -7.50799518e-006, -0.275637805, 0.96119839, 1.01176247e-005) | |
510 | p2.CanCollide = false | |
511 | p2.Locked = true | |
512 | p2.Elasticity = 0 | |
513 | p2.BottomSurface = Enum.SurfaceType.Smooth | |
514 | p2.TopSurface = Enum.SurfaceType.Smooth | |
515 | b2 = Instance.new("BlockMesh", p2) | |
516 | b2.Name = "Mesh" | |
517 | b2.Scale = Vector3.new(0.400000006, 1, 0.400000006) | |
518 | p3 = Instance.new("Part", m) | |
519 | p3.BrickColor = BrickColor.new("Black metallic") | |
520 | p3.FormFactor = Enum.FormFactor.Custom | |
521 | p3.Size = Vector3.new(1, 1.20000005, 2.0999999) | |
522 | p3.CFrame = CFrame.new(67.4994965, 12.6401453, 73.9670334, 0.999972522, -3.52207899e-005, -8.10639358e-006, -1.61500211e-005, 0.309035271, -0.951007903, 5.24176576e-005, 0.950978875, 0.309059501) | |
523 | p3.CanCollide = false | |
524 | p3.Locked = true | |
525 | p3.Elasticity = 0 | |
526 | p3.BottomSurface = Enum.SurfaceType.Smooth | |
527 | p3.TopSurface = Enum.SurfaceType.Smooth | |
528 | b3 = Instance.new("SpecialMesh", p3) | |
529 | b3.MeshType = Enum.MeshType.Wedge | |
530 | b3.Name = "Mesh" | |
531 | b3.Scale = Vector3.new(0.400000006, 0.600000024, 0.699999928) | |
532 | p4 = Instance.new("Part", m) | |
533 | p4.BrickColor = BrickColor.new("Black metallic") | |
534 | p4.FormFactor = Enum.FormFactor.Custom | |
535 | p4.Size = Vector3.new(1, 1.43999994, 2.05000019) | |
536 | p4.CFrame = CFrame.new(67.4995575, 11.8683414, 76.1565704, 0.999972522, -2.5085672e-005, -1.53700166e-005, -4.86194367e-005, -0.800831437, -0.598821938, 1.9131101e-005, 0.598835468, -0.800796151) | |
537 | p4.CanCollide = false | |
538 | p4.Locked = true | |
539 | p4.Elasticity = 0 | |
540 | p4.BottomSurface = Enum.SurfaceType.Smooth | |
541 | p4.TopSurface = Enum.SurfaceType.Smooth | |
542 | b4 = Instance.new("SpecialMesh", p4) | |
543 | b4.MeshType = Enum.MeshType.Wedge | |
544 | b4.Name = "Mesh" | |
545 | b4.Scale = Vector3.new(0.300000012, 0.600000024, 0.699999988) | |
546 | p5 = Instance.new("Part", m) | |
547 | p5.BrickColor = BrickColor.new("Black metallic") | |
548 | p5.FormFactor = Enum.FormFactor.Custom | |
549 | p5.Size = Vector3.new(1, 1.20000005, 3.20000005) | |
550 | p5.CFrame = CFrame.new(67.4995193, 13.241991, 74.8357468, 0.999972522, -3.59118021e-005, -8.00191992e-006, -1.39250224e-005, 0.358383656, -0.933530807, 5.2809708e-005, 0.933500469, 0.358406246) | |
551 | p5.CanCollide = false | |
552 | p5.Locked = true | |
553 | p5.Elasticity = 0 | |
554 | p5.BottomSurface = Enum.SurfaceType.Smooth | |
555 | p5.TopSurface = Enum.SurfaceType.Smooth | |
556 | b5 = Instance.new("SpecialMesh", p5) | |
557 | b5.MeshType = Enum.MeshType.Wedge | |
558 | b5.Name = "Mesh" | |
559 | b5.Scale = Vector3.new(0.400000006, 0.600000024, 0.699999928) | |
560 | p6 = Instance.new("Part", m) | |
561 | p6.Name = "Handle" | |
562 | p6.BrickColor = BrickColor.new("Dark blue") | |
563 | p6.Material = "Neon" | |
564 | p6.FormFactor = Enum.FormFactor.Custom | |
565 | p6.Size = Vector3.new(1.5999999, 13.6000004, 1) | |
566 | p6.CFrame = CFrame.new(67.5017471, 11.2780685, 66.1421967, -1.18190947e-005, 6.28741009e-006, 0.999972522, 0.99995929, -1.39772892e-005, -7.50630716e-006, -1.79708004e-005, 0.999939024, 1.01296728e-005) | |
567 | p6.CanCollide = false | |
568 | p6.Locked = true | |
569 | p6.Elasticity = 0 | |
570 | p6.BottomSurface = Enum.SurfaceType.Smooth | |
571 | p6.TopSurface = Enum.SurfaceType.Smooth | |
572 | b6 = Instance.new("BlockMesh", p6) | |
573 | b6.Name = "Mesh" | |
574 | b6.Scale = Vector3.new(0.400000006, 1, 0.400000006) | |
575 | p7 = Instance.new("Part", m) | |
576 | p7.BrickColor = BrickColor.new("Black metallic") | |
577 | p7.FormFactor = Enum.FormFactor.Custom | |
578 | p7.Size = Vector3.new(1, 1.00999999, 1.05000019) | |
579 | p7.CFrame = CFrame.new(67.5174179, 10.5228004, 76.3114471, 0.999972522, -2.76626724e-005, -6.72184569e-006, -4.7347472e-005, -0.91489929, -0.403581172, 2.14323372e-005, 0.403602213, -0.914867818) | |
580 | p7.CanCollide = false | |
581 | p7.Locked = true | |
582 | p7.Elasticity = 0 | |
583 | p7.BottomSurface = Enum.SurfaceType.Smooth | |
584 | p7.TopSurface = Enum.SurfaceType.Smooth | |
585 | b7 = Instance.new("SpecialMesh", p7) | |
586 | b7.MeshType = Enum.MeshType.Wedge | |
587 | b7.Name = "Mesh" | |
588 | b7.Scale = Vector3.new(0.300000012, 0.600000024, 0.699999988) | |
589 | p8 = Instance.new("Part", m) | |
590 | p8.BrickColor = BrickColor.new("Black metallic") | |
591 | p8.FormFactor = Enum.FormFactor.Custom | |
592 | p8.Size = Vector3.new(1, 1.00999999, 1.05000019) | |
593 | p8.CFrame = CFrame.new(67.5074387, 8.51285458, 76.8714371, 0.999972522, -2.76626724e-005, -6.72184387e-006, -4.73474684e-005, -0.91489917, -0.403581113, 2.14323354e-005, 0.403602153, -0.914867699) | |
594 | p8.CanCollide = false | |
595 | p8.Locked = true | |
596 | p8.Elasticity = 0 | |
597 | p8.BottomSurface = Enum.SurfaceType.Smooth | |
598 | p8.TopSurface = Enum.SurfaceType.Smooth | |
599 | b8 = Instance.new("SpecialMesh", p8) | |
600 | b8.MeshType = Enum.MeshType.Wedge | |
601 | b8.Name = "Mesh" | |
602 | b8.Scale = Vector3.new(0.300000012, 0.600000024, 0.699999988) | |
603 | p9 = Instance.new("Part", m) | |
604 | p9.BrickColor = BrickColor.new("Dark blue") | |
605 | p9.Material = "Neon" | |
606 | p9.FormFactor = Enum.FormFactor.Custom | |
607 | p9.Size = Vector3.new(1, 1.07999957, 1) | |
608 | p9.CFrame = CFrame.new(67.5095749, 7.1092, 74.5051422, -2.60536999e-005, -5.21559741e-006, 0.999972522, 0.35323599, -0.935490847, -1.50012565e-005, 0.935460567, 0.353258699, 4.2632455e-005) | |
609 | p9.CanCollide = false | |
610 | p9.Locked = true | |
611 | p9.Elasticity = 0 | |
612 | p9.BottomSurface = Enum.SurfaceType.Smooth | |
613 | p9.TopSurface = Enum.SurfaceType.Smooth | |
614 | b9 = Instance.new("BlockMesh", p9) | |
615 | b9.Name = "Mesh" | |
616 | b9.Scale = Vector3.new(0.550000012, 1, 0.550000012) | |
617 | p10 = Instance.new("Part", m) | |
618 | p10.BrickColor = BrickColor.new("Dark blue") | |
619 | p10.Material = "Neon" | |
620 | p10.FormFactor = Enum.FormFactor.Custom | |
621 | p10.Size = Vector3.new(1, 1.41999948, 1) | |
622 | p10.CFrame = CFrame.new(67.489624, 8.67401791, 72.7929764, -9.47785156e-006, -9.42233055e-006, 0.999972522, 0.292371064, 0.956263304, -7.54374832e-006, -0.956253231, 0.292334616, 1.01081387e-005) | |
623 | p10.CanCollide = false | |
624 | p10.Locked = true | |
625 | p10.Elasticity = 0 | |
626 | p10.BottomSurface = Enum.SurfaceType.Smooth | |
627 | p10.TopSurface = Enum.SurfaceType.Smooth | |
628 | b10 = Instance.new("BlockMesh", p10) | |
629 | b10.Name = "Mesh" | |
630 | b10.Scale = Vector3.new(0.400000006, 1, 0.400000006) | |
631 | p11 = Instance.new("Part", m) | |
632 | p11.BrickColor = BrickColor.new("Dark blue") | |
633 | p11.Material = "Neon" | |
634 | p11.FormFactor = Enum.FormFactor.Custom | |
635 | p11.Size = Vector3.new(1, 1.50999951, 1) | |
636 | p11.CFrame = CFrame.new(67.509552, 7.11887455, 70.3475952, -1.87569385e-005, 1.80455972e-005, 0.999972522, -0.36222899, -0.932047009, -9.30004444e-006, 0.932039678, -0.362191886, 4.04359016e-005) | |
637 | p11.CanCollide = false | |
638 | p11.Locked = true | |
639 | p11.Elasticity = 0 | |
640 | p11.BottomSurface = Enum.SurfaceType.Smooth | |
641 | p11.TopSurface = Enum.SurfaceType.Smooth | |
642 | b11 = Instance.new("BlockMesh", p11) | |
643 | b11.Name = "Mesh" | |
644 | b11.Scale = Vector3.new(0.550000012, 1, 0.550000012) | |
645 | p12 = Instance.new("Part", m) | |
646 | p12.Name = "BladeCenter" | |
647 | p12.BrickColor = BrickColor.new("Really black") | |
648 | p12.Material = "Pebble" | |
649 | p12.FormFactor = Enum.FormFactor.Symmetric | |
650 | p12.Size = Vector3.new(1, 2, 2) | |
651 | p12.CFrame = CFrame.new(67.4995346, 6.83217764, 72.2514038, -0.999972522, 2.42275873e-005, 0.000103325896, -8.39982677e-005, 4.44650614e-005, -0.999960959, -4.06451727e-005, -0.999940753, -1.25430051e-005) | |
652 | p12.CanCollide = false | |
653 | p12.Locked = true | |
654 | p12.BottomSurface = Enum.SurfaceType.Smooth | |
655 | p12.TopSurface = Enum.SurfaceType.Smooth | |
656 | b12 = Instance.new("SpecialMesh", p12) | |
657 | b12.MeshType = Enum.MeshType.Brick | |
658 | b12.Name = "Mesh" | |
659 | b12.Scale = Vector3.new(0.499999911, 1, 0.699999928) | |
660 | p13 = Instance.new("Part", m) | |
661 | p13.BrickColor = BrickColor.new("Dark blue") | |
662 | p13.Material = "Neon" | |
663 | p13.FormFactor = Enum.FormFactor.Custom | |
664 | p13.Size = Vector3.new(2.91000009, 4.3300004, 1) | |
665 | p13.CFrame = CFrame.new(67.5096359, 9.31026554, 73.9751816, 7.60371313e-006, 1.0943455e-005, 0.999972522, -0.119072244, -0.99284631, -7.55448127e-006, 0.992830038, -0.119038157, 1.01703836e-005) | |
666 | p13.CanCollide = false | |
667 | p13.Locked = true | |
668 | p13.Elasticity = 0 | |
669 | p13.BottomSurface = Enum.SurfaceType.Smooth | |
670 | p13.TopSurface = Enum.SurfaceType.Smooth | |
671 | b13 = Instance.new("BlockMesh", p13) | |
672 | b13.Name = "Mesh" | |
673 | b13.Scale = Vector3.new(1, 1, 0.400000006) | |
674 | p14 = Instance.new("Part", m) | |
675 | p14.BrickColor = BrickColor.new("Dark blue") | |
676 | p14.Material = "Neon" | |
677 | p14.FormFactor = Enum.FormFactor.Custom | |
678 | p14.Size = Vector3.new(2.5, 2.17999935, 1) | |
679 | p14.CFrame = CFrame.new(67.4896011, 10.1621294, 72.6420059, -1.55498967e-007, -1.33476442e-005, 0.999972522, -0.462319613, 0.886669755, -7.56198779e-006, -0.886637092, -0.462338567, 1.01078904e-005) | |
680 | p14.CanCollide = false | |
681 | p14.Locked = true | |
682 | p14.Elasticity = 0 | |
683 | p14.BottomSurface = Enum.SurfaceType.Smooth | |
684 | p14.TopSurface = Enum.SurfaceType.Smooth | |
685 | b14 = Instance.new("BlockMesh", p14) | |
686 | b14.Name = "Mesh" | |
687 | b14.Scale = Vector3.new(0.400000006, 1, 0.400000006) | |
688 | p15 = Instance.new("Part", m) | |
689 | p15.BrickColor = BrickColor.new("Dark blue") | |
690 | p15.Material = "Neon" | |
691 | p15.FormFactor = Enum.FormFactor.Custom | |
692 | p15.Size = Vector3.new(1.16999996, 4.2699995, 1) | |
693 | p15.CFrame = CFrame.new(67.5095901, 9.35303593, 70.6884613, -1.24399676e-005, -4.94209144e-006, 0.999972522, 0.645082474, 0.764063478, -7.52419282e-006, -0.764068604, 0.645045042, 1.0099785e-005) | |
694 | p15.CanCollide = false | |
695 | p15.Locked = true | |
696 | p15.Elasticity = 0 | |
697 | p15.BottomSurface = Enum.SurfaceType.Smooth | |
698 | p15.TopSurface = Enum.SurfaceType.Smooth | |
699 | b15 = Instance.new("BlockMesh", p15) | |
700 | b15.Name = "Mesh" | |
701 | b15.Scale = Vector3.new(1, 1, 0.400000006) | |
702 | p16 = Instance.new("Part", m) | |
703 | p16.BrickColor = BrickColor.new("Dark blue") | |
704 | p16.Material = "Neon" | |
705 | p16.FormFactor = Enum.FormFactor.Custom | |
706 | p16.Size = Vector3.new(1.68999994, 4.76000023, 1) | |
707 | p16.CFrame = CFrame.new(67.4996033, 9.63990211, 75.3800278, 2.98175655e-006, 1.30014914e-005, 0.999972522, 0.258795738, -0.965893507, -7.53869244e-006, 0.965865672, 0.258821338, 1.01718706e-005) | |
708 | p16.CanCollide = false | |
709 | p16.Locked = true | |
710 | p16.Elasticity = 0 | |
711 | p16.BottomSurface = Enum.SurfaceType.Smooth | |
712 | p16.TopSurface = Enum.SurfaceType.Smooth | |
713 | b16 = Instance.new("BlockMesh", p16) | |
714 | b16.Name = "Mesh" | |
715 | b16.Scale = Vector3.new(1, 1, 0.400000006) | |
716 | p17 = Instance.new("Part", m) | |
717 | p17.BrickColor = BrickColor.new("Dark blue") | |
718 | p17.Material = "Neon" | |
719 | p17.FormFactor = Enum.FormFactor.Custom | |
720 | p17.Size = Vector3.new(1.78999996, 4.21999979, 1) | |
721 | p17.CFrame = CFrame.new(67.499588, 9.28996372, 69.8789978, -9.50601952e-006, -9.41252802e-006, 0.999972522, 0.293352425, 0.955965877, -7.53842551e-006, -0.955955863, 0.293315947, 1.00904235e-005) | |
722 | p17.CanCollide = false | |
723 | p17.Locked = true | |
724 | p17.Elasticity = 0 | |
725 | p17.BottomSurface = Enum.SurfaceType.Smooth | |
726 | p17.TopSurface = Enum.SurfaceType.Smooth | |
727 | b17 = Instance.new("BlockMesh", p17) | |
728 | b17.Name = "Mesh" | |
729 | b17.Scale = Vector3.new(1, 1, 0.400000006) | |
730 | p18 = Instance.new("WedgePart", m) | |
731 | p18.BrickColor = BrickColor.new("Really black") | |
732 | p18.Name = "BladePart1" | |
733 | p18.Material = "Pebble" | |
734 | p18.Name = "Wedge" | |
735 | p18.FormFactor = Enum.FormFactor.Symmetric | |
736 | p18.Size = Vector3.new(1, 4, 2) | |
737 | p18.CFrame = CFrame.new(67.499321, 6.83199787, 69.4816895, 0.999972522, -3.68033288e-005, -4.22928351e-005, 2.29664256e-005, -1.65102574e-005, 0.999963701, -2.03872096e-005, -0.999943435, -4.84290831e-005) | |
738 | p18.CanCollide = false | |
739 | p18.Locked = true | |
740 | p18.BottomSurface = Enum.SurfaceType.Smooth | |
741 | p18.TopSurface = Enum.SurfaceType.Smooth | |
742 | b18 = Instance.new("SpecialMesh", p18) | |
743 | b18.MeshType = Enum.MeshType.Wedge | |
744 | b18.Name = "Mesh" | |
745 | b18.Scale = Vector3.new(0.499999911, 0.899999976, 0.699999928) | |
746 | p19 = Instance.new("WedgePart", m) | |
747 | p19.BrickColor = BrickColor.new("Really black") | |
748 | p19.Name = "BladePart2" | |
749 | p19.Material = "Pebble" | |
750 | p19.Name = "Wedge" | |
751 | p19.FormFactor = Enum.FormFactor.Symmetric | |
752 | p19.Size = Vector3.new(1, 4, 2) | |
753 | p19.CFrame = CFrame.new(67.4994736, 6.83213568, 75.0314102, -0.999972522, 3.68059118e-005, -0.000103325001, -8.40002976e-005, -4.4521752e-005, 0.999963701, 2.03864402e-005, 0.999943435, 1.26029336e-005) | |
754 | p19.CanCollide = false | |
755 | p19.Locked = true | |
756 | p19.BottomSurface = Enum.SurfaceType.Smooth | |
757 | p19.TopSurface = Enum.SurfaceType.Smooth | |
758 | b19 = Instance.new("SpecialMesh", p19) | |
759 | b19.MeshType = Enum.MeshType.Wedge | |
760 | b19.Name = "Mesh" | |
761 | b19.Scale = Vector3.new(0.499999911, 0.899999976, 0.699999928) | |
762 | p20 = Instance.new("Part", m) | |
763 | p20.BrickColor = BrickColor.new("Dark blue") | |
764 | p20.Material = "Neon" | |
765 | p20.FormFactor = Enum.FormFactor.Custom | |
766 | p20.Size = Vector3.new(2.53000021, 2.39999938, 1) | |
767 | p20.CFrame = CFrame.new(67.4996414, 7.91898966, 71.4148178, -1.09432585e-005, 7.6432425e-006, 0.999972522, 0.992849231, -0.119072601, -7.55000656e-006, 0.119038492, 0.992832959, 1.01311334e-005) | |
768 | p20.CanCollide = false | |
769 | p20.Locked = true | |
770 | p20.Elasticity = 0 | |
771 | p20.BottomSurface = Enum.SurfaceType.Smooth | |
772 | p20.TopSurface = Enum.SurfaceType.Smooth | |
773 | b20 = Instance.new("BlockMesh", p20) | |
774 | b20.Name = "Mesh" | |
775 | b20.Scale = Vector3.new(0.400000006, 1, 0.400000006) | |
776 | p21 = Instance.new("Part", m) | |
777 | p21.BrickColor = BrickColor.new("Black metallic") | |
778 | p21.FormFactor = Enum.FormFactor.Custom | |
779 | p21.Size = Vector3.new(1, 1.43999994, 1.59000015) | |
780 | p21.CFrame = CFrame.new(67.509613, 9.57073689, 76.6228256, 0.999972522, -2.50856156e-005, -1.53699839e-005, -4.86196222e-005, -0.800835371, -0.598824739, 1.91311228e-005, 0.59883821, -0.800800025) | |
781 | p21.CanCollide = false | |
782 | p21.Locked = true | |
783 | p21.Elasticity = 0 | |
784 | p21.BottomSurface = Enum.SurfaceType.Smooth | |
785 | p21.TopSurface = Enum.SurfaceType.Smooth | |
786 | b21 = Instance.new("SpecialMesh", p21) | |
787 | b21.MeshType = Enum.MeshType.Wedge | |
788 | b21.Name = "Mesh" | |
789 | b21.Scale = Vector3.new(0.300000012, 0.600000024, 0.699999988) | |
790 | w1 = Instance.new("Weld", p1) | |
791 | w1.Name = "Part_Weld" | |
792 | w1.Part0 = p1 | |
793 | w1.C0 = CFrame.new(-67.5030899, -72.5280457, -14.8209743, 1, -6.37466928e-006, 4.26825172e-005, -3.75621021e-005, 0.358411252, 0.933563769, -2.12490559e-005, -0.933563769, 0.358411252) | |
794 | w1.Part1 = p2 | |
795 | w1.C1 = CFrame.new(9.14727688, -74.5847855, -67.5001221, -4.37113883e-008, 0.961261749, -0.27563718, 0, 0.27563718, 0.961261749, 1, 4.20180868e-008, -1.2048484e-008) | |
796 | w2 = Instance.new("Weld", p2) | |
797 | w2.Name = "Part_Weld" | |
798 | w2.Part0 = p2 | |
799 | w2.C0 = CFrame.new(9.14727688, -74.5847855, -67.5001221, -4.37113883e-008, 0.961261749, -0.27563718, 0, 0.27563718, 0.961261749, 1, 4.20180868e-008, -1.2048484e-008) | |
800 | w2.Part1 = p3 | |
801 | w2.C1 = CFrame.new(-67.5030823, -74.2541809, -10.8368053, 1, -8.59976626e-006, 4.22903977e-005, -3.75621021e-005, 0.30906105, 0.951042175, -2.12490559e-005, -0.951042175, 0.30906105) | |
802 | w3 = Instance.new("Weld", p3) | |
803 | w3.Name = "Part_Weld" | |
804 | w3.Part0 = p3 | |
805 | w3.C0 = CFrame.new(-67.5030823, -74.2541809, -10.8368053, 1, -8.59976626e-006, 4.22903977e-005, -3.75621021e-005, 0.30906105, 0.951042175, -2.12490559e-005, -0.951042175, 0.30906105) | |
806 | w3.Part1 = p4 | |
807 | w3.C1 = CFrame.new(-67.5002975, -36.1002579, 68.1035233, 1, -4.10709617e-005, 9.00123541e-006, -3.82823673e-005, -0.800855637, 0.598857403, -1.73869594e-005, -0.598857403, -0.800855637) | |
808 | w4 = Instance.new("Weld", p4) | |
809 | w4.Name = "Part_Weld" | |
810 | w4.Part0 = p4 | |
811 | w4.C0 = CFrame.new(-67.5002975, -36.1002579, 68.1035233, 1, -4.10709617e-005, 9.00123541e-006, -3.82823673e-005, -0.800855637, 0.598857403, -1.73869594e-005, -0.598857403, -0.800855637) | |
812 | w4.Part1 = p5 | |
813 | w4.C1 = CFrame.new(-67.5031891, -74.611969, -14.457736, 1, -6.37466928e-006, 4.26825172e-005, -3.75621021e-005, 0.358411252, 0.933563769, -2.12490559e-005, -0.933563769, 0.358411252) | |
814 | w5 = Instance.new("Weld", p5) | |
815 | w5.Name = "Part_Weld" | |
816 | w5.Part0 = p5 | |
817 | w5.C0 = CFrame.new(-67.5031891, -74.611969, -14.457736, 1, -6.37466928e-006, 4.26825172e-005, -3.75621021e-005, 0.358411252, 0.933563769, -2.12490559e-005, -0.933563769, 0.358411252) | |
818 | w5.Part1 = p6 | |
819 | w5.C1 = CFrame.new(-11.2799978, -66.1456223, -67.5023346, -4.37113883e-008, 1, 4.37113883e-008, 0, -4.37113883e-008, 1, 1, 4.37113883e-008, 1.91068547e-015) | |
820 | w6 = Instance.new("Weld", p6) | |
821 | w6.Name = "Part_Weld" | |
822 | w6.Part0 = p6 | |
823 | w6.C0 = CFrame.new(-11.2799978, -66.1456223, -67.5023346, -4.37113883e-008, 1, 4.37113883e-008, 0, -4.37113883e-008, 1, 1, 4.37113883e-008, 1.91068547e-015) | |
824 | w6.Part1 = p7 | |
825 | w6.C1 = CFrame.new(-67.5183792, -21.1694489, 74.0717163, 1, -3.97989206e-005, 1.13026372e-005, -4.09751265e-005, -0.91493088, 0.403610349, -5.72212457e-006, -0.403610349, -0.91493088) | |
826 | w7 = Instance.new("Weld", p7) | |
827 | w7.Name = "Part_Weld" | |
828 | w7.Part0 = p7 | |
829 | w7.C0 = CFrame.new(-67.5183792, -21.1694489, 74.0717163, 1, -3.97989206e-005, 1.13026372e-005, -4.09751265e-005, -0.91493088, 0.403610349, -5.72212457e-006, -0.403610349, -0.91493088) | |
830 | w7.Part1 = p8 | |
831 | w7.C1 = CFrame.new(-67.508461, -23.234499, 73.7728119, 1, -3.97989206e-005, 1.13026372e-005, -4.09751265e-005, -0.91493088, 0.403610349, -5.72212457e-006, -0.403610349, -0.91493088) | |
832 | w8 = Instance.new("Weld", p8) | |
833 | w8.Name = "Part_Weld" | |
834 | w8.Part0 = p8 | |
835 | w8.C0 = CFrame.new(-67.508461, -23.234499, 73.7728119, 1, -3.97989206e-005, 1.13026372e-005, -4.09751265e-005, -0.91493088, 0.403610349, -5.72212457e-006, -0.403610349, -0.91493088) | |
836 | w8.Part1 = p9 | |
837 | w8.C1 = CFrame.new(-72.2151413, -19.6674671, -67.5124359, -2.77766703e-005, 0.353263557, 0.935524285, -1.84533783e-005, -0.935524285, 0.353263557, 1, -7.4510931e-006, 3.25046385e-005) | |
838 | w9 = Instance.new("Weld", p9) | |
839 | w9.Name = "Part_Weld" | |
840 | w9.Part0 = p9 | |
841 | w9.C0 = CFrame.new(-72.2151413, -19.6674671, -67.5124359, -2.77766703e-005, 0.353263557, 0.935524285, -1.84533783e-005, -0.935524285, 0.353263557, 1, -7.4510931e-006, 3.25046385e-005) | |
842 | w9.Part1 = p10 | |
843 | w9.C1 = CFrame.new(67.0792923, -29.5803547, -67.4901428, -2.24114753e-008, 0.292369425, -0.956305802, 3.04095332e-010, 0.956305802, 0.292369425, 1, 6.26159258e-009, -2.15211493e-008) | |
844 | w10 = Instance.new("Weld", p10) | |
845 | w10.Name = "Part_Weld" | |
846 | w10.Part0 = p10 | |
847 | w10.C0 = CFrame.new(67.0792923, -29.5803547, -67.4901428, -2.24114753e-008, 0.292369425, -0.956305802, 3.04095332e-010, 0.956305802, 0.292369425, 1, 6.26159258e-009, -2.15211493e-008) | |
848 | w10.Part1 = p11 | |
849 | w10.C1 = CFrame.new(-62.9921722, 32.1197624, -67.5121918, -2.88835581e-005, -0.362230271, 0.932088912, 9.3476192e-006, -0.932088912, -0.362230271, 1, -1.74967965e-006, 3.03080251e-005) | |
850 | w11 = Instance.new("Weld", p11) | |
851 | w11.Name = "Part_Weld" | |
852 | w11.Part0 = p11 | |
853 | w11.C0 = CFrame.new(-62.9921722, 32.1197624, -67.5121918, -2.88835581e-005, -0.362230271, 0.932088912, 9.3476192e-006, -0.932088912, -0.362230271, 1, -1.74967965e-006, 3.03080251e-005) | |
854 | w11.Part1 = p12 | |
855 | w11.C1 = CFrame.new(67.5028763, 72.2527161, 6.8300252, -1, -9.15522687e-005, -3.05189751e-005, 3.05161811e-005, 3.05189751e-005, -1, 9.15532e-005, -1, -3.05161811e-005) | |
856 | w12 = Instance.new("Weld", p12) | |
857 | w12.Name = "Part_Weld" | |
858 | w12.Part0 = p12 | |
859 | w12.C0 = CFrame.new(67.5028763, 72.2527161, 6.8300252, -1, -9.15522687e-005, -3.05189751e-005, 3.05161811e-005, 3.05189751e-005, -1, 9.15532e-005, -1, -3.05161811e-005) | |
860 | w12.Part1 = p13 | |
861 | w12.C1 = CFrame.new(-72.3439255, 18.054121, -67.5101624, -4.09776035e-008, -0.11906305, 0.992886722, 4.05430745e-010, -0.992886722, -0.11906305, 1, -4.47637571e-009, 4.0734399e-008) | |
862 | w13 = Instance.new("Weld", p13) | |
863 | w13.Name = "Part_Weld" | |
864 | w13.Part0 = p13 | |
865 | w13.C0 = CFrame.new(-72.3439255, 18.054121, -67.5101624, -4.09776035e-008, -0.11906305, 0.992886722, 4.05430745e-010, -0.992886722, -0.11906305, 1, -4.47637571e-009, 4.0734399e-008) | |
866 | w13.Part1 = p14 | |
867 | w13.C1 = CFrame.new(69.1140671, 24.5752277, -67.4901428, -2.4837334e-008, -0.462350011, -0.886697888, 5.64353009e-010, 0.886697888, -0.462350011, 1, -1.19839818e-008, -2.17623022e-008) | |
868 | w14 = Instance.new("Weld", p14) | |
869 | w14.Name = "Part_Weld" | |
870 | w14.Part0 = p14 | |
871 | w14.C0 = CFrame.new(69.1140671, 24.5752277, -67.4901428, -2.4837334e-008, -0.462350011, -0.886697888, 5.64353009e-010, 0.886697888, -0.462350011, 1, -1.19839818e-008, -2.17623022e-008) | |
872 | w14.Part1 = p15 | |
873 | w14.C1 = CFrame.new(47.9809418, -52.7511749, -67.5101318, -3.94735267e-008, 0.64509654, -0.764101744, -4.55740418e-010, 0.764101744, 0.64509654, 1, 2.58124242e-008, -2.98677882e-008) | |
874 | w15 = Instance.new("Weld", p15) | |
875 | w15.Name = "Part_Weld" | |
876 | w15.Part0 = p15 | |
877 | w15.C0 = CFrame.new(47.9809418, -52.7511749, -67.5101318, -3.94735267e-008, 0.64509654, -0.764101744, -4.55740418e-010, 0.764101744, 0.64509654, 1, 2.58124242e-008, -2.98677882e-008) | |
878 | w15.Part1 = p16 | |
879 | w15.C1 = CFrame.new(-75.3105469, -10.1974039, -67.5001221, -4.37113883e-008, 0.258818924, 0.965925872, 0, -0.965925872, 0.258818924, 1, 1.13133343e-008, 4.22219593e-008) | |
880 | w16 = Instance.new("Weld", p16) | |
881 | w16.Name = "Part_Weld" | |
882 | w16.Part0 = p16 | |
883 | w16.C0 = CFrame.new(-75.3105469, -10.1974039, -67.5001221, -4.37113883e-008, 0.258818924, 0.965925872, 0, -0.965925872, 0.258818924, 1, 1.13133343e-008, 4.22219593e-008) | |
884 | w16.Part1 = p17 | |
885 | w16.C1 = CFrame.new(64.0820847, -29.3829937, -67.5001373, -4.09009289e-008, 0.293349952, -0.956005633, 4.38312497e-010, 0.956005633, 0.293349952, 1, 1.15792238e-008, -3.92300876e-008) | |
886 | w17 = Instance.new("Weld", p17) | |
887 | w17.Name = "Wedge_Weld" | |
888 | w17.Part0 = p17 | |
889 | w17.C0 = CFrame.new(64.0820847, -29.3829937, -67.5001373, -4.09009289e-008, 0.293349952, -0.956005633, 4.38312497e-010, 0.956005633, 0.293349952, 1, 1.15792238e-008, -3.92300876e-008) | |
890 | w17.Part1 = p18 | |
891 | w17.C1 = CFrame.new(-67.4979324, 69.4871521, -6.82958078, 1, 3.05171125e-005, -3.05180438e-005, -3.05171125e-005, -3.05180438e-005, -1, -3.05180438e-005, 1, -3.05171125e-005) | |
892 | w18 = Instance.new("Weld", p18) | |
893 | w18.Name = "Wedge_Weld" | |
894 | w18.Part0 = p18 | |
895 | w18.C0 = CFrame.new(-67.4979324, 69.4871521, -6.82958078, 1, 3.05171125e-005, -3.05180438e-005, -3.05171125e-005, -3.05180438e-005, -1, -3.05180438e-005, 1, -3.05171125e-005) | |
896 | w18.Part1 = p19 | |
897 | w18.C1 = CFrame.new(67.4982986, -75.0367737, -6.83008671, -1, -9.15532e-005, 3.05161811e-005, 3.05189751e-005, -3.05161811e-005, 1, -9.15522687e-005, 1, 3.05189751e-005) | |
898 | w19 = Instance.new("Weld", p19) | |
899 | w19.Name = "Part_Weld" | |
900 | w19.Part0 = p19 | |
901 | w19.C0 = CFrame.new(67.4982986, -75.0367737, -6.83008671, -1, -9.15532e-005, 3.05161811e-005, 3.05189751e-005, -3.05161811e-005, 1, -9.15522687e-005, 1, 3.05189751e-005) | |
902 | w19.Part1 = p20 | |
903 | w19.C1 = CFrame.new(-16.3677292, -69.9670334, -67.5001678, -1.77821063e-010, 0.992886961, 0.119063012, -1.46926671e-009, -0.119063012, 0.992886961, 1, 1.59595731e-012, 1.47997492e-009) | |
904 | w20 = Instance.new("Weld", p20) | |
905 | w20.Name = "Part_Weld" | |
906 | w20.Part0 = p20 | |
907 | w20.C0 = CFrame.new(-16.3677292, -69.9670334, -67.5001678, -1.77821063e-010, 0.992886961, 0.119063012, -1.46926671e-009, -0.119063012, 0.992886961, 1, 1.59595731e-012, 1.47997492e-009) | |
908 | w20.Part1 = p21 | |
909 | w20.C1 = CFrame.new(-67.5104218, -38.2193756, 67.100563, 1, -4.10709617e-005, 9.00123541e-006, -3.82823673e-005, -0.800855637, 0.598857403, -1.73869594e-005, -0.598857403, -0.800855637) | |
910 | m.Parent = char | |
911 | m:MakeJoints() | |
912 | ---------------------------------------------------- | |
913 | local cor = Instance.new("Part", char.Absolution) | |
914 | cor.Name = "Thingy" | |
915 | cor.Locked = true | |
916 | cor.BottomSurface = 0 | |
917 | cor.CanCollide = false | |
918 | cor.Size = Vector3.new(1, 13, 1) | |
919 | cor.Transparency = 1 | |
920 | cor.TopSurface = 0 | |
921 | corw = Instance.new("Weld", cor) | |
922 | corw.Part0 = rarm | |
923 | corw.Part1 = cor | |
924 | corw.C0 = CFrame.new(0, -1, -1.1) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0)) | |
925 | corw.C1 = CFrame.new(0, 0, 0) | |
926 | weld1 = Instance.new("Weld", char.Absolution) | |
927 | weld1.Part0 = cor | |
928 | weld1.Part1 = p6 | |
929 | weld1.C0 = CFrame.new(0, 0, 0) | |
930 | ---------------------------------------------------- | |
931 | hitb = Instance.new("Part", char.Absolution) | |
932 | hitb.Name = "Thingy2" | |
933 | hitb.Locked = true | |
934 | hitb.BottomSurface = 0 | |
935 | hitb.CanCollide = false | |
936 | hitb.Size = Vector3.new(0, 8, 6) | |
937 | hitb.Transparency = 1 | |
938 | hitb.TopSurface = 0 | |
939 | weld2 = Instance.new("Weld", char.Absolution) | |
940 | weld2.Part0 = hitb | |
941 | weld2.Part1 = p12 | |
942 | weld2.C0 = CFrame.new(0, .6, 1) | |
943 | ---------------------------------------------------- | |
944 | local m = Instance.new("Model") | |
945 | m.Name = "Claw" | |
946 | m.Parent = char | |
947 | ||
948 | ---------------------------------------------------- | |
949 | ||
950 | local cor2 = Instance.new("Part", char.Claw) | |
951 | cor2.Name = "Thingy" | |
952 | cor2.Locked = true | |
953 | cor2.BottomSurface = 0 | |
954 | cor2.CanCollide = false | |
955 | cor2.Size = Vector3.new(2, 2, 2) | |
956 | cor2.Transparency = 1 | |
957 | cor2.TopSurface = 0 | |
958 | corw2 = Instance.new("Weld", cor2) | |
959 | corw2.Part0 = larm | |
960 | corw2.Part1 = cor2 | |
961 | corw2.C0 = CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(0), math.rad(180), math.rad(90)) | |
962 | corw2.C1 = CFrame.new(0, 0, 0) | |
963 | weld2 = Instance.new("Weld", char.Claw) | |
964 | weld2.Part0 = cor2 | |
965 | weld2.Part1 = larm | |
966 | weld2.C0 = CFrame.new(0, 0, 0) | |
967 | ---------------------------------------------------- | |
968 | function weld5(part0, part1, c0, c1) | |
969 | weeld=Instance.new("Weld", part0) | |
970 | weeld.Part0=part0 | |
971 | weeld.Part1=part1 | |
972 | weeld.C0=c0 | |
973 | weeld.C1=c1 | |
974 | return weeld | |
975 | end | |
976 | ---------------------------------------------------- | |
977 | function newRay(start,face,range,wat) | |
978 | local rey=Ray.new(start.p,(face.p-start.p).Unit*range) | |
979 | hit,pos=workspace:FindPartOnRayWithIgnoreList(rey,wat) | |
980 | return rey,hit,pos | |
981 | end | |
982 | ---------------------------------------------------- | |
983 | mod5 = Instance.new("Model",char) | |
984 | ||
985 | ||
986 | local TextEvent = Instance.new("RemoteEvent") | |
987 | TextEvent.Parent = char | |
988 | TextEvent.Name = "TextEvent" | |
989 | ||
990 | local TextTable = {} | |
991 | ||
992 | function AdvanceText() | |
993 | for i, v in pairs(TextTable) do | |
994 | if v~= nil then | |
995 | if v.StudsOffset.Y >=5 then | |
996 | v.Time.Counter.Value = v.Time.Counter.Value+0.1 | |
997 | if v.Time.Counter.Value >= v.Time.Value then | |
998 | v.WHYYYYYYYY.TextTransparency = v.WHYYYYYYYY.TextTransparency+0.15 | |
999 | v.WHYYYYYYYY.TextStrokeTransparency = v.WHYYYYYYYY.TextStrokeTransparency+0.15 | |
1000 | if v.WHYYYYYYYY.TextTransparency >= 1 then | |
1001 | debServ:AddItem(v.Parent,1) | |
1002 | table.remove(TextTable, i) | |
1003 | end | |
1004 | end | |
1005 | else | |
1006 | v.StudsOffset = Vector3.new(0,v.StudsOffset.Y+0.15, 0) | |
1007 | end | |
1008 | end | |
1009 | end | |
1010 | end | |
1011 | ||
1012 | rs:connect(function() | |
1013 | AdvanceText() | |
1014 | end) | |
1015 | ||
1016 | function MakeText(text, font, duration, tcr, tcg, tcb, scr, scg, scb, cFrame) | |
1017 | local tpart = Instance.new("Part") | |
1018 | tpart.Parent = char | |
1019 | tpart.Transparency = 1 | |
1020 | tpart.Name = "hoi hoi" | |
1021 | tpart.Anchored = true | |
1022 | tpart.CanCollide = false | |
1023 | tpart.Locked = true | |
1024 | tpart.Size = Vector3.new(.2,.2,.2) | |
1025 | tpart.CFrame = cFrame*CFrame.new(math.random(-3,3),0,math.random(-3,3)) | |
1026 | local bill = Instance.new("BillboardGui") | |
1027 | bill.Parent = tpart | |
1028 | bill.AlwaysOnTop = true | |
1029 | bill.Name = "HUHHHHHNAAAA" | |
1030 | bill.Size = UDim2.new(4, 0, 4, 0) | |
1031 | bill.StudsOffset = Vector3.new(0, 1, 0) | |
1032 | local tem = Instance.new("NumberValue", bill) | |
1033 | tem.Value = duration | |
1034 | tem.Name = "Time" | |
1035 | local counter = Instance.new("NumberValue", tem) | |
1036 | counter.Value = 0 | |
1037 | counter.Name = "Counter" | |
1038 | local textl = Instance.new("TextLabel") | |
1039 | textl.Parent = bill | |
1040 | textl.Name = "WHYYYYYYYY" | |
1041 | textl.BackgroundTransparency = 1 | |
1042 | textl.Size = UDim2.new(1, 0, 1, 0) | |
1043 | textl.Font = font | |
1044 | textl.Text = text | |
1045 | textl.TextColor3 = Color3.new(0/255, 0/255, 255/255) | |
1046 | textl.TextScaled = true | |
1047 | textl.TextStrokeColor3 = Color3.new(0/255, 0/255, 225/255) | |
1048 | textl.TextStrokeTransparency = 0 | |
1049 | table.insert(TextTable, bill) | |
1050 | end | |
1051 | ||
1052 | function FindNearestTorso(Position,Distance,SinglePlayer) | |
1053 | if SinglePlayer then return(SinglePlayer.Torso.CFrame.p -Position).magnitude < Distance end | |
1054 | local List = {} | |
1055 | for i,v in pairs(workspace:GetChildren())do | |
1056 | if v:IsA("Model")then | |
1057 | if v:findFirstChild("Torso")then | |
1058 | if v ~= char then | |
1059 | if(v.Torso.Position -Position).magnitude <= Distance then | |
1060 | table.insert(List,v) | |
1061 | end | |
1062 | end | |
1063 | end | |
1064 | end | |
1065 | end | |
1066 | return List | |
1067 | end | |
1068 | ||
1069 | function Landing() | |
1070 | part=Instance.new('Part',mod5) | |
1071 | part.Anchored=true | |
1072 | part.CanCollide=false | |
1073 | part.FormFactor='Custom' | |
1074 | part.Size=Vector3.new(.2,.2,.2) | |
1075 | part.CFrame=root.CFrame*CFrame.new(0,-2,0) | |
1076 | part.Transparency=.7 | |
1077 | part.BrickColor=BrickColor.new('Dark blue') | |
1078 | mesh=Instance.new('SpecialMesh',part) | |
1079 | mesh.MeshId='http://www.roblox.com/asset/?id=20329976' | |
1080 | mesh.Scale=Vector3.new(10,5,10) | |
1081 | ||
1082 | for i,v in pairs(FindNearestTorso(torso.CFrame.p,40))do | |
1083 | if v:FindFirstChild('Humanoid') then | |
1084 | v.Humanoid.PlatformStand = true | |
1085 | v:FindFirstChild("Torso").Velocity = hed.CFrame.lookVector * 300 | |
1086 | local damfam = math.random(100, 200) | |
1087 | v.Humanoid.Health = v.Humanoid.Health-damfam | |
1088 | local CF = v.HumanoidRootPart.CFrame*CFrame.new(0,2,0) | |
1089 | MakeText("-"..damfam.."", "SourceSansLight", 2, 40, 0, 60, 139, 0, 209, CF) | |
1090 | end | |
1091 | end | |
1092 | ||
1093 | coroutine.resume(coroutine.create(function() | |
1094 | for i=0,3.8,0.05 do | |
1095 | wait() | |
1096 | part.CFrame=part.CFrame | |
1097 | part.Transparency=i | |
1098 | mesh.Scale=mesh.Scale+Vector3.new(1,0.2,1) | |
1099 | end | |
1100 | part.Parent = nil | |
1101 | end)) | |
1102 | end | |
1103 | ---------------------------------------------------- | |
1104 | mod4 = Instance.new("Model",char) | |
1105 | ||
1106 | ptez = {0.7, 0.8, 0.9, 1} | |
1107 | ||
1108 | function FindNearestTorso(Position,Distance,SinglePlayer) | |
1109 | if SinglePlayer then return(SinglePlayer.Torso.CFrame.p -Position).magnitude < Distance end | |
1110 | local List = {} | |
1111 | for i,v in pairs(workspace:GetChildren())do | |
1112 | if v:IsA("Model")then | |
1113 | if v:findFirstChild("Torso")then | |
1114 | if v ~= char then | |
1115 | if(v.Torso.Position -Position).magnitude <= Distance then | |
1116 | table.insert(List,v) | |
1117 | end | |
1118 | end | |
1119 | end | |
1120 | end | |
1121 | end | |
1122 | return List | |
1123 | end | |
1124 | ||
1125 | function GroundPound() | |
1126 | chatServ:Chat(hed, "Die..", 2) | |
1127 | part=Instance.new('Part',mod4) | |
1128 | part.Anchored=true | |
1129 | part.CanCollide=false | |
1130 | part.FormFactor='Custom' | |
1131 | part.Size=Vector3.new(.2,.2,.2) | |
1132 | part.CFrame=root.CFrame*CFrame.new(0,-5.8,-2.4)*CFrame.Angles(math.rad(90),0,0) | |
1133 | part.Transparency=.7 | |
1134 | part.BrickColor=BrickColor.new('Dark blue') | |
1135 | mesh=Instance.new('SpecialMesh',part) | |
1136 | mesh.MeshId='http://www.roblox.com/asset/?id=3270017' | |
1137 | mesh.Scale=Vector3.new(3,3,3) | |
1138 | part2=Instance.new('Part',mod4) | |
1139 | part2.Anchored=true | |
1140 | part2.CanCollide=false | |
1141 | part2.FormFactor='Custom' | |
1142 | part2.Size=Vector3.new(.2,.2,.2) | |
1143 | part2.CFrame=root.CFrame*CFrame.new(0,-5,-2.6) | |
1144 | part2.Transparency=.7 | |
1145 | part2.BrickColor=BrickColor.new('Really black') | |
1146 | mesh2=Instance.new('SpecialMesh',part2) | |
1147 | mesh2.MeshId='http://www.roblox.com/asset/?id=20329976' | |
1148 | mesh2.Scale=Vector3.new(3,1.5,3) | |
1149 | x = Instance.new("Sound",char) | |
1150 | x.SoundId = "http://www.roblox.com/asset/?id=165969964" | |
1151 | x.Pitch = ptez[math.random(1,#ptez)] | |
1152 | x.Volume = 1 | |
1153 | wait(.1) | |
1154 | x:Play() | |
1155 | for i,v in pairs(FindNearestTorso(torso.CFrame.p,30))do | |
1156 | if v:FindFirstChild('Humanoid') then | |
1157 | local damfam = math.random(666, 699) | |
1158 | v.Humanoid.Health = v.Humanoid.Health-damfam | |
1159 | local CF = v.HumanoidRootPart.CFrame*CFrame.new(0,2,0) | |
1160 | MakeText("-"..damfam.."", "SourceSansLight", 2, 40, 0, 60, 139, 0, 209, CF) | |
1161 | end | |
1162 | end | |
1163 | coroutine.resume(coroutine.create(function() | |
1164 | for i=0,0.62,0.13 do | |
1165 | wait() | |
1166 | part.CFrame=part.CFrame | |
1167 | part.Transparency=i | |
1168 | mesh.Scale=mesh.Scale+Vector3.new(3.8,3.8,3.8) | |
1169 | part2.CFrame=part2.CFrame | |
1170 | part2.Transparency=i | |
1171 | mesh2.Scale=mesh2.Scale+Vector3.new(3.8,3.6,3.8) | |
1172 | end | |
1173 | part.Parent=nil | |
1174 | part2.Parent=nil | |
1175 | x:Destroy() | |
1176 | end)) | |
1177 | end | |
1178 | ---------------------------------------------------- | |
1179 | mod=Instance.new('Model',char) | |
1180 | ||
1181 | function charge() | |
1182 | hed.Velocity=char.HumanoidRootPart.CFrame.lookVector*500 | |
1183 | part=Instance.new('Part',mod) | |
1184 | part.Anchored=true | |
1185 | part.CanCollide=false | |
1186 | part.FormFactor='Custom' | |
1187 | part.Size=Vector3.new(.2,.2,.2) | |
1188 | part.CFrame=hed.CFrame*CFrame.Angles(math.rad(90),0,0) | |
1189 | part.Transparency=.7 | |
1190 | part.BrickColor=BrickColor.new('Black') | |
1191 | mesh=Instance.new('SpecialMesh',part) | |
1192 | mesh.MeshId='http://www.roblox.com/asset/?id=20329976' | |
1193 | mesh.Scale=Vector3.new(10,5,10) | |
1194 | part2=part:clone() | |
1195 | part2.Parent=mod | |
1196 | part2.BrickColor=BrickColor.new('Dark blue') | |
1197 | mesh2=mesh:clone() | |
1198 | mesh2.Parent=part2 | |
1199 | mesh2.Scale=Vector3.new(20,10,20) | |
1200 | part3=part2:clone() | |
1201 | part3.Parent = mod | |
1202 | part3.BrickColor=BrickColor.new('White') | |
1203 | mesh3=mesh2:clone() | |
1204 | mesh2.Parent=part3 | |
1205 | mesh3.Scale=Vector3.new(30,15,30) | |
1206 | coroutine.resume(coroutine.create(function() | |
1207 | for i=0,1,0.1 do | |
1208 | wait() | |
1209 | part.CFrame=part.CFrame | |
1210 | part.Transparency=i | |
1211 | mesh.Scale=mesh.Scale+Vector3.new(1,1,1) | |
1212 | part2.CFrame=part2.CFrame | |
1213 | part2.Transparency=i | |
1214 | mesh2.Scale=mesh2.Scale+Vector3.new(1,1,1) | |
1215 | part3.CFrame=part3.CFrame | |
1216 | part3.Transparency=i | |
1217 | mesh3.Scale=mesh3.Scale+Vector3.new(1,1,1) | |
1218 | end | |
1219 | part.Parent=nil | |
1220 | part2.Parent=nil | |
1221 | part3.Parent = nil | |
1222 | end)) | |
1223 | end | |
1224 | ---------------------------------------------------- | |
1225 | function FindNearestTorso(Position,Distance,SinglePlayer) | |
1226 | if SinglePlayer then return(SinglePlayer.Torso.CFrame.p -Position).magnitude < Distance end | |
1227 | local List = {} | |
1228 | for i,v in pairs(workspace:GetChildren())do | |
1229 | if v:IsA("Model")then | |
1230 | if v:findFirstChild("Torso")then | |
1231 | if v ~= char then | |
1232 | if(v.Torso.Position -Position).magnitude <= Distance then | |
1233 | table.insert(List,v) | |
1234 | end | |
1235 | end | |
1236 | end | |
1237 | end | |
1238 | end | |
1239 | return List | |
1240 | end | |
1241 | ||
1242 | mod3 = Instance.new("Model",rleg) | |
1243 | ||
1244 | function Stomp() | |
1245 | part=Instance.new('Part',mod3) | |
1246 | part.Anchored=true | |
1247 | part.CanCollide=false | |
1248 | part.FormFactor='Custom' | |
1249 | part.Size=Vector3.new(.2,.2,.2) | |
1250 | part.CFrame=rleg.CFrame*CFrame.new(0,-2.4,0)*CFrame.Angles(math.rad(90),0,0) | |
1251 | part.Transparency=.7 | |
1252 | part.BrickColor=BrickColor.new('Dark blue') | |
1253 | mesh=Instance.new('SpecialMesh',part) | |
1254 | mesh.MeshId='http://www.roblox.com/asset/?id=3270017' | |
1255 | mesh.Scale=Vector3.new(50,50,50) | |
1256 | part2=part:clone() | |
1257 | part2.Parent=mod3 | |
1258 | part2.BrickColor=BrickColor.new('Dark blue') | |
1259 | mesh2=mesh:clone() | |
1260 | mesh2.Parent=part2 | |
1261 | mesh2.Scale=Vector3.new(30,30,30) | |
1262 | part3=part:clone() | |
1263 | part3.BrickColor = BrickColor.new("Really black") | |
1264 | part3.Parent=mod3 | |
1265 | part3.TopSurface=0 | |
1266 | part3.BottomSurface=0 | |
1267 | part3.CFrame=rleg.CFrame*CFrame.new(0,-3,0) | |
1268 | mesh3=Instance.new('SpecialMesh',part3) | |
1269 | mesh3.MeshType = 3 | |
1270 | mesh3.Scale=Vector3.new(20,20,20) | |
1271 | for i,v in pairs(FindNearestTorso(torso.CFrame.p,100))do | |
1272 | if v:FindFirstChild('Humanoid') then | |
1273 | v.Humanoid.PlatformStand = true | |
1274 | v:FindFirstChild("Torso").Velocity = hed.CFrame.lookVector * 1000 | |
1275 | local damfam = 1000 | |
1276 | v.Humanoid.Health = v.Humanoid.Health-damfam | |
1277 | local CF = v.HumanoidRootPart.CFrame*CFrame.new(0,2,0) | |
1278 | MakeText("-"..damfam.."", "SourceSansLight", 2, 40, 0, 60, 139, 0, 209, CF) | |
1279 | end | |
1280 | end | |
1281 | coroutine.resume(coroutine.create(function() | |
1282 | for i=0,3.8,0.05 do | |
1283 | wait() | |
1284 | part.CFrame=part.CFrame | |
1285 | part.Transparency=i | |
1286 | mesh.Scale=mesh.Scale+Vector3.new(5,5,5) | |
1287 | part2.CFrame=part2.CFrame | |
1288 | part2.Transparency=i | |
1289 | mesh2.Scale=mesh2.Scale+Vector3.new(2,2,2) | |
1290 | part3.CFrame=part3.CFrame | |
1291 | part3.Transparency=i | |
1292 | mesh3.Scale=mesh3.Scale+Vector3.new(3,3,3) | |
1293 | end | |
1294 | end)) | |
1295 | end | |
1296 | ---------------------------------------------------- | |
1297 | ||
1298 | local acos = math.acos | |
1299 | local sqrt = math.sqrt | |
1300 | local Vec3 = Vector3.new | |
1301 | local fromAxisAngle = CFrame.fromAxisAngle | |
1302 | ||
1303 | local function toAxisAngle(CFr) | |
1304 | local X,Y,Z,R00,R01,R02,R10,R11,R12,R20,R21,R22 = CFr:components() | |
1305 | local Angle = math.acos((R00+R11+R22-1)/2) | |
1306 | local A = (R21-R12)^2+(R02-R20)^2+(R10-R01)^2 | |
1307 | A = A == 0 and 0.00001 or A | |
1308 | local B = (R21-R12)^2+(R02-R20)^2+(R10-R01)^2 | |
1309 | B = B == 0 and 0.00001 or B | |
1310 | local C = (R21-R12)^2+(R02-R20)^2+(R10-R01)^2 | |
1311 | C = C == 0 and 0.00001 or C | |
1312 | local x = (R21-R12)/sqrt(A) | |
1313 | local y = (R02-R20)/sqrt(B) | |
1314 | local z = (R10-R01)/sqrt(C) | |
1315 | return Vec3(x,y,z),Angle | |
1316 | end | |
1317 | ||
1318 | function ApplyTrig(Num,Func) | |
1319 | local Min,Max = Func(0),Func(1) | |
1320 | local i = Func(Num) | |
1321 | return (i-Min)/(Max-Min) | |
1322 | --[[if Func == "sin" then | |
1323 | return (math.sin((1-Num)*math.pi)+1)/2 | |
1324 | elseif Func == "cos" then | |
1325 | return (math.cos((1-Num)*math.pi)+1)/2 | |
1326 | end]] | |
1327 | end | |
1328 | ||
1329 | function LerpCFrame(CFrame1,CFrame2,Num) | |
1330 | local Vec,Ang = toAxisAngle(CFrame1:inverse()*CFrame2) | |
1331 | return CFrame1*fromAxisAngle(Vec,Ang*Num) + (CFrame2.p-CFrame1.p)*Num | |
1332 | end | |
1333 | ||
1334 | function Crater(Torso,Radius) | |
1335 | chatServ:Chat(hed, "Just die!", 2) | |
1336 | Spawn(function() | |
1337 | local Ray = Ray.new(Torso.Position,Vector3.new(0,-1,0)*10) | |
1338 | local Ignore = {} | |
1339 | for i,v in pairs(game:GetService("Players"):GetPlayers()) do | |
1340 | if v.Character ~= nil then | |
1341 | Ignore[#Ignore+1] = v.Character | |
1342 | end | |
1343 | end | |
1344 | local Hit,Pos,SurfaceNorm = workspace:FindPartOnRayWithIgnoreList(Ray,Ignore) | |
1345 | if Hit == nil then return end | |
1346 | local Parts = {} | |
1347 | for i = 1,360,10 do | |
1348 | local P = Instance.new("Part",Torso.Parent) | |
1349 | P.Anchored = true | |
1350 | P.FormFactor = "Custom" | |
1351 | P.BrickColor = Hit.BrickColor | |
1352 | P.Material = Hit.Material | |
1353 | P.TopSurface = "Smooth" | |
1354 | P.BottomSurface = "Smooth" | |
1355 | P.Size = Vector3.new(5,10,10)*(math.random(80,100)/100) | |
1356 | P.CFrame = ((CFrame.new(Pos,Pos+SurfaceNorm)*CFrame.Angles(math.rad(90),0,0))-Vector3.new(0,7,0))*CFrame.Angles(math.rad(math.random(-50,50)),math.rad(math.random(-50,50)),math.rad(math.random(-50,50))) | |
1357 | Parts[#Parts+1] = {P,P.CFrame,((CFrame.new(Pos,Pos+SurfaceNorm)*CFrame.Angles(math.rad(90),0,0))-Vector3.new(0,1,0))*CFrame.Angles(0,math.rad(i),0)*CFrame.new(0,0,-Radius)*CFrame.Angles(math.rad(math.random(-50,-20)),math.rad(math.random(-15,15)),math.rad(math.random(-15,15))),P.Size} | |
1358 | if math.random(0,5) == 0 then -- rubble | |
1359 | local P = Instance.new("Part",Torso.Parent) | |
1360 | P.Anchored = true | |
1361 | P.FormFactor = "Custom" | |
1362 | P.BrickColor = Hit.BrickColor | |
1363 | P.Material = Hit.Material | |
1364 | P.TopSurface = "Smooth" | |
1365 | P.BottomSurface = "Smooth" | |
1366 | P.Size = Vector3.new(2,2,2)*(math.random(80,100)/100) | |
1367 | P.CFrame = ((CFrame.new(Pos,Pos+SurfaceNorm)*CFrame.Angles(math.rad(90),0,0))-Vector3.new(0,2.5,0))*CFrame.Angles(math.rad(math.random(-50,50)),math.rad(math.random(-50,50)),math.rad(math.random(-50,50))) | |
1368 | Parts[#Parts+1] = {P,P.CFrame,(CFrame.new(Pos,Pos+SurfaceNorm)*CFrame.Angles(math.rad(90),0,0))*CFrame.Angles(0,math.rad(i),0)*CFrame.new(0,0,-Radius-8)*CFrame.Angles(math.rad(math.random(-90,90)),math.rad(math.random(-90,90)),math.rad(math.random(-90,90))),P.Size} | |
1369 | end | |
1370 | end | |
1371 | for i = 0,1,0.05 do | |
1372 | for i2,v in pairs(Parts) do | |
1373 | v[1].CFrame = LerpCFrame(v[2],v[3],ApplyTrig(i,math.cos)) | |
1374 | end | |
1375 | wait(0.02) | |
1376 | end | |
1377 | for i,v in pairs(Parts) do | |
1378 | if v[1].Size.X > 2.1 then | |
1379 | v[1].CFrame = v[1].CFrame+Vector3.new(0,2,0) | |
1380 | end | |
1381 | v[1].Anchored = false | |
1382 | end | |
1383 | for i = 0,1,0.05 do | |
1384 | for i2,v in pairs(Parts) do | |
1385 | v[1].Transparency = i | |
1386 | if i == 1 then | |
1387 | v[1]:Destroy() | |
1388 | elseif i >= 0.25 then | |
1389 | v[1].CanCollide = false | |
1390 | end | |
1391 | end | |
1392 | wait(0.02) | |
1393 | end | |
1394 | Parts = nil | |
1395 | end) | |
1396 | end | |
1397 | ||
1398 | ---------------------------------------------------- | |
1399 | mouse.KeyDown:connect(function(key) | |
1400 | if key == "r" then | |
1401 | if Debounces.CanAttack == true then | |
1402 | chatServ:Chat(hed, "Take..", 2) | |
1403 | Debounces.CanAttack = false | |
1404 | Debounces.on = true | |
1405 | Debounces.NoIdl = true | |
1406 | to = char.Absolution.Thingy2.Touched:connect(function(ht) | |
1407 | hit = ht.Parent | |
1408 | if ht and hit:IsA("Model") then | |
1409 | if hit:FindFirstChild("Humanoid") then | |
1410 | if hit.Name ~= p.Name then | |
1411 | --[[if Debounces.Slashing == true and Debounces.Slashed == false then | |
1412 | Debounces.Slashed = true]]-- | |
1413 | local damfam = 500 | |
1414 | hit.Humanoid.Health = hit.Humanoid.Health-damfam | |
1415 | local CF = hit.HumanoidRootPart.CFrame*CFrame.new(0,2,0) | |
1416 | MakeText("-"..damfam.."", "SourceSansLight", 2, 40, 0, 60, 139, 0, 209, CF) | |
1417 | wait(1) | |
1418 | --Debounces.Slashed = false | |
1419 | --end | |
1420 | end | |
1421 | end | |
1422 | elseif ht and hit:IsA("Hat") then | |
1423 | if hit.Parent.Name ~= p.Name then | |
1424 | if hit.Parent:FindFirstChild("Humanoid") then | |
1425 | --[[ if Debounces.Slashing == true and Debounces.Slashed == false then | |
1426 | Debounces.Slashed = true]]-- | |
1427 | local damfam = 500 | |
1428 | hit.Parent.Humanoid.Health = hit.Parent.Humanoid.Health-damfam | |
1429 | local CF = hit.HumanoidRootPart.CFrame*CFrame.new(0,2,0) | |
1430 | MakeText("-"..damfam.."", "SourceSansLight", 2, 40, 0, 60, 139, 0, 209, CF) | |
1431 | wait(1) | |
1432 | --Debounces.Slashed = false | |
1433 | end | |
1434 | end | |
1435 | end | |
1436 | end) | |
1437 | q = Instance.new("Sound",hed) | |
1438 | q.SoundId = "http://www.roblox.com/asset/?id=134012322" | |
1439 | q.Pitch = 0.85 | |
1440 | q.Looped = false | |
1441 | q1 = Instance.new("Sound",hed) | |
1442 | q1.SoundId = "http://www.roblox.com/asset/?id=134012322" | |
1443 | q1.Pitch = 0.85 | |
1444 | q1.Looped = false | |
1445 | q:Play() | |
1446 | q1:Play() | |
1447 | for i = 1,10 do | |
1448 | rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(2.3,1.1,-1) * CFrame.Angles(math.rad(115), math.rad(0), math.rad(-55)), 0.4) | |
1449 | larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-2.3,1.1,-1) * CFrame.Angles(math.rad(115), math.rad(0), math.rad(55)), 0.4) | |
1450 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,3,0) * CFrame.Angles(math.rad(20), math.rad(0), math.rad(0)),0.4) | |
1451 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, 4, 0) * CFrame.Angles(math.rad(30), math.rad(0), 0), 0.4) | |
1452 | lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-1, -3, 1) * CFrame.Angles(math.rad(-60), 0, math.rad(0)), 0.4) | |
1453 | rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(1, -3, .6) * CFrame.Angles(math.rad(-60), 0, math.rad(0)), 0.4) | |
1454 | cor.Weld.C0 = Lerp(cor.Weld.C0, CFrame.new(0, -2.2, -3) * CFrame.Angles(math.rad(-90), math.rad(-142), math.rad(0)), 0.5) | |
1455 | if Debounces.on == false then break end | |
1456 | wait() | |
1457 | end | |
1458 | chatServ:Chat(hed, "This!", 2) | |
1459 | n = Instance.new("Sound",hed) | |
1460 | n.SoundId = "http://www.roblox.com/asset/?id=168514932" | |
1461 | n.Pitch = 0.94 | |
1462 | n.Looped = false | |
1463 | n1 = Instance.new("Sound",hed) | |
1464 | n1.SoundId = "http://www.roblox.com/asset/?id=168514932" | |
1465 | n1.Pitch = 0.94 | |
1466 | n1.Looped = false | |
1467 | n:Play() | |
1468 | n1:Play() | |
1469 | b = Instance.new("Sound",hed) | |
1470 | b.SoundId = "http://www.roblox.com/asset/?id=168586586" | |
1471 | b.Pitch = 0.94 | |
1472 | b.Looped = false | |
1473 | b1 = Instance.new("Sound",hed) | |
1474 | b1.SoundId = "http://www.roblox.com/asset/?id=168586586" | |
1475 | b1.Pitch = 0.94 | |
1476 | b1.Looped = false | |
1477 | b:Play() | |
1478 | b1:Play() | |
1479 | for i = 1,6 do | |
1480 | rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(2.3,1.1,-1) * CFrame.Angles(math.rad(50), math.rad(0), math.rad(-55)), 0.5) | |
1481 | larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-2.3,1.1,-1) * CFrame.Angles(math.rad(50), math.rad(0), math.rad(55)), 0.5) | |
1482 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,3,0) * CFrame.Angles(math.rad(-10), math.rad(0), math.rad(0)),0.5) | |
1483 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1.1, 0) * CFrame.Angles(math.rad(-40), math.rad(0), 0), 0.5) | |
1484 | lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-1, -3, -1) * CFrame.Angles(math.rad(50), 0, math.rad(0)), 0.5) | |
1485 | rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(1, -3, .4) * CFrame.Angles(math.rad(-10), 0, math.rad(0)), 0.5) | |
1486 | cor.Weld.C0 = Lerp(cor.Weld.C0, CFrame.new(1.4, -3.5, -7) * CFrame.Angles(math.rad(-90), math.rad(-142), math.rad(20)), 0.5) | |
1487 | if Debounces.on == false then break end | |
1488 | wait() | |
1489 | end | |
1490 | wait(.01) | |
1491 | to:disconnect() | |
1492 | q:Destroy() | |
1493 | q1:Destroy() | |
1494 | n:Destroy() | |
1495 | n1:Destroy() | |
1496 | if Debounces.CanAttack == false then | |
1497 | Debounces.CanAttack = true | |
1498 | Debounces.on = false | |
1499 | Debounces.NoIdl = false | |
1500 | end | |
1501 | end | |
1502 | end | |
1503 | end) | |
1504 | ---------------------------------------------------- | |
1505 | mouse.Button1Down:connect(function() | |
1506 | if Debounces.CanAttack == true then | |
1507 | Debounces.CanAttack = false | |
1508 | Debounces.on = true | |
1509 | Debounces.NoIdl = true | |
1510 | to = char.Absolution.Thingy2.Touched:connect(function(ht) | |
1511 | hit = ht.Parent | |
1512 | if ht and hit:IsA("Model") then | |
1513 | if hit:FindFirstChild("Humanoid") then | |
1514 | if hit.Name ~= p.Name then | |
1515 | --[[if Debounces.Slashing == true and Debounces.Slashed == false then | |
1516 | Debounces.Slashed = true]]-- | |
1517 | local damfam = 999999 | |
1518 | hit.Humanoid.Health = hit.Humanoid.Health-damfam | |
1519 | local CF = hit.HumanoidRootPart.CFrame*CFrame.new(0,2,0) | |
1520 | MakeText("-"..damfam.."", "SourceSansLight", 2, 40, 0, 60, 139, 0, 209, CF) | |
1521 | wait(1) | |
1522 | --Debounces.Slashed = false | |
1523 | --end | |
1524 | end | |
1525 | end | |
1526 | elseif ht and hit:IsA("Hat") then | |
1527 | if hit.Parent.Name ~= p.Name then | |
1528 | if hit.Parent:FindFirstChild("Humanoid") then | |
1529 | --[[ if Debounces.Slashing == true and Debounces.Slashed == false then | |
1530 | Debounces.Slashed = true]]-- | |
1531 | local damfam = 300 | |
1532 | hit.Parent.Humanoid.Health = hit.Parent.Humanoid.Health-damfam | |
1533 | local CF = hit.HumanoidRootPart.CFrame*CFrame.new(0,2,0) | |
1534 | MakeText("-"..damfam.."", "SourceSansLight", 2, 40, 0, 60, 139, 0, 209, CF) | |
1535 | wait(1) | |
1536 | --Debounces.Slashed = false | |
1537 | end | |
1538 | end | |
1539 | end | |
1540 | end) | |
1541 | for i = 1, 10 do | |
1542 | rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(3,.9,0) * CFrame.Angles(math.rad(21), math.rad(75), math.rad(50)), 0.2) | |
1543 | larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-3,.9,0) * CFrame.Angles(math.rad(-30), math.rad(0), math.rad(-18)), 0.2) | |
1544 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,3,-.2) * CFrame.Angles(math.rad(-14),math.rad(-60),0), 0.5) | |
1545 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1.2, 0) * CFrame.Angles(0, math.rad(70), 0), 0.5) | |
1546 | lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-1.2, -3, 0) * CFrame.Angles(0, 0, math.rad(-10)), 0.5) | |
1547 | rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(1.2, -3, 0) * CFrame.Angles(0, 0, math.rad(10)), 0.5) | |
1548 | cor.Weld.C0 = Lerp(cor.Weld.C0, CFrame.new(0, -1.7, -1.4) * CFrame.Angles(math.rad(-90), math.rad(-90), math.rad(0)), 1) | |
1549 | if Debounces.on == false then break end | |
1550 | wait() | |
1551 | end | |
1552 | z = Instance.new("Sound",hed) | |
1553 | z.SoundId = "rbxassetid://160069154" | |
1554 | z.Looped = false | |
1555 | z.Pitch = .9 | |
1556 | z1 = Instance.new("Sound",hed) | |
1557 | z1.SoundId = "rbxassetid://160069154" | |
1558 | z1.Looped = false | |
1559 | z1.Pitch = .9 | |
1560 | wait(0.01) | |
1561 | z:Play() | |
1562 | z1:Play() | |
1563 | for i = 1, 7 do | |
1564 | rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(3,.9,0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(50)), 0.2) | |
1565 | larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-2,.9,-1) * CFrame.Angles(math.rad(60), math.rad(0), math.rad(20)), 0.5) | |
1566 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,3,-.2) * CFrame.Angles(math.rad(-14),math.rad(30),0), 0.5) | |
1567 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -3, 0) * CFrame.Angles(math.rad(0), math.rad(-30), math.rad(0)), 0.5) | |
1568 | lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-1, -1, -2) * CFrame.Angles(math.rad(-10), 0, 0), 0.5) | |
1569 | rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(1, -2.8, .6) * CFrame.Angles(math.rad(-65), 0, 0), 0.5) | |
1570 | cor.Weld.C0 = Lerp(cor.Weld.C0, CFrame.new(0, -1.7, -1.4) * CFrame.Angles(math.rad(-90), math.rad(-90), math.rad(0)), 1) | |
1571 | if Debounces.on == false then break end | |
1572 | wait() | |
1573 | end | |
1574 | for i = 1, 7 do | |
1575 | rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(3,.9,0) * CFrame.Angles(math.rad(140), math.rad(0), math.rad(50)), 0.4) | |
1576 | larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-3,.9,0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(-18)), 0.4) | |
1577 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,3,-.2) * CFrame.Angles(math.rad(-14),math.rad(10),0), 0.5) | |
1578 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1.2, 0) * CFrame.Angles(0, math.rad(-10), 0), 0.5) | |
1579 | lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-1.2, -3, 0) * CFrame.Angles(0, 0, math.rad(-10)), 0.5) | |
1580 | rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(1.2, -3, 0) * CFrame.Angles(0, 0, math.rad(10)), 0.5) | |
1581 | cor.Weld.C0 = Lerp(cor.Weld.C0, CFrame.new(0, -1.7, -1.4) * CFrame.Angles(math.rad(-90), math.rad(-90), math.rad(0)), 1) | |
1582 | if Debounces.on == false then break end | |
1583 | wait() | |
1584 | end | |
1585 | z = Instance.new("Sound",hed) | |
1586 | z.SoundId = "rbxassetid://168586621" | |
1587 | z.Looped = false | |
1588 | z.Pitch = 1 | |
1589 | z1 = Instance.new("Sound",hed) | |
1590 | z1.SoundId = "rbxassetid://168586621" | |
1591 | z1.Looped = false | |
1592 | z1.Pitch = 1 | |
1593 | wait(0.01) | |
1594 | z:Play() | |
1595 | z1:Play() | |
1596 | for i = 1, 7 do | |
1597 | rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(3,.9,0) * CFrame.Angles(math.rad(40), math.rad(-20), math.rad(10)), 0.5) | |
1598 | larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-3,.9,0) * CFrame.Angles(math.rad(-20), math.rad(0), math.rad(-18)), 0.4) | |
1599 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,3,-.2) * CFrame.Angles(math.rad(-14),math.rad(-40),0), 0.5) | |
1600 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1.2, 0) * CFrame.Angles(0, math.rad(40), 0), 0.5) | |
1601 | lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-1.2, -3, 0) * CFrame.Angles(math.rad(-20), 0, math.rad(-10)), 0.5) | |
1602 | rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(1.2, -3, 0) * CFrame.Angles(math.rad(20), 0, math.rad(10)), 0.5) | |
1603 | cor.Weld.C0 = Lerp(cor.Weld.C0, CFrame.new(0, -2.8, -1.4) * CFrame.Angles(math.rad(-110), math.rad(-90), math.rad(20)), 1) | |
1604 | if Debounces.on == false then break end | |
1605 | wait() | |
1606 | end | |
1607 | to:disconnect() | |
1608 | if Debounces.CanAttack == false then | |
1609 | Debounces.CanAttack = true | |
1610 | Debounces.on = false | |
1611 | Debounces.NoIdl = false | |
1612 | end | |
1613 | end | |
1614 | end) | |
1615 | ---------------------------------------------------- | |
1616 | Sit = false | |
1617 | ||
1618 | local DomFold = Instance.new("Folder") | |
1619 | DomFold.Parent = char | |
1620 | ||
1621 | mouse.KeyDown:connect(function(key) | |
1622 | if key == "v" then | |
1623 | if Sit == false then | |
1624 | Sit = true | |
1625 | hum.WalkSpeed = 0.001 | |
1626 | chatServ:Chat(hed, "Sigh..", 2) | |
1627 | stanceToggle = "Sitting" | |
1628 | repeat hum.Health = hum.Health+1337 wait() until Sit == false | |
1629 | elseif Sit == true then | |
1630 | Sit = false | |
1631 | hum.WalkSpeed = 80 | |
1632 | stanceToggle = "Normal" | |
1633 | local say = math.random(1,10) | |
1634 | if say == 1 then | |
1635 | chatServ:Chat(hed, "Lets get started..", 2) | |
1636 | elseif say == 2 then | |
1637 | chatServ:Chat(hed, "Wakey, wakey!", 2) | |
1638 | elseif say == 3 then | |
1639 | chatServ:Chat(hed, "Time for a massacre!", 2) | |
1640 | elseif say == 4 then | |
1641 | chatServ:Chat(hed, "I feel... refreshed.", 2) | |
1642 | elseif say == 5 then | |
1643 | chatServ:Chat(hed, "Nap time is over!", 2) | |
1644 | elseif say == 6 then | |
1645 | chatServ:Chat(hed, "Prepare yourself..", 2) | |
1646 | elseif say == 7 then | |
1647 | chatServ:Chat(hed, "It's not over..", 2) | |
1648 | elseif say == 8 then | |
1649 | chatServ:Chat(hed, "Hmph.", 2) | |
1650 | elseif say == 9 then | |
1651 | chatServ:Chat(hed, "Ready to meet your maker?", 2) | |
1652 | elseif say == 10 then | |
1653 | chatServ:Chat(hed, "Huh..", 2) | |
1654 | end | |
1655 | end | |
1656 | end | |
1657 | end) | |
1658 | ---------------------------------------------------- | |
1659 | mouse.KeyDown:connect(function(key) | |
1660 | if key == "t" then | |
1661 | if Debounces.CanAttack == true then | |
1662 | chatServ:Chat(hed, "How about...", 2) | |
1663 | Debounces.CanAttack = false | |
1664 | Debounces.on = true | |
1665 | Debounces.NoIdl = true | |
1666 | for i = 1, 15 do | |
1667 | rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(2.3,1.1,-1) * CFrame.Angles(math.rad(115), math.rad(0), math.rad(-55)), 0.4) | |
1668 | larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-2.3,1.1,-1) * CFrame.Angles(math.rad(115), math.rad(0), math.rad(55)), 0.4) | |
1669 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,3,0) * CFrame.Angles(math.rad(20), math.rad(0), math.rad(0)),0.4) | |
1670 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(30), math.rad(0), 0), 0.4) | |
1671 | lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-1, -3, .6) * CFrame.Angles(math.rad(-30), 0, math.rad(0)), 0.4) | |
1672 | rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(1, -2, -1.2) * CFrame.Angles(math.rad(0), 0, math.rad(0)), 0.4) | |
1673 | cor.Weld.C0 = Lerp(cor.Weld.C0, CFrame.new(1.4, -3.5, -7) * CFrame.Angles(math.rad(-90), math.rad(-142), math.rad(20)), 1) | |
1674 | if Debounces.on == false then break end | |
1675 | wait() | |
1676 | end | |
1677 | chatServ:Chat(hed, "THIS!", 2) | |
1678 | Spawn(function() | |
1679 | local Parts = {} | |
1680 | for Y = -5,5 do | |
1681 | local P = Instance.new("Part",char) | |
1682 | P.Anchored = true | |
1683 | P.FormFactor = "Custom" | |
1684 | P.CanCollide = false | |
1685 | P.Size = Vector3.new(1,2,1) | |
1686 | P.TopSurface = "SmoothNoOutlines" | |
1687 | P.BottomSurface = "SmoothNoOutlines" | |
1688 | P.BrickColor = BrickColor.new("Dark blue") | |
1689 | P.Material = "Neon" | |
1690 | P.Name = tostring(Y) | |
1691 | local i = (Y+5)/(10) | |
1692 | i = 1-math.cos(math.pi*i-(math.pi/2)) | |
1693 | P.CFrame = char.HumanoidRootPart.CFrame*CFrame.new(0,Y,-15+(i*1.5))*CFrame.Angles(math.rad(Y*5),0,0) | |
1694 | P.Touched:connect(function(ht) | |
1695 | local hit = ht.Parent | |
1696 | if hit:FindFirstChild("Humanoid") then | |
1697 | local damfam = 400 | |
1698 | hit.Humanoid.Health = hit.Humanoid.Health-damfam | |
1699 | local CF = hit.HumanoidRootPart.CFrame*CFrame.new(0,2,0) | |
1700 | MakeText("-"..damfam.."", "SourceSansLight", 2, 40, 0, 60, 139, 0, 209, CF) | |
1701 | end | |
1702 | end) | |
1703 | s = Instance.new("Sound",P) | |
1704 | s.SoundId = "rbxassetid://228343271" | |
1705 | s.Volume = .7 | |
1706 | s.Pitch = 0.9 | |
1707 | s:Play() | |
1708 | P.Touched:connect(function(ht) | |
1709 | hit = ht.Parent | |
1710 | if ht and hit:IsA("Model") then | |
1711 | if hit:FindFirstChild("Humanoid") then | |
1712 | if hit.Name ~= p.Name then | |
1713 | --[[if Debounces.Slashing == true and Debounces.Slashed == false then | |
1714 | Debounces.Slashed = true]]-- | |
1715 | local damfam = 400 | |
1716 | hit.Humanoid.Health = hit.Humanoid.Health-damfam | |
1717 | local CF = hit.HumanoidRootPart.CFrame*CFrame.new(0,2,0) | |
1718 | MakeText("-"..damfam.."", "SourceSansLight", 2, 40, 0, 60, 139, 0, 209, CF) | |
1719 | hit:FindFirstChild("Humanoid").PlatformStand = true | |
1720 | wait(1) | |
1721 | --Debounces.Slashed = false | |
1722 | --end | |
1723 | end | |
1724 | end | |
1725 | elseif ht and hit:IsA("Hat") then | |
1726 | if hit.Parent.Name ~= p.Name then | |
1727 | if hit.Parent:FindFirstChild("Humanoid") then | |
1728 | --[[if Debounces.Slashing == true and Debounces.Slashed == false then | |
1729 | Debounces.Slashed = true]]-- | |
1730 | local damfam = 400 | |
1731 | v.Humanoid.Health = v.Humanoid.Health-damfam | |
1732 | local CF = v.HumanoidRootPart.CFrame*CFrame.new(0,2,0) | |
1733 | MakeText("-"..damfam.."", "SourceSansLight", 2, 40, 0, 60, 139, 0, 209, CF) | |
1734 | hit:FindFirstChild("Humanoid").PlatformStand = true | |
1735 | wait(1) | |
1736 | --Debounces.Slashed = false | |
1737 | --end | |
1738 | end | |
1739 | end | |
1740 | end | |
1741 | end) | |
1742 | Parts[#Parts+1] = P | |
1743 | end | |
1744 | local BREAKIT = false | |
1745 | local CParts = {} | |
1746 | local Rocks = {} | |
1747 | local LastPos = nil | |
1748 | for i = 1,70 do | |
1749 | for i2,v in pairs(Parts) do | |
1750 | v.CFrame = v.CFrame*CFrame.new(0,0,-4) | |
1751 | local cf = v.CFrame | |
1752 | v.Size = v.Size+Vector3.new(0.4,0.35,0) | |
1753 | v.CFrame = cf | |
1754 | v.Transparency = v.Transparency+0.02 | |
1755 | if v.Transparency >= 0.975 then BREAKIT = true end | |
1756 | if v.Name == "0" then | |
1757 | local Ignore = {} | |
1758 | for i,v in pairs(game:GetService("Players"):GetPlayers()) do | |
1759 | if v.Character ~= nil then | |
1760 | Ignore[#Ignore+1] = v.Character | |
1761 | end | |
1762 | end | |
1763 | local ray = Ray.new(v.Position+Vector3.new(0,20,0),Vector3.new(0,-200,0)) | |
1764 | local Hit,Pos,SurfaceNorm = workspace:FindPartOnRayWithIgnoreList(ray,Ignore) | |
1765 | if Hit ~= nil then | |
1766 | if #Rocks == 0 then | |
1767 | for i = 1,5 do | |
1768 | local P = Instance.new("Part",char) | |
1769 | Rocks[#Rocks+1] = P | |
1770 | P.Anchored = true | |
1771 | P.FormFactor = "Custom" | |
1772 | P.BrickColor = Hit.BrickColor | |
1773 | P.Material = Hit.Material | |
1774 | P.TopSurface = "Smooth" | |
1775 | P.BottomSurface = "Smooth" | |
1776 | P.Size = Vector3.new(1,1,1)*(math.random(500,900)/100) | |
1777 | end | |
1778 | end | |
1779 | for i,P in pairs(Rocks) do | |
1780 | P.CFrame = ((CFrame.new(Pos)*(v.CFrame-v.Position))*CFrame.new(math.random(-math.ceil(v.Size.X/2),math.ceil(v.Size.X/2)),0,-math.random(5,8))-Vector3.new(0,0.25,0))*CFrame.Angles(math.rad(math.random(-50,50)),math.rad(math.random(-50,50)),math.rad(math.random(20,50))) | |
1781 | end | |
1782 | local P = Instance.new("Part",char) | |
1783 | CParts[#CParts+1] = {P,tick()} | |
1784 | P.Anchored = true | |
1785 | P.FormFactor = "Custom" | |
1786 | P.BrickColor = Hit.BrickColor | |
1787 | P.Material = Hit.Material | |
1788 | P.TopSurface = "Smooth" | |
1789 | P.BottomSurface = "Smooth" | |
1790 | P.Size = Vector3.new(1,1,1)*(math.random(100,300)/100) | |
1791 | Pos = CFrame.new(Pos)*(v.CFrame-v.Position)*CFrame.new(v.Size.X/2,0,0) | |
1792 | Pos = Pos.p | |
1793 | P.CFrame = ((CFrame.new(Pos,Pos+SurfaceNorm)*CFrame.Angles(math.rad(90),0,0))-Vector3.new(0,0.25,0))*CFrame.Angles(math.rad(math.random(-50,50)),math.rad(math.random(-50,50)),math.rad(math.random(20,50))) | |
1794 | local P = P:Clone() | |
1795 | CParts[#CParts+1] = {P,tick()} | |
1796 | P.Parent = char | |
1797 | Pos = CFrame.new(Pos)*(v.CFrame-v.Position)*CFrame.new(-v.Size.X,0,0) | |
1798 | Pos = Pos.p | |
1799 | P.CFrame = ((CFrame.new(Pos,Pos+SurfaceNorm)*CFrame.Angles(math.rad(90),0,0))-Vector3.new(0,0.25,0))*CFrame.Angles(math.rad(math.random(-50,50)),math.rad(math.random(-50,50)),math.rad(math.random(-50,-20))) | |
1800 | if LastPos ~= nil then | |
1801 | local P = P:Clone() | |
1802 | CParts[#CParts+1] = {P,tick()} | |
1803 | P.Parent = char | |
1804 | P.BrickColor = BrickColor.new("Dark blue") | |
1805 | P.Material = "Neon" | |
1806 | Pos = CFrame.new(Pos)*(v.CFrame-v.Position)*CFrame.new(v.Size.X/2,0,0) | |
1807 | Pos = Pos.p | |
1808 | local CFr = (CFrame.new(Pos)*(v.CFrame-v.Position))-Vector3.new(0,0.4,0) | |
1809 | P.Size = Vector3.new(v.Size.X-0.25,1,(CFr.p-LastPos.p).Magnitude+0.25) | |
1810 | --P.Velocity = Vector3.new(0,-1000,0) | |
1811 | P.CFrame = CFrame.new(CFr.p,LastPos.p)*CFrame.new(0,0,-((CFr.p-LastPos.p).Magnitude+0.25)/2) | |
1812 | end | |
1813 | LastPos = (CFrame.new(Pos)*(v.CFrame-v.Position))-Vector3.new(0,0.4,0) | |
1814 | end | |
1815 | end | |
1816 | end | |
1817 | if BREAKIT then break end | |
1818 | wait(0.002) | |
1819 | end | |
1820 | for i,v in pairs(Rocks) do | |
1821 | CParts[#CParts+1] = {v,tick()} | |
1822 | end | |
1823 | for i,v in pairs(Parts) do | |
1824 | v:Destroy() | |
1825 | end | |
1826 | Parts = nil | |
1827 | while true do | |
1828 | local t = tick() | |
1829 | local p = nil | |
1830 | for i,v in pairs(CParts) do | |
1831 | if t-v[2] > 4 then | |
1832 | v[1].Transparency = v[1].Transparency+0.05 | |
1833 | if v[1].Transparency >= 1 then | |
1834 | v[1]:Destroy() | |
1835 | CParts[i] = nil | |
1836 | end | |
1837 | end | |
1838 | p = v | |
1839 | end | |
1840 | if p == nil then break end | |
1841 | wait(0.002) | |
1842 | end | |
1843 | for i,v in pairs(CParts) do | |
1844 | v:Destroy() | |
1845 | end | |
1846 | CParts = {} | |
1847 | end) | |
1848 | for i = 1, 20 do | |
1849 | rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(2.3,.8,-1) * CFrame.Angles(math.rad(50), math.rad(0), math.rad(-55)), 0.4) | |
1850 | larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-2.3,.8,-1) * CFrame.Angles(math.rad(50), math.rad(0), math.rad(55)), 0.4) | |
1851 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,3,0) * CFrame.Angles(math.rad(-20), math.rad(0), math.rad(0)),0.4) | |
1852 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -2.6, 0) * CFrame.Angles(math.rad(-30), math.rad(0), 0), 0.4) | |
1853 | lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-1, -1, -1.4) * CFrame.Angles(math.rad(40), 0, math.rad(0)), 0.4) | |
1854 | rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(1, -1.6, -.9) * CFrame.Angles(math.rad(10), 0, math.rad(0)), 0.4) | |
1855 | cor.Weld.C0 = Lerp(cor.Weld.C0, CFrame.new(1.4, -3.5, -7) * CFrame.Angles(math.rad(-90), math.rad(-142), math.rad(20)), 1) | |
1856 | if Debounces.on == false then break end | |
1857 | wait() | |
1858 | end | |
1859 | if Debounces.CanAttack == false then | |
1860 | Debounces.CanAttack = true | |
1861 | Debounces.on = false | |
1862 | Debounces.NoIdl = false | |
1863 | end | |
1864 | end | |
1865 | end | |
1866 | end) | |
1867 | ---------------------------------------------------- | |
1868 | mouse.KeyDown:connect(function(key) | |
1869 | if key == "e" then | |
1870 | if Debounces.CanAttack == true then | |
1871 | Debounces.CanAttack = false | |
1872 | Debounces.on = true | |
1873 | Debounces.NoIdl = true | |
1874 | for i = 1, 10 do | |
1875 | rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(3, 1.7, 0) * CFrame.Angles(math.rad(90),math.rad(50),math.rad(90)), 0.4) | |
1876 | larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-3, 0.9, 0) * CFrame.Angles(math.rad(0),math.rad(0),math.rad(-20)), 0.4) | |
1877 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0, 3, 0) * CFrame.Angles(math.rad(-14),math.rad(0),0), 0.4) | |
1878 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1.2, 0) * CFrame.Angles(0, math.rad(0), 0), 0.4) | |
1879 | lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-1, -3, 0) * CFrame.Angles(0, 0, math.rad(-10)), 0.4) | |
1880 | rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(1, -3, 0) * CFrame.Angles(0, 0, math.rad(10)), 0.4) | |
1881 | cor.Weld.C0 = Lerp(cor.Weld.C0, CFrame.new(0, -1.5, -.9) * CFrame.Angles(math.rad(-90), math.rad(-90), math.rad(0)), 1) | |
1882 | if Debounces.on == false then break end | |
1883 | wait() | |
1884 | end | |
1885 | local HandCF = CFrame.new(char.Absolution.Handle.Position - Vector3.new(0,8.8,0)) * CFrame.Angles(math.rad(90), math.rad(0), math.rad(0)) | |
1886 | local rng = Instance.new("Part", char.Absolution.Handle) | |
1887 | rng.Anchored = true | |
1888 | rng.BrickColor = BrickColor.new("Dark blue") | |
1889 | rng.CanCollide = true | |
1890 | rng.FormFactor = 3 | |
1891 | rng.Name = "Ring" | |
1892 | rng.Size = Vector3.new(20, 10, 20) | |
1893 | rng.CanCollide = false | |
1894 | rng.Transparency = 0.35 | |
1895 | rng.TopSurface = 0 | |
1896 | rng.BottomSurface = 0 | |
1897 | rng.CFrame = HandCF | |
1898 | local rngm = Instance.new("SpecialMesh", rng) | |
1899 | rngm.MeshId = "http://www.roblox.com/asset/?id=3270017" | |
1900 | rngm.Scale = Vector3.new(1, 1, 2) | |
1901 | x = Instance.new("Sound", hed) | |
1902 | x.SoundId = "http://www.roblox.com/asset/?id=169445602" | |
1903 | x.Looped = false | |
1904 | x.Pitch = .7 | |
1905 | x.Volume = 1 | |
1906 | x1 = Instance.new("Sound", hed) | |
1907 | x1.SoundId = "http://www.roblox.com/asset/?id=169445602" | |
1908 | x1.Looped = false | |
1909 | x1.Pitch = .7 | |
1910 | x1.Volume = 1 | |
1911 | x:Play() | |
1912 | x1:Play() | |
1913 | rngto = rng.Touched:connect(function(ht) | |
1914 | hit = ht.Parent | |
1915 | if ht and hit:IsA("Model") then | |
1916 | if hit:FindFirstChild("Humanoid") then | |
1917 | if hit.Name ~= p.Name then | |
1918 | --[[if Debounces.Slashing == true and Debounces.Slashed == false then | |
1919 | Debounces.Slashed = true]]-- | |
1920 | local damfam = 999999 | |
1921 | hit.Humanoid.Health = hit.Humanoid.Health-damfam | |
1922 | local CF = hit.HumanoidRootPart.CFrame*CFrame.new(0,2,0) | |
1923 | MakeText("-"..damfam.."", "SourceSansLight", 2, 40, 0, 60, 139, 0, 209, CF) | |
1924 | hit:FindFirstChild("Humanoid").PlatformStand = true | |
1925 | hit:FindFirstChild("Torso").Velocity = hit:FindFirstChild("Torso").CFrame.lookVector * -420 | |
1926 | --Debounces.Slashed = false | |
1927 | --end | |
1928 | end | |
1929 | end | |
1930 | elseif ht and hit:IsA("Hat") then | |
1931 | if hit.Parent.Name ~= p.Name then | |
1932 | if hit.Parent:FindFirstChild("Humanoid") then | |
1933 | --[[ if Debounces.Slashing == true and Debounces.Slashed == false then | |
1934 | Debounces.Slashed = true]]-- | |
1935 | local damfam = 300 | |
1936 | hit.Humanoid.Health = hit.Humanoid.Health-damfam | |
1937 | local CF = hit.HumanoidRootPart.CFrame*CFrame.new(0,2,0) | |
1938 | MakeText("-"..damfam.."", "SourceSansLight", 2, 40, 0, 60, 139, 0, 209, CF) | |
1939 | hit:FindFirstChild("Humanoid").PlatformStand = true | |
1940 | hit:FindFirstChild("Torso").Velocity = hit:FindFirstChild("Torso").CFrame.lookVector * -120 | |
1941 | --Debounces.Slashed = false | |
1942 | end | |
1943 | end | |
1944 | end | |
1945 | end) | |
1946 | coroutine.wrap(function() | |
1947 | for i = 1, 60, 2 do | |
1948 | rngm.Scale = Vector3.new(2 + i*2, 2 + i*2, 1) | |
1949 | rng.Size = rngm.Scale | |
1950 | rng.CFrame = HandCF | |
1951 | rng.Transparency = i/60 | |
1952 | wait() | |
1953 | end | |
1954 | wait() | |
1955 | rng:Destroy() | |
1956 | end)() | |
1957 | for i = 1, 18 do | |
1958 | rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(3, 0.9, 0) * CFrame.Angles(math.rad(90),math.rad(0),math.rad(90)), 0.4) | |
1959 | larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-3, 0.9, 0) * CFrame.Angles(math.rad(0),math.rad(0),math.rad(-20)), 0.4) | |
1960 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0, 3, 0) * CFrame.Angles(math.rad(-14),math.rad(0),0), 0.4) | |
1961 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1.2, 0) * CFrame.Angles(0, math.rad(0), 0), 0.4) | |
1962 | lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-1, -3, 0) * CFrame.Angles(0, 0, math.rad(-10)), 0.4) | |
1963 | rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(1, -3, 0) * CFrame.Angles(0, 0, math.rad(10)), 0.4) | |
1964 | cor.Weld.C0 = Lerp(cor.Weld.C0, CFrame.new(0, -1.5, 0.2) * CFrame.Angles(math.rad(-90), math.rad(-90), math.rad(0)), 1) | |
1965 | if Debounces.on == false then break end | |
1966 | wait() | |
1967 | end | |
1968 | x:Destroy() | |
1969 | x1:Destroy() | |
1970 | if Debounces.CanAttack == false then | |
1971 | Debounces.CanAttack = true | |
1972 | Debounces.on = false | |
1973 | Debounces.NoIdl = false | |
1974 | end | |
1975 | end | |
1976 | end | |
1977 | end) | |
1978 | ---------------------------------------------------- | |
1979 | mouse.KeyDown:connect(function(key) | |
1980 | if key == "y" then | |
1981 | if Debounces.CanAttack == true then | |
1982 | Debounces.CanAttack = false | |
1983 | Debounces.on = true | |
1984 | Debounces.NoIdl = true | |
1985 | for i = 1, 8 do | |
1986 | rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(3,.9,0)*CFrame.Angles(math.rad(90),math.rad(0),math.rad(30)), 0.2) | |
1987 | larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-3,.9,0)*CFrame.Angles(math.rad(0),math.rad(0),math.rad(-90)), 0.2) | |
1988 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,3,-.2)*CFrame.Angles(math.rad(-14),math.rad(90),0), 0.2) | |
1989 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1.2, 0) * CFrame.Angles(0, math.rad(-90), 0), 0.2) | |
1990 | lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-1.2, -3, 0) * CFrame.Angles(0, 0, math.rad(-10)), 0.2) | |
1991 | rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(1.2, -3, 0) * CFrame.Angles(0, 0, math.rad(10)), 0.2) | |
1992 | cor.Weld.C0 = Lerp(cor.Weld.C0, CFrame.new(0, -1, -1.1) * CFrame.Angles(math.rad(-90), math.rad(-110), math.rad(-70)), 1) | |
1993 | if Debounces.on == false then break end | |
1994 | wait() | |
1995 | end | |
1996 | x = Instance.new("Sound",char) | |
1997 | x.SoundId = "rbxassetid://228343271" | |
1998 | x.Pitch = 1 | |
1999 | x.Volume = .8 | |
2000 | wait(.1) | |
2001 | x:Play() | |
2002 | Debounces.on = false | |
2003 | Debounces.Here = false | |
2004 | shot = shot + 1 | |
2005 | local rng = Instance.new("Part", char) | |
2006 | rng.Anchored = true | |
2007 | rng.BrickColor = BrickColor.new("Dark blue") | |
2008 | rng.CanCollide = false | |
2009 | rng.FormFactor = 3 | |
2010 | rng.Name = "Ring" | |
2011 | rng.Size = Vector3.new(1, 1, 1) | |
2012 | rng.Transparency = 0.35 | |
2013 | rng.TopSurface = 0 | |
2014 | rng.BottomSurface = 0 | |
2015 | rng2 = rng:clone() | |
2016 | rng3 = rng2:clone() | |
2017 | rng4 = rng2:clone() | |
2018 | local rngm = Instance.new("SpecialMesh", rng) | |
2019 | rngm.MeshId = "http://www.roblox.com/asset/?id=3270017" | |
2020 | rngm.Scale = Vector3.new(10, 10, 1) | |
2021 | rngm2 = rngm:clone() | |
2022 | rngm2.Scale = Vector3.new(5, 5, 1) | |
2023 | rngm3=rngm2:clone() | |
2024 | rngm3.Parent = rng3 | |
2025 | rngm3.Scale = Vector3.new(8, 8, 1) | |
2026 | rngm4 = rngm2:clone() | |
2027 | rngm4.Parent = rng4 | |
2028 | rngm4.Scale = Vector3.new(6, 6, 1) | |
2029 | local bem = Instance.new("Part", char) | |
2030 | bem.Anchored = true | |
2031 | bem.BrickColor = BrickColor.new("Dark blue") | |
2032 | bem.CanCollide = false | |
2033 | bem.FormFactor = 3 | |
2034 | bem.Name = "Beam" .. shot | |
2035 | bem.Size = Vector3.new(1, 1, 1) | |
2036 | bem.Transparency = 0.35 | |
2037 | bem.TopSurface = 0 | |
2038 | bem.BottomSurface = 0 | |
2039 | local bemm = Instance.new("SpecialMesh", bem) | |
2040 | bemm.MeshType = 4 | |
2041 | bemm.Scale = Vector3.new(1, 4, 4) | |
2042 | local out = Instance.new("Part", char) | |
2043 | out.Anchored = true | |
2044 | out.BrickColor = BrickColor.new("Dark blue") | |
2045 | out.CanCollide = false | |
2046 | out.FormFactor = 3 | |
2047 | out.Name = "Out" | |
2048 | out.Size = Vector3.new(4, 4, 4) | |
2049 | out.Transparency = 0.35 | |
2050 | out.TopSurface = 0 | |
2051 | out.BottomSurface = 0 | |
2052 | local outm = Instance.new("SpecialMesh", out) | |
2053 | outm.MeshId = "http://www.roblox.com/asset/?id=1033714" | |
2054 | outm.Scale = Vector3.new(4, 4, 4) | |
2055 | local bnd = Instance.new("Part", char) | |
2056 | bnd.Anchored = true | |
2057 | bnd.BrickColor = BrickColor.new("Dark blue") | |
2058 | bnd.CanCollide = false | |
2059 | bnd.FormFactor = 3 | |
2060 | bnd.Name = "Bend" | |
2061 | bnd.Size = Vector3.new(1, 1, 1) | |
2062 | bnd.Transparency = 1 | |
2063 | bnd.TopSurface = 0 | |
2064 | bnd.BottomSurface = 0 | |
2065 | local bndm = Instance.new("SpecialMesh", bnd) | |
2066 | bndm.MeshType = 3 | |
2067 | bndm.Scale = Vector3.new(8, 8, 8) | |
2068 | out.CFrame = larm.CFrame * CFrame.new(0, -2.7, 0) | |
2069 | bem.CFrame = out.CFrame * CFrame.new(0, -2.5, 0) * CFrame.Angles(0, 0, math.rad(90)) | |
2070 | bnd.CFrame = bem.CFrame * CFrame.new(0, 0, 0) | |
2071 | rng.CFrame = out.CFrame * CFrame.Angles(math.rad(90), 0, 0) | |
2072 | rng3.CFrame = rng.CFrame * CFrame.new(0, -.5, 0) | |
2073 | rng4.CFrame = rng3.CFrame * CFrame.new(0, -.5, 0) | |
2074 | Debounces.Shewt = true | |
2075 | coroutine.wrap(function() | |
2076 | for i = 1, 20, 0.2 do | |
2077 | rngm.Scale = Vector3.new(10 + i*2, 10 + i*2, 1) | |
2078 | rngm3.Scale = Vector3.new(8 + i*2, 8 + i*2, 1) | |
2079 | rngm4.Scale = Vector3.new(6 + i*2, 6 + i*2, 1) | |
2080 | rng.Transparency = i/20 | |
2081 | rng3.Transparency = 1/16 | |
2082 | rng4.Transparency = i/12 | |
2083 | wait() | |
2084 | end | |
2085 | wait() | |
2086 | rng:Destroy() | |
2087 | end)() | |
2088 | if Debounces.Shewt == true then | |
2089 | char:WaitForChild("Beam" .. shot).Touched:connect(function(ht) | |
2090 | hit = ht.Parent | |
2091 | if hit:IsA("Model") and hit:findFirstChild("Humanoid") then | |
2092 | if HasntTouched(hit.Name) == true and deb == false then | |
2093 | deb = true | |
2094 | coroutine.wrap(function() | |
2095 | hit:FindFirstChild("Humanoid").PlatformStand = true | |
2096 | hit:FindFirstChild("Torso").Velocity = char.Head.CFrame.lookVector * 180 | |
2097 | local damfam = 666 | |
2098 | hit.Humanoid.Health = hit.Humanoid.Health-damfam | |
2099 | local CF = hit.HumanoidRootPart.CFrame*CFrame.new(0,2,0) | |
2100 | MakeText("-"..damfam.."", "SourceSansLight", 2, 40, 0, 60, 139, 0, 209, CF) | |
2101 | end)() | |
2102 | table.insert(Touche, hit.Name) | |
2103 | deb = false | |
2104 | end | |
2105 | elseif hit:IsA("Hat") and hit.Parent:findFirstChild("Humanoid") then | |
2106 | if HasntTouched(hit.Parent.Name) == true and deb == false then | |
2107 | deb = true | |
2108 | coroutine.wrap(function() | |
2109 | hit.Parent:FindFirstChild("Humanoid").PlatformStand = true | |
2110 | hit.Parent:FindFirstChild("Torso").Velocity = char.Head.CFrame.lookVector * 180 | |
2111 | wait(1) | |
2112 | hit.Parent:FindFirstChild("Humanoid").PlatformStand = false | |
2113 | end)() | |
2114 | table.insert(Touche, hit.Parent.Name) | |
2115 | deb = false | |
2116 | for i, v in pairs(Touche) do | |
2117 | print(v) | |
2118 | end | |
2119 | end | |
2120 | end | |
2121 | end) | |
2122 | end | |
2123 | for i = 0, 260, 8 do | |
2124 | bem.Size = Vector3.new(i, 2, 2) | |
2125 | bem.CFrame = larm.CFrame * CFrame.new(0, -4.2 -(i/2), 0) * CFrame.Angles(0, 0, math.rad(90)) | |
2126 | bnd.CFrame = bem.CFrame * CFrame.new(-i/2, 0, 1.2) | |
2127 | bnd.Size = Vector3.new(1,1,1) | |
2128 | bndm.Scale = Vector3.new(8,8,8) | |
2129 | if i % 10 == 0 then | |
2130 | local newRng = rng2:Clone() | |
2131 | newRng.Parent = char | |
2132 | newRng.CFrame = larm.CFrame * CFrame.new(0, -4.2-i, 0) * CFrame.Angles(math.rad(90), 0, 0) | |
2133 | local newRngm = rngm2:clone() | |
2134 | newRngm.Parent=newRng | |
2135 | coroutine.wrap(function() | |
2136 | for i = 1, 10, 0.2 do | |
2137 | newRngm.Scale = Vector3.new(8 + i*2, 8 + i*2, 1) | |
2138 | newRng.Transparency = i/10 | |
2139 | wait() | |
2140 | end | |
2141 | wait() | |
2142 | newRng:Destroy() | |
2143 | end)() | |
2144 | end | |
2145 | wait() | |
2146 | end | |
2147 | wait() | |
2148 | Debounces.Shewt = false | |
2149 | bem:Destroy() | |
2150 | out:Destroy() | |
2151 | bnd:Destroy() | |
2152 | Debounces.Ready = false | |
2153 | for i, v in pairs(Touche) do | |
2154 | table.remove(Touche, i) | |
2155 | end | |
2156 | wait() | |
2157 | table.insert(Touche, char.Name) | |
2158 | Debounces.NoIdl = false | |
2159 | if Debounces.CanAttack == false then | |
2160 | Debounces.CanAttack = true | |
2161 | end | |
2162 | end | |
2163 | end | |
2164 | end) | |
2165 | ---------------------------------------------------- | |
2166 | sidz = {"231917888", "231917845", "231917806"} | |
2167 | ptz = {0.65, 0.7, 0.75, 0.8, 0.95, 1} | |
2168 | mouse.KeyDown:connect(function(key) | |
2169 | if key == "f" then | |
2170 | if Debounces.CanAttack == true then | |
2171 | Debounces.CanAttack = false | |
2172 | Debounces.on = true | |
2173 | Debounces.NoIdl = true | |
2174 | for i = 1, 5 do | |
2175 | rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(2.4, 2.4, 0)*CFrame.Angles(math.rad(170),math.rad(0),math.rad(-34)), 0.4) | |
2176 | larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-2.4, 2.4, 0)*CFrame.Angles(math.rad(170),math.rad(0),math.rad(34)), 0.4) | |
2177 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0, 3, .2)*CFrame.Angles(math.rad(16),math.rad(0),0), 0.4) | |
2178 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1.2, 0) * CFrame.Angles(math.rad(20), math.rad(0), 0), 0.4) | |
2179 | lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-1, -3, 0) * CFrame.Angles(math.rad(-20), math.rad(0), math.rad(0)), 0.4) | |
2180 | rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(1, -2, -1.4) * CFrame.Angles(math.rad(-20), math.rad(0), math.rad(0)), 0.4) | |
2181 | cor.Weld.C0 = Lerp(cor.Weld.C0, CFrame.new(0, -1.5, -.9) * CFrame.Angles(math.rad(-90), math.rad(-90), math.rad(0)), 1) | |
2182 | if Debounces.on == false then break end | |
2183 | wait() | |
2184 | end | |
2185 | z = Instance.new("Sound",char) | |
2186 | z.SoundId = "rbxassetid://"..sidz[math.random(1,#sidz)] | |
2187 | z.Pitch = ptz[math.random(1,#ptz)] | |
2188 | z.Volume = 1 | |
2189 | z1 = Instance.new("Sound",char) | |
2190 | z1.SoundId = z.SoundId | |
2191 | z1.Pitch = z.Pitch | |
2192 | z1.Volume = 1 | |
2193 | wait(1) | |
2194 | z:Play() | |
2195 | z1:Play() | |
2196 | chatServ:Chat(hed, "Die!", 2) | |
2197 | Stomp() | |
2198 | for i = 1, 10 do | |
2199 | rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(3, 0.9, .4)*CFrame.Angles(math.rad(-50),math.rad(0),math.rad(28)), 0.6) | |
2200 | larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-3, 0.9, .4)*CFrame.Angles(math.rad(-50),math.rad(0),math.rad(-28)), 0.6) | |
2201 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0, 3, -.2)*CFrame.Angles(math.rad(-26),math.rad(0),0), 0.6) | |
2202 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1.2, -.6) * CFrame.Angles(math.rad(-30), math.rad(0), 0), 0.6) | |
2203 | lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-1, -3, 0) * CFrame.Angles(math.rad(30), 0, math.rad(0)), 0.6) | |
2204 | rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(1, -2.8, -1.4) * CFrame.Angles(math.rad(30), 0, math.rad(0)), 0.6) | |
2205 | cor.Weld.C0 = Lerp(cor.Weld.C0, CFrame.new(0, -1.5, -.9) * CFrame.Angles(math.rad(-90), math.rad(-90), math.rad(0)), 1) | |
2206 | if Debounces.on == false then break end | |
2207 | wait() | |
2208 | end | |
2209 | if Debounces.CanAttack == false then | |
2210 | Debounces.CanAttack = true | |
2211 | Debounces.on = false | |
2212 | Debounces.NoIdl = false | |
2213 | end | |
2214 | end | |
2215 | end | |
2216 | end) | |
2217 | ---------------------------------------------------- | |
2218 | mouse.KeyDown:connect(function(key) | |
2219 | if key == "g" then | |
2220 | if Debounces.CanAttack == true then | |
2221 | Debounces.CanAttack = false | |
2222 | Debounces.on = true | |
2223 | Debounces.NoIdl = true | |
2224 | chrg = lleg.Touched:connect(function(ht) | |
2225 | hit = ht.Parent | |
2226 | if ht and hit:IsA("Model") then | |
2227 | if hit:FindFirstChild("Humanoid") then | |
2228 | if hit.Name ~= p.Name then | |
2229 | --[[if Debounces.Slashing == true and Debounces.Slashed == false then | |
2230 | Debounces.Slashed = true]]-- | |
2231 | local damfam = 666 | |
2232 | hit.Humanoid.Health = hit.Humanoid.Health-damfam | |
2233 | local CF = hit.HumanoidRootPart.CFrame*CFrame.new(0,2,0) | |
2234 | MakeText("-"..damfam.."", "SourceSansLight", 2, 40, 0, 60, 139, 0, 209, CF) | |
2235 | hit:FindFirstChild("Humanoid").PlatformStand = true | |
2236 | hit:FindFirstChild("Torso").Velocity = hit:FindFirstChild("Torso").CFrame.lookVector * -200 | |
2237 | --Debounces.Slashed = false | |
2238 | --end | |
2239 | end | |
2240 | end | |
2241 | elseif ht and hit:IsA("Hat") then | |
2242 | if hit.Parent.Name ~= p.Name then | |
2243 | if hit.Parent:FindFirstChild("Humanoid") then | |
2244 | --[[ if Debounces.Slashing == true and Debounces.Slashed == false then | |
2245 | Debounces.Slashed = true]]-- | |
2246 | hit.Parent:FindFirstChild("Humanoid"):TakeDamage(2) | |
2247 | hit:FindFirstChild("Humanoid").PlatformStand = true | |
2248 | hit:FindFirstChild("Torso").Velocity = hit:FindFirstChild("Torso").CFrame.lookVector * -200 | |
2249 | --Debounces.Slashed = false | |
2250 | end | |
2251 | end | |
2252 | end | |
2253 | end) | |
2254 | for i = 1, 14 do | |
2255 | rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(3, .9, 0)*CFrame.Angles(math.rad(0),math.rad(0),math.rad(30)), 0.5) | |
2256 | larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-2.6, .9, -.4)*CFrame.Angles(math.rad(90),math.rad(0),math.rad(50)), 0.5) | |
2257 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0, 3, -.2)*CFrame.Angles(math.rad(0),math.rad(90),math.rad(0)), 0.5) | |
2258 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1.2, 0) * CFrame.Angles(math.rad(0), math.rad(-90), math.rad(0)), 0.5) | |
2259 | lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-.8, -3, 0) * CFrame.Angles(math.rad(0),math.rad(0),math.rad(15)), 0.5) | |
2260 | rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(1.2, -3, 0) * CFrame.Angles(math.rad(0),math.rad(0),math.rad(15)), 0.5) | |
2261 | cor.Weld.C0 = Lerp(cor.Weld.C0, CFrame.new(0, -1.3, -1.1) * CFrame.Angles(math.rad(-60), math.rad(-90), math.rad(0)), 0.9) | |
2262 | if Debounces.on == false then break end | |
2263 | wait() | |
2264 | end | |
2265 | charge() | |
2266 | chatServ:Chat(hed, "Hurrah!", 2) | |
2267 | z = Instance.new("Sound",char) | |
2268 | z.SoundId = "rbxassetid://200632875" | |
2269 | z.Volume = 1 | |
2270 | z.Pitch = .8 | |
2271 | z1 = Instance.new("Sound",char) | |
2272 | z1.SoundId = "rbxassetid://200632875" | |
2273 | z1.Volume = 1 | |
2274 | z1.Pitch = .9 | |
2275 | z:Play() | |
2276 | z1:Play() | |
2277 | wait(1) | |
2278 | z:Destroy() | |
2279 | z1:Destroy() | |
2280 | chrg:disconnect() | |
2281 | if Debounces.CanAttack == false then | |
2282 | Debounces.CanAttack = true | |
2283 | Debounces.on = false | |
2284 | Debounces.NoIdl = false | |
2285 | end | |
2286 | end | |
2287 | end | |
2288 | end) | |
2289 | ---------------------------------------------------- | |
2290 | mouse.KeyDown:connect(function(key) | |
2291 | if key == "h" then | |
2292 | if Debounces.CanJoke == true then | |
2293 | Debounces.CanJoke = false | |
2294 | z = Instance.new("Sound", workspace) | |
2295 | z.SoundId = "rbxassetid://135017755" | |
2296 | z.Pitch = 1 | |
2297 | z.Volume = 5 | |
2298 | wait() | |
2299 | z:Play() | |
2300 | chatServ:Chat(hed, "How does it feel", 2) | |
2301 | wait(1.4) | |
2302 | chatServ:Chat(hed, "Knowing you have failed", 2) | |
2303 | wait(2) | |
2304 | chatServ:Chat(hed, "Those who depended on you?", 2) | |
2305 | wait(2) | |
2306 | z:Destroy() | |
2307 | if Debounces.CanJoke == false then | |
2308 | Debounces.CanJoke = true | |
2309 | end | |
2310 | end | |
2311 | end | |
2312 | end) | |
2313 | ---------------------------------------------------- | |
2314 | mouse.KeyDown:connect(function(key) | |
2315 | if key == "j" then | |
2316 | if Debounces.CanJoke == true then | |
2317 | Debounces.CanJoke = false | |
2318 | z = Instance.new("Sound",char) | |
2319 | z.SoundId = "rbxassetid://135017578" | |
2320 | chatServ:Chat(hed, "Can you feel your death approaching?", 2) | |
2321 | z.Pitch = .76 | |
2322 | z.Volume = 5 | |
2323 | wait() | |
2324 | z:Play() | |
2325 | wait(4) | |
2326 | z:Destroy() | |
2327 | if Debounces.CanJoke == false then | |
2328 | Debounces.CanJoke = true | |
2329 | end | |
2330 | end | |
2331 | end | |
2332 | end) | |
2333 | ---------------------------------------------------- | |
2334 | mouse.KeyDown:connect(function(key) | |
2335 | if key == "k" then | |
2336 | if Debounces.CanJoke == true then | |
2337 | Debounces.CanJoke = false | |
2338 | z = Instance.new("Sound", workspace) | |
2339 | z.SoundId = "rbxassetid://135014184" | |
2340 | z.Pitch = 1 | |
2341 | z.Volume = 5 | |
2342 | wait() | |
2343 | z:Play() | |
2344 | chatServ:Chat(hed, "All that you have known", 2) | |
2345 | wait(2.5) | |
2346 | chatServ:Chat(hed, "All that you have ever loved", 2) | |
2347 | wait(2.5) | |
2348 | chatServ:Chat(hed, "Shall die along with you!", 2) | |
2349 | wait(2.5) | |
2350 | z.Volume = 0 | |
2351 | z:Destroy() | |
2352 | if Debounces.CanJoke == false then | |
2353 | Debounces.CanJoke = true | |
2354 | end | |
2355 | end | |
2356 | end | |
2357 | end) | |
2358 | ---------------------------------------------------- | |
2359 | mouse.KeyDown:connect(function(key) | |
2360 | if key == "x" then | |
2361 | if Debounces.CanAttack == true then | |
2362 | Debounces.CanAttack = false | |
2363 | Debounces.NoIdl = true | |
2364 | Debounces.on = true | |
2365 | Debounces.ks = true | |
2366 | for i = 1, 5 do | |
2367 | rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(3,.9,0)*CFrame.Angles(math.rad(90),math.rad(0),math.rad(20)), 0.6) | |
2368 | larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-2.7,.9,-.5)*CFrame.Angles(math.rad(40),math.rad(0),math.rad(20)), 0.6) | |
2369 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,3,-.4)*CFrame.Angles(math.rad(-26),math.rad(0),0), 0.6) | |
2370 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1.2, 0) * CFrame.Angles(math.rad(-10), math.rad(0), 0), 0.6) | |
2371 | lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-1, -3, 0) * CFrame.Angles(math.rad(10), math.rad(0), math.rad(0)), 0.6) | |
2372 | rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(1, -2.7, .6) * CFrame.Angles(math.rad(-70), math.rad(0), math.rad(0)), 0.6) | |
2373 | cor.Weld.C0 = Lerp(cor.Weld.C0, CFrame.new(0, -1, -1.1) * CFrame.Angles(math.rad(-90), math.rad(-110), math.rad(-70)), 1) | |
2374 | if Debounces.on == false then break end | |
2375 | wait() | |
2376 | end | |
2377 | z = Instance.new("Sound",hed) | |
2378 | z.SoundId = "rbxassetid://169445092" | |
2379 | z.Volume = 1 | |
2380 | wait(0.1) | |
2381 | z:Play() | |
2382 | kik = rleg.Touched:connect(function(ht) | |
2383 | hit = ht.Parent | |
2384 | if ht and hit:IsA("Model") then | |
2385 | if hit:FindFirstChild("Humanoid") then | |
2386 | if hit.Name ~= p.Name then | |
2387 | --[[if Debounces.Slashing == true and Debounces.Slashed == false then | |
2388 | Debounces.Slashed = true]]-- | |
2389 | if Debounces.ks==true then | |
2390 | z = Instance.new("Sound",hed) | |
2391 | z.SoundId = "rbxassetid://169380525" | |
2392 | z.Volume = 1 | |
2393 | z:Play() | |
2394 | Debounces.ks=false | |
2395 | end | |
2396 | local damfam = 1 | |
2397 | hit.Humanoid.Health = hit.Humanoid.Health-damfam | |
2398 | local CF = hit.HumanoidRootPart.CFrame*CFrame.new(0,2,0) | |
2399 | MakeText("-"..damfam.."", "SourceSansLight", 2, 40, 0, 60, 139, 0, 209, CF) | |
2400 | hit:FindFirstChild("Humanoid").PlatformStand = true | |
2401 | hit:FindFirstChild("Torso").Velocity = hit:FindFirstChild("Torso").CFrame.lookVector * -7000 | |
2402 | --Debounces.Slashed = false | |
2403 | --end | |
2404 | end | |
2405 | end | |
2406 | elseif ht and hit:IsA("Hat") then | |
2407 | if hit.Parent.Name ~= p.Name then | |
2408 | if hit.Parent:FindFirstChild("Humanoid") then | |
2409 | --[[if Debounces.Slashing == true and Debounces.Slashed == false then | |
2410 | Debounces.Slashed = true]]-- | |
2411 | hit.Parent:FindFirstChild("Humanoid"):TakeDamage(2) | |
2412 | hit:FindFirstChild("Humanoid").PlatformStand = true | |
2413 | hit:FindFirstChild("Torso").Velocity = hit:FindFirstChild("Torso").CFrame.lookVector * -00 | |
2414 | --Debounces.Slashed = false | |
2415 | --end | |
2416 | end | |
2417 | end | |
2418 | end | |
2419 | end) | |
2420 | chatServ:Chat(hed, "Outta my way!", 2) | |
2421 | for i = 1, 8 do | |
2422 | rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(3,.9,0)*CFrame.Angles(math.rad(90),math.rad(0),math.rad(20)), 0.7) | |
2423 | larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-3,.9,0)*CFrame.Angles(math.rad(-50),math.rad(0),math.rad(-20)), 0.7) | |
2424 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,3,.2)*CFrame.Angles(math.rad(8),math.rad(0),0), 0.7) | |
2425 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1.2, 0) * CFrame.Angles(math.rad(16), math.rad(0), 0), 0.7) | |
2426 | lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-1, -3, 0) * CFrame.Angles(math.rad(-16), math.rad(0), math.rad(0)), 0.7) | |
2427 | rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(1, -2.6, -1.4) * CFrame.Angles(math.rad(60), math.rad(0), math.rad(0)), 0.7) | |
2428 | cor.Weld.C0 = Lerp(cor.Weld.C0, CFrame.new(0, -1, -1.1) * CFrame.Angles(math.rad(-90), math.rad(-110), math.rad(-70)), 1) | |
2429 | if Debounces.on == false then break end | |
2430 | wait() | |
2431 | end | |
2432 | kik:disconnect() | |
2433 | if Debounces.CanAttack == false then | |
2434 | Debounces.CanAttack = true | |
2435 | Debounces.on = false | |
2436 | Debounces.NoIdl = false | |
2437 | end | |
2438 | end | |
2439 | end | |
2440 | end) | |
2441 | ---------------------------------------------------- | |
2442 | local slow = false | |
2443 | mouse.KeyDown:connect(function(key) | |
2444 | if key == "n" then | |
2445 | if not slow then | |
2446 | slow = true | |
2447 | hum.WalkSpeed = 8 | |
2448 | else | |
2449 | slow = false | |
2450 | hum.WalkSpeed = 80 | |
2451 | end | |
2452 | end | |
2453 | end) | |
2454 | ||
2455 | mouse.KeyDown:connect(function(key) | |
2456 | if key == "c" then | |
2457 | if Debounces.CanAttack == true then | |
2458 | Debounces.CanAttack = false | |
2459 | Debounces.NoIdl = true | |
2460 | Debounces.on = true | |
2461 | SIDZ = {"231917744", "231917742"} | |
2462 | PTZ = {0.7, 0.8, 0.9, 1} | |
2463 | for i = 1, 20 do | |
2464 | wait() | |
2465 | for i,v in pairs(char.Absolution:children()) do | |
2466 | if v:IsA("Part") or v:IsA("WedgePart") then | |
2467 | v.Transparency = v.Transparency + 0.05 | |
2468 | end | |
2469 | end | |
2470 | end | |
2471 | function FindNearestTorso(Position,Distance,SinglePlayer) | |
2472 | if SinglePlayer then return(SinglePlayer.Torso.CFrame.p -Position).magnitude < Distance end | |
2473 | local List = {} | |
2474 | for i,v in pairs(workspace:GetChildren())do | |
2475 | if v:IsA("Model")then | |
2476 | if v:findFirstChild("Torso")then | |
2477 | if v ~= char then | |
2478 | if(v.Torso.Position -Position).magnitude <= Distance then | |
2479 | table.insert(List,v) | |
2480 | end | |
2481 | end | |
2482 | end | |
2483 | end | |
2484 | end | |
2485 | return List | |
2486 | end | |
2487 | GroundPound() | |
2488 | for i = 1, 5 do | |
2489 | rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(3,.9,1)*CFrame.Angles(math.rad(90),math.rad(0),math.rad(50)), 0.7) | |
2490 | larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-2.2,.9,-2.2)*CFrame.Angles(math.rad(90),math.rad(0),math.rad(20)), 0.7) | |
2491 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,3,-.2)*CFrame.Angles(math.rad(-14),math.rad(20),0), 0.6) | |
2492 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -2.2, 0) * CFrame.Angles(math.rad(-80), math.rad(-20), 0), 0.6) | |
2493 | lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-1.2, -2, -.4) * CFrame.Angles(math.rad(80), 0, math.rad(-30)), 0.6) | |
2494 | rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(1.2, -2, -1) * CFrame.Angles(math.rad(80), 0, math.rad(10)), 0.6) | |
2495 | cor.Weld.C0 = Lerp(cor.Weld.C0, CFrame.new(0, -1, -1.1) * CFrame.Angles(math.rad(-90), math.rad(-110), math.rad(-70)), 1) | |
2496 | if Debounces.on == false then break end | |
2497 | wait() | |
2498 | end | |
2499 | GroundPound() | |
2500 | for i = 1, 5 do | |
2501 | rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(2.2,.9,-2.2)*CFrame.Angles(math.rad(90),math.rad(0),math.rad(-20)), 0.7) | |
2502 | larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-3,.9,1)*CFrame.Angles(math.rad(90),math.rad(0),math.rad(-50)), 0.7) | |
2503 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,3,-.2)*CFrame.Angles(math.rad(-14),math.rad(-20),0), 0.6) | |
2504 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -2.2, 0) * CFrame.Angles(math.rad(-80), math.rad(20), 0), 0.6) | |
2505 | lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-1.2, -2, -1) * CFrame.Angles(math.rad(80), 0, math.rad(10)), 0.6) | |
2506 | rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(1.2, -2, -.4) * CFrame.Angles(math.rad(80), 0, math.rad(30)), 0.6) | |
2507 | cor.Weld.C0 = Lerp(cor.Weld.C0, CFrame.new(0, -1, -1.1) * CFrame.Angles(math.rad(-90), math.rad(-110), math.rad(-70)), 1) | |
2508 | if Debounces.on == false then break end | |
2509 | wait() | |
2510 | end | |
2511 | GroundPound() | |
2512 | for i = 1, 5 do | |
2513 | rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(3,.9,1)*CFrame.Angles(math.rad(90),math.rad(0),math.rad(50)), 0.7) | |
2514 | larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-2.2,.9,-2.2)*CFrame.Angles(math.rad(90),math.rad(0),math.rad(20)), 0.7) | |
2515 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,3,-.2)*CFrame.Angles(math.rad(-14),math.rad(20),0), 0.6) | |
2516 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -2.2, 0) * CFrame.Angles(math.rad(-80), math.rad(-20), 0), 0.6) | |
2517 | lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-1.2, -2, -.4) * CFrame.Angles(math.rad(80), 0, math.rad(-30)), 0.6) | |
2518 | rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(1.2, -2, -1) * CFrame.Angles(math.rad(80), 0, math.rad(10)), 0.6) | |
2519 | cor.Weld.C0 = Lerp(cor.Weld.C0, CFrame.new(0, -1, -1.1) * CFrame.Angles(math.rad(-90), math.rad(-110), math.rad(-70)), 1) | |
2520 | if Debounces.on == false then break end | |
2521 | wait() | |
2522 | end | |
2523 | GroundPound() | |
2524 | for i = 1, 5 do | |
2525 | rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(2.2,.9,-2.2)*CFrame.Angles(math.rad(90),math.rad(0),math.rad(-20)), 0.7) | |
2526 | larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-3,.9,1)*CFrame.Angles(math.rad(90),math.rad(0),math.rad(-50)), 0.7) | |
2527 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,3,-.2)*CFrame.Angles(math.rad(-14),math.rad(-20),0), 0.6) | |
2528 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -2.2, 0) * CFrame.Angles(math.rad(-80), math.rad(20), 0), 0.6) | |
2529 | lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-1.2, -2, -1) * CFrame.Angles(math.rad(80), 0, math.rad(10)), 0.6) | |
2530 | rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(1.2, -2, -.4) * CFrame.Angles(math.rad(80), 0, math.rad(30)), 0.6) | |
2531 | cor.Weld.C0 = Lerp(cor.Weld.C0, CFrame.new(0, -1, -1.1) * CFrame.Angles(math.rad(-90), math.rad(-110), math.rad(-70)), 1) | |
2532 | if Debounces.on == false then break end | |
2533 | wait() | |
2534 | end | |
2535 | GroundPound() | |
2536 | for i = 1, 5 do | |
2537 | rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(3,.9,1)*CFrame.Angles(math.rad(90),math.rad(0),math.rad(50)), 0.7) | |
2538 | larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-2.2,.9,-2.2)*CFrame.Angles(math.rad(90),math.rad(0),math.rad(20)), 0.7) | |
2539 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,3,-.2)*CFrame.Angles(math.rad(-14),math.rad(20),0), 0.6) | |
2540 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -2.2, 0) * CFrame.Angles(math.rad(-80), math.rad(-20), 0), 0.6) | |
2541 | lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-1.2, -2, -.4) * CFrame.Angles(math.rad(80), 0, math.rad(-30)), 0.6) | |
2542 | rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(1.2, -2, -1) * CFrame.Angles(math.rad(80), 0, math.rad(10)), 0.6) | |
2543 | cor.Weld.C0 = Lerp(cor.Weld.C0, CFrame.new(0, -1, -1.1) * CFrame.Angles(math.rad(-90), math.rad(-110), math.rad(-70)), 1) | |
2544 | if Debounces.on == false then break end | |
2545 | wait() | |
2546 | end | |
2547 | GroundPound() | |
2548 | for i = 1, 5 do | |
2549 | rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(2.2,.9,-2.2)*CFrame.Angles(math.rad(90),math.rad(0),math.rad(-20)), 0.7) | |
2550 | larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-3,.9,1)*CFrame.Angles(math.rad(90),math.rad(0),math.rad(-50)), 0.7) | |
2551 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,3,-.2)*CFrame.Angles(math.rad(-14),math.rad(-20),0), 0.6) | |
2552 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -2.2, 0) * CFrame.Angles(math.rad(-80), math.rad(20), 0), 0.6) | |
2553 | lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-1.2, -2, -1) * CFrame.Angles(math.rad(80), 0, math.rad(10)), 0.6) | |
2554 | rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(1.2, -2, -.4) * CFrame.Angles(math.rad(80), 0, math.rad(30)), 0.6) | |
2555 | cor.Weld.C0 = Lerp(cor.Weld.C0, CFrame.new(0, -1, -1.1) * CFrame.Angles(math.rad(-90), math.rad(-110), math.rad(-70)), 1) | |
2556 | if Debounces.on == false then break end | |
2557 | wait() | |
2558 | end | |
2559 | for i = 1, 8 do | |
2560 | rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(2.4, 2.4, 0)*CFrame.Angles(math.rad(170),math.rad(0),math.rad(-10)), 0.4) | |
2561 | larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-2.4, 2.4, 0)*CFrame.Angles(math.rad(170),math.rad(0),math.rad(10)), 0.4) | |
2562 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0, 3, .2)*CFrame.Angles(math.rad(16),math.rad(0),0), 0.4) | |
2563 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, 2, 0) * CFrame.Angles(math.rad(20), math.rad(0), 0), 0.4) | |
2564 | lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-1, -3, 0) * CFrame.Angles(math.rad(-20), math.rad(0), math.rad(0)), 0.4) | |
2565 | rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(1, -2, -1.4) * CFrame.Angles(math.rad(-20), math.rad(0), math.rad(0)), 0.4) | |
2566 | cor.Weld.C0 = Lerp(cor.Weld.C0, CFrame.new(0, -1.5, -.9) * CFrame.Angles(math.rad(-90), math.rad(-90), math.rad(0)), 1) | |
2567 | if Debounces.on == false then break end | |
2568 | wait() | |
2569 | end | |
2570 | for i,v in pairs(FindNearestTorso(torso.CFrame.p,25))do | |
2571 | if v:FindFirstChild('Humanoid') then | |
2572 | local damfam = math.random(9000,99999) | |
2573 | v.Humanoid.Health = v.Humanoid.Health-damfam | |
2574 | local CF = v.HumanoidRootPart.CFrame*CFrame.new(0,2,0) | |
2575 | MakeText("-"..damfam.."", "SourceSansLight", 2, 40, 0, 60, 139, 0, 209, CF) | |
2576 | v.Humanoid.PlatformStand = true | |
2577 | v:FindFirstChild("Torso").Velocity = hed.CFrame.lookVector * 100 | |
2578 | end | |
2579 | end | |
2580 | x = Instance.new("Sound",char) | |
2581 | x.SoundId = "rbxassetid://"..SIDZ[math.random(1,#SIDZ)] | |
2582 | x.Pitch = PTZ[math.random(1,#PTZ)] | |
2583 | x.Volume = 1 | |
2584 | wait(0.1) | |
2585 | x:Play() | |
2586 | Crater(hed,20) | |
2587 | for i = 1, 6 do | |
2588 | rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(2.4, 3.2, -.5)*CFrame.Angles(math.rad(160),math.rad(0),math.rad(-10)), 0.6) | |
2589 | larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-2.4, 3.2, -.5)*CFrame.Angles(math.rad(160),math.rad(0),math.rad(10)), 0.6) | |
2590 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0, 3, .2)*CFrame.Angles(math.rad(16),math.rad(0),0), 0.6) | |
2591 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -5, 0) * CFrame.Angles(math.rad(-90), math.rad(0), 0), 0.6) | |
2592 | lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-1, -3, .4) * CFrame.Angles(math.rad(-20), math.rad(0), math.rad(0)), 0.6) | |
2593 | rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(1, -2, .4) * CFrame.Angles(math.rad(-20), math.rad(0), math.rad(0)), 0.6) | |
2594 | cor.Weld.C0 = Lerp(cor.Weld.C0, CFrame.new(0, -1.5, -.9) * CFrame.Angles(math.rad(-90), math.rad(-90), math.rad(0)), 1) | |
2595 | if Debounces.on == false then break end | |
2596 | wait() | |
2597 | end | |
2598 | if Debounces.CanAttack == false then | |
2599 | Debounces.CanAttack = true | |
2600 | Debounces.on = false | |
2601 | Debounces.NoIdl = false | |
2602 | for i = 1, 20 do | |
2603 | wait() | |
2604 | for i,v in pairs(char.Absolution:children()) do | |
2605 | if v:IsA("Part") or v:IsA("WedgePart") then | |
2606 | v.Transparency = v.Transparency - 0.05 | |
2607 | end | |
2608 | end | |
2609 | end | |
2610 | end | |
2611 | end | |
2612 | end | |
2613 | end) | |
2614 | ----------------------------------------------------176349813 | |
2615 | mouse.KeyDown:connect(function(key) | |
2616 | if key == "b" then | |
2617 | hum.WalkSpeed = 0.01 | |
2618 | if Debounces.CanAttack == true then | |
2619 | Debounces.CanAttack = false | |
2620 | Debounces.NoIdl = true | |
2621 | Debounces.on = true | |
2622 | for i = 1,5 do | |
2623 | rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(3, 1, 0) * CFrame.Angles(math.rad(75), 0, math.rad(-30)), 0.1) | |
2624 | larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-3, 1, 0) * CFrame.Angles(math.rad(75), 0, math.rad(30)), 0.1) | |
2625 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0, 3, 0) * CFrame.Angles(math.rad(-20), math.rad(0), 0), 0.1) | |
2626 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1.1, 0) * CFrame.Angles(math.rad(-30), math.rad(0), 0), 0.1) | |
2627 | lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-1, -3, 0) * CFrame.Angles (math.rad(30), 0, math.rad(-5)), 0.1) | |
2628 | rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(1, -3, 0) * CFrame.Angles (math.rad(30), 0, math.rad(5)), 0.1) | |
2629 | cor.Weld.C0 = Lerp(cor.Weld.C0, CFrame.new(0, -1.85, -.9) * CFrame.Angles(math.rad(-90), math.rad(-90), math.rad(0)), 1) | |
2630 | if Debounces.on == false then break end | |
2631 | wait() | |
2632 | end | |
2633 | wait(1) | |
2634 | v = Instance.new("Sound") | |
2635 | v.SoundId = "rbxassetid://528145698" | |
2636 | v.Parent = char | |
2637 | v.Looped = false | |
2638 | v.Pitch = 1.04 | |
2639 | v.Volume = 7 | |
2640 | wait(0.1) | |
2641 | v:Play() | |
2642 | ||
2643 | if Daytime == true then | |
2644 | Daytime = false | |
2645 | l.TimeOfDay = 24 | |
2646 | else | |
2647 | Daytime = true | |
2648 | l.TimeOfDay = 12 | |
2649 | l.OutdoorAmbient = Color3.new(0.498039, 0.498039, 0.498039) | |
2650 | end | |
2651 | ||
2652 | local Shockwave = function() | |
2653 | local rng1 = Instance.new("Part", char) | |
2654 | rng1.Anchored = true | |
2655 | rng1.BrickColor = BrickColor.new("Dark blue") | |
2656 | rng1.Material = "Neon" | |
2657 | rng1.CanCollide = false | |
2658 | rng1.FormFactor = 3 | |
2659 | rng1.Name = "Ring" | |
2660 | rng1.Size = Vector3.new(1, 1, 1) | |
2661 | rng1.Transparency = 0.35 | |
2662 | rng1.TopSurface = 0 | |
2663 | rng1.BottomSurface = 0 | |
2664 | local rngm1 = Instance.new("SpecialMesh", rng) | |
2665 | rngm1.MeshId = "http://www.roblox.com/asset/?id=3270017" | |
2666 | rngm1.Scale = Vector3.new(10, 10, 1) | |
2667 | rng1.CFrame = CFrame.new(0, -2, 0) * CFrame.Angles(0, 0, 0) | |
2668 | local Wave = Instance.new("Part", game.Workspace--[[?]]) | |
2669 | Wave.Name = "Shockwave" | |
2670 | Wave.BrickColor = BrickColor.new("Dark blue") | |
2671 | Wave.Material = "Neon" | |
2672 | Wave.Size = Vector3.new(1, 1, 1) | |
2673 | Wave.Shape = "Ball" | |
2674 | Wave.CanCollide = false | |
2675 | Wave.Anchored = true | |
2676 | Wave.TopSurface = 0 | |
2677 | Wave.BottomSurface = 0 | |
2678 | Wave.Touched:connect(function(hit) | |
2679 | if hit.Parent:findFirstChild("Humanoid") and hit.Parent:findFirstChild("Torso") then | |
2680 | local Occlude = true | |
2681 | local NotOccludes = { | |
2682 | char.Name; | |
2683 | "Wings"; | |
2684 | "Scythe"; | |
2685 | "Thingy"; | |
2686 | "Thingy2"; -- put all of the names in a table pls | |
2687 | } | |
2688 | for i,v in pairs(NotOccludes) do | |
2689 | if hit.Parent.Name == v then | |
2690 | Occlude = false | |
2691 | end | |
2692 | end | |
2693 | --if hit.Parent.Name ~= char.Name and hit.Name ~= "Wings" and hit.Name ~= "Scythe" and hit.Name ~= "Thingy" and hit.Name ~= "Thingy2" and hit.Parent.Name ~= "Wings" and hit.Parent.Name ~= "Scythe" and hit.Parent.Name ~= "Thingy" and hit.Parent.Name ~= "Thingy2" then | |
2694 | if Occlude then | |
2695 | hit.Parent:findFirstChild("Humanoid").Health = hit.Parent:findFirstChild("Humanoid").Health - 10000 | |
2696 | hit.Parent:findFirstChild("Torso").Velocity = hit.Parent:findFirstChild("Torso").CFrame.lookVector * -12000 | |
2697 | end | |
2698 | end | |
2699 | end) | |
2700 | ||
2701 | Instance.new("SpecialMesh", Wave).MeshType = "Sphere" | |
2702 | ||
2703 | coroutine.wrap(function() | |
2704 | for i = 1, 5, 0.2 do | |
2705 | rngm1.Scale = Vector3.new(10 + i*2, 10 + i*2, 1) | |
2706 | rng1.Transparency = i/20 | |
2707 | wait() | |
2708 | end | |
2709 | wait() | |
2710 | rng1:Destroy() | |
2711 | end)() | |
2712 | ||
2713 | Delay(0, function() | |
2714 | ||
2715 | if Daytime == false then | |
2716 | for i = 1, 50, 5 do | |
2717 | Wave.Size = Vector3.new(1 + i, 1 + i, 1 + i) | |
2718 | Wave.CFrame = char.Torso.CFrame | |
2719 | local t = i / 50 | |
2720 | Wave.Transparency = t | |
2721 | wait() | |
2722 | end | |
2723 | else | |
2724 | for i = 1, 50, 5 do | |
2725 | Wave.Size = Vector3.new(1 + i, 1 + i, 1 + i) | |
2726 | Wave.CFrame = char.Torso.CFrame | |
2727 | local t = i / 50 | |
2728 | Wave.Transparency = t | |
2729 | wait() | |
2730 | end | |
2731 | end | |
2732 | Wave:Destroy() | |
2733 | end) | |
2734 | Delay(0, function() | |
2735 | while wait() do | |
2736 | if Wave ~= nil then | |
2737 | Wave.CFrame = char.Torso.CFrame | |
2738 | else | |
2739 | break | |
2740 | end | |
2741 | end | |
2742 | end) | |
2743 | end | |
2744 | Shockwave() | |
2745 | for i = 1, 5 do | |
2746 | larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-3.2, .9, 0) * CFrame.Angles(math.rad(120), math.rad(0), math.rad(-130)), 0.2) | |
2747 | rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(3.2, .9, 0) * CFrame.Angles(math.rad(120), math.rad(0), math.rad(70)), 0.2) | |
2748 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0, 3, .2) * CFrame.Angles(math.rad(45), math.rad(30), 0), 0.1) | |
2749 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1.1, 0) * CFrame.Angles(math.rad(30), math.rad(20), math.rad(0)), 0.2) | |
2750 | lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-1.2, -3, 0) * CFrame.Angles(math.rad(-30), 0, math.rad(-40)), 0.1) | |
2751 | rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(1.2, -3, 0) * CFrame.Angles(math.rad(-30), 0, math.rad(0)), 0.1) | |
2752 | if Debounces.on == false then break end | |
2753 | wait() | |
2754 | end | |
2755 | for i = 1, 5 do | |
2756 | larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-3, .9, 0) * CFrame.Angles(math.rad(120), math.rad(0), math.rad(-70)), 0.2) | |
2757 | rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(3, .9, 0) * CFrame.Angles(math.rad(120), math.rad(0), math.rad(130)), 0.2) | |
2758 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0, 3, .2) * CFrame.Angles(math.rad(45), math.rad(-30), 0), 0.1) | |
2759 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1.1, 0) * CFrame.Angles(math.rad(30), math.rad(-20), math.rad(0)), 0.2) | |
2760 | lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-1.2, -3, 0) * CFrame.Angles(math.rad(-30), 0, math.rad(0)), 0.1) | |
2761 | rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(1.2, -3, 0) * CFrame.Angles(math.rad(-30), 0, math.rad(40)), 0.1) | |
2762 | if Debounces.on == false then break end | |
2763 | wait() | |
2764 | end | |
2765 | for i = 1, 5 do | |
2766 | larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-3.2, .9, 0) * CFrame.Angles(math.rad(120), math.rad(0), math.rad(-130)), 0.2) | |
2767 | rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(3.2, .9, 0) * CFrame.Angles(math.rad(120), math.rad(0), math.rad(70)), 0.2) | |
2768 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0, 3, .2) * CFrame.Angles(math.rad(45), math.rad(30), 0), 0.1) | |
2769 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1.1, 0) * CFrame.Angles(math.rad(30), math.rad(20), math.rad(0)), 0.2) | |
2770 | lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-1.2, -3, 0) * CFrame.Angles(math.rad(-30), 0, math.rad(-40)), 0.1) | |
2771 | rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(1.2, -3, 0) * CFrame.Angles(math.rad(-30), 0, math.rad(0)), 0.1) | |
2772 | if Debounces.on == false then break end | |
2773 | wait() | |
2774 | end | |
2775 | for i = 1, 5 do | |
2776 | larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-3, .9, 0) * CFrame.Angles(math.rad(120), math.rad(0), math.rad(-70)), 0.2) | |
2777 | rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(3, .9, 0) * CFrame.Angles(math.rad(120), math.rad(0), math.rad(130)), 0.2) | |
2778 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0, 3, .2) * CFrame.Angles(math.rad(45), math.rad(-30), 0), 0.1) | |
2779 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1.1, 0) * CFrame.Angles(math.rad(30), math.rad(-20), math.rad(0)), 0.2) | |
2780 | lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-1.2, -3, 0) * CFrame.Angles(math.rad(-30), 0, math.rad(0)), 0.1) | |
2781 | rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(1.2, -3, 0) * CFrame.Angles(math.rad(-30), 0, math.rad(40)), 0.1) | |
2782 | if Debounces.on == false then break end | |
2783 | wait() | |
2784 | end | |
2785 | for i = 1, 5 do | |
2786 | larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-3.2, .9, 0) * CFrame.Angles(math.rad(120), math.rad(0), math.rad(-130)), 0.2) | |
2787 | rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(3.2, .9, 0) * CFrame.Angles(math.rad(120), math.rad(0), math.rad(70)), 0.2) | |
2788 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0, 3, .2) * CFrame.Angles(math.rad(45), math.rad(30), 0), 0.1) | |
2789 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1.1, 0) * CFrame.Angles(math.rad(30), math.rad(20), math.rad(0)), 0.2) | |
2790 | lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-1.2, -3, 0) * CFrame.Angles(math.rad(-30), 0, math.rad(-40)), 0.1) | |
2791 | rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(1.2, -3, 0) * CFrame.Angles(math.rad(-30), 0, math.rad(0)), 0.1) | |
2792 | if Debounces.on == false then break end | |
2793 | wait() | |
2794 | end | |
2795 | for i = 1, 5 do | |
2796 | larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-3, .9, 0) * CFrame.Angles(math.rad(120), math.rad(0), math.rad(-70)), 0.2) | |
2797 | rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(3, .9, 0) * CFrame.Angles(math.rad(120), math.rad(0), math.rad(130)), 0.2) | |
2798 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0, 3, .2) * CFrame.Angles(math.rad(45), math.rad(-30), 0), 0.1) | |
2799 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1.1, 0) * CFrame.Angles(math.rad(30), math.rad(-20), math.rad(0)), 0.2) | |
2800 | lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-1.2, -3, 0) * CFrame.Angles(math.rad(-30), 0, math.rad(0)), 0.1) | |
2801 | rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(1.2, -3, 0) * CFrame.Angles(math.rad(-30), 0, math.rad(40)), 0.1) | |
2802 | if Debounces.on == false then break end | |
2803 | wait() | |
2804 | end | |
2805 | wait(.5) | |
2806 | Debounces.NoIdl = false | |
2807 | hum.WalkSpeed = 80 | |
2808 | Debounces.on = false | |
2809 | wait() | |
2810 | if Debounces.CanAttack == false then | |
2811 | Debounces.CanAttack = true | |
2812 | v:Destroy() | |
2813 | end | |
2814 | end | |
2815 | end | |
2816 | end) | |
2817 | ---------------------------------------------------- | |
2818 | mouse.KeyDown:connect(function(key) | |
2819 | if key == "m" then | |
2820 | hum.WalkSpeed = 0 | |
2821 | if Debounces.CanAttack == true then | |
2822 | chatServ:Chat(hed, "Ha!", 2) | |
2823 | Debounces.CanAttack = false | |
2824 | Debounces.on = true | |
2825 | Debounces.NoIdl = true | |
2826 | --[[x = Instance.new("Sound",char) | |
2827 | x.SoundId = "http://www.roblox.com/asset/?id=169445572" | |
2828 | x.Looped = false | |
2829 | x.Pitch = 1.1 | |
2830 | x.Volume = 1 | |
2831 | x:Play() | |
2832 | x2 = Instance.new("Sound",char) | |
2833 | x2.SoundId = "http://www.roblox.com/asset/?id=169380495" | |
2834 | x2.Looped = false | |
2835 | x2.Pitch = .7 | |
2836 | x2.Volume = 1 | |
2837 | wait(.1) | |
2838 | x:Play() | |
2839 | x2:Play() | |
2840 | for i = 1, 20 do | |
2841 | rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(3,0.6,-.2) *CFrame.Angles (math.rad (45),math.rad(0),math.rad(32)), 0.2) | |
2842 | larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-3,1,0)*CFrame.Angles(math.rad (0),math.rad(0),math.rad(-20)), 0.2) | |
2843 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,3,-.4)*CFrame.Angles(math.rad (- 8),math.rad(-40), math.rad(-8)),0.2) | |
2844 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -3.2, 0) * CFrame.Angles (math.rad (-50), math.rad(40), math.rad(0)), 0.2) | |
2845 | lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.8, .4, -1.6) * CFrame.Angles (math.rad (30), 0, math.rad(20)), 0.2) | |
2846 | rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(1.6, -2, 0) * CFrame.Angles (math.rad(- 10), math.rad(-40), math.rad(0)), 0.2) | |
2847 | cor.Weld.C0 = Lerp(cor.Weld.C0, CFrame.new(0, -1.3, -1.1) * CFrame.Angles(math.rad(-60), math.rad(-90), math.rad(0)), 0.4) | |
2848 | if Debounces.on == false then break end | |
2849 | wait() | |
2850 | x:Destroy() | |
2851 | x2:Destroy() | |
2852 | end | |
2853 | wait(1)]]-- | |
2854 | local rng = Instance.new("Part", char) | |
2855 | rng.Anchored = true | |
2856 | rng.BrickColor = BrickColor.new("Dark blue") | |
2857 | rng.CanCollide = false | |
2858 | rng.FormFactor = 3 | |
2859 | rng.Name = "Ring" | |
2860 | rng.Size = Vector3.new(1, 1, 1) | |
2861 | rng.Transparency = 0.35 | |
2862 | rng.TopSurface = 0 | |
2863 | rng.BottomSurface = 0 | |
2864 | rng.Position = torso.Position - Vector3.new(0,2,0) | |
2865 | rng.CFrame = rng.CFrame * CFrame.Angles(math.rad(90), math.rad(0), math.rad(0)) | |
2866 | local rngm = Instance.new("SpecialMesh", rng) | |
2867 | rngm.MeshId = "http://www.roblox.com/asset/?id=3270017" | |
2868 | rngm.Scale = Vector3.new(1, 1, 2) | |
2869 | x = Instance.new("Sound",char) | |
2870 | x.SoundId = "http://www.roblox.com/asset/?id=169445602" | |
2871 | x.Looped = false | |
2872 | x.Pitch = .7 | |
2873 | x.Volume = 1 | |
2874 | x:Play() | |
2875 | coroutine.wrap(function() | |
2876 | for i = 1, 60, 2 do | |
2877 | rngm.Scale = Vector3.new(2 + i*2, 2 + i*2, 1) | |
2878 | rng.Transparency = i/60 | |
2879 | wait() | |
2880 | end | |
2881 | wait() | |
2882 | rng:Destroy() | |
2883 | end)() | |
2884 | hum.WalkSpeed = 300 | |
2885 | BV = Instance.new("BodyVelocity", torso) | |
2886 | BV.maxForce = Vector3.new(0,20000000,0) | |
2887 | BV.P = 100000 | |
2888 | BV.velocity = Vector3.new(0,800,0) | |
2889 | for i = 1, 20 do | |
2890 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0, 3, 0)*CFrame.Angles(math.rad(20),math.rad(0), math.rad(0)),0.7) | |
2891 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1.2, 0) * CFrame.Angles(math.rad(-16), math.rad(0), math.rad(0)), 0.7) | |
2892 | larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-3, 1, 0) * CFrame.Angles(math.rad(40), 0, math.rad(-20)), 0.7) | |
2893 | rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(3, 1, 0) * CFrame.Angles(math.rad(-40), math.rad(0), math.rad(20)), 0.7) | |
2894 | lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-1, -2, 0) * CFrame.Angles(math.rad(-10), 0, 0), 0.7) | |
2895 | rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(1, 0, -2) * CFrame.Angles(math.rad(0), 0, 0), 0.7) | |
2896 | cor.Weld.C0 = Lerp(cor.Weld.C0, CFrame.new(0, -1.85, -.9) * CFrame.Angles(math.rad(-90), math.rad(-90), math.rad(0)), 1) | |
2897 | if Debounces.on == false then break end | |
2898 | wait() | |
2899 | end | |
2900 | x:Destroy() | |
2901 | BV:Destroy() | |
2902 | --[[for i = 1, 30 do | |
2903 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0, 1.5, 0)*CFrame.Angles(math.rad(-14),math.rad(0), math.rad(0)),0.3) | |
2904 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(-16), math.rad (0), math.rad(0)), 0.3) | |
2905 | larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5, 0.5, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(-10)), 0.3) | |
2906 | rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5, 0.5, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(10)), 0.3) | |
2907 | lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -.4, -1) * CFrame.Angles(math.rad(20), 0, 0), 0.3) | |
2908 | rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -.8, -.6) * CFrame.Angles(math.rad(-30), 0, 0), 0.3) | |
2909 | if Debounces.on == false then break end | |
2910 | wait() | |
2911 | end]]-- | |
2912 | if (torso.Velocity*Vector3.new(1, 1, 1)).magnitude > 1 then | |
2913 | for i = 1, 20 do | |
2914 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0, 3, 0)*CFrame.Angles(math.rad(-14),math.rad(0), math.rad(0)),0.3) | |
2915 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1.6, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0)), 0.3) | |
2916 | larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-3, 1.4, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(-90)), 0.3) | |
2917 | rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(3, 1.4, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(90)), 0.3) | |
2918 | lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-1, -3, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0)), 0.2) | |
2919 | rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(1, -3, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0)), 0.2) | |
2920 | cor.Weld.C0 = Lerp(cor.Weld.C0, CFrame.new(0, -1.85, -.9) * CFrame.Angles(math.rad(-90), math.rad(-90), math.rad(0)), 1) | |
2921 | if Debounces.on == false then break end | |
2922 | wait() | |
2923 | end | |
2924 | end | |
2925 | Debounces.on = false | |
2926 | Debounces.NoIdl = false | |
2927 | local ry,ht,ps=nil,nil,nil | |
2928 | while ht==nil do | |
2929 | ry,ht,ps=newRay(root.CFrame*CFrame.new(0,-2,0),root.CFrame*CFrame.new(0,-3,0),4.1,{char}) | |
2930 | wait() | |
2931 | end | |
2932 | z = Instance.new("Sound",char) | |
2933 | z.SoundId = "rbxassetid://142070127" | |
2934 | z.Volume = 1 | |
2935 | wait(.1) | |
2936 | z:Play() | |
2937 | Landing() | |
2938 | hum.WalkSpeed = 80 | |
2939 | if Debounces.CanAttack == false then | |
2940 | Debounces.CanAttack = true | |
2941 | end | |
2942 | end | |
2943 | end | |
2944 | end) | |
2945 | ---------------------------------------------------- | |
2946 | mouse.KeyDown:connect(function(key) | |
2947 | if key == "l" then | |
2948 | if Debounces.CanJoke == true then | |
2949 | Debounces.CanJoke = false | |
2950 | z = Instance.new("Sound", workspace) | |
2951 | z.SoundId = "rbxassetid://415859013" | |
2952 | z.Pitch = 0.8 | |
2953 | z.Volume = 5 | |
2954 | wait() | |
2955 | z:Play() | |
2956 | chatServ:Chat(hed, "Pathetic.", 2) | |
2957 | wait(2) | |
2958 | z:Destroy() | |
2959 | if Debounces.CanJoke == false then | |
2960 | Debounces.CanJoke = true | |
2961 | end | |
2962 | end | |
2963 | end | |
2964 | end) | |
2965 | ---------------------------------------------------- | |
2966 | Grab = false | |
2967 | mouse.KeyDown:connect(function(key) | |
2968 | if key == "z" then | |
2969 | Debounces.on = true | |
2970 | Debounces.NoIdl = true | |
2971 | if Grab == false then | |
2972 | chatServ:Chat(hed, "Come here..", 2) | |
2973 | gp = nil | |
2974 | con1=larm.Touched:connect(function(hit) -- this is grab | |
2975 | ht = hit.Parent | |
2976 | hum1=ht:FindFirstChild('Humanoid') | |
2977 | if hum1 ~= nil then | |
2978 | chatServ:Chat(hed, "Gotcha!", 2) | |
2979 | hum1.PlatformStand=true | |
2980 | gp = ht | |
2981 | Grab = true | |
2982 | asd=weld5(larm,ht:FindFirstChild("Torso"),CFrame.new(0,-3.3,0),CFrame.new(0,0,0)) | |
2983 | asd.Parent = larm | |
2984 | asd.Name = "asd" | |
2985 | asd.C0=asd.C0*CFrame.Angles(math.rad(-90),0,0) | |
2986 | elseif hum1 == nil then | |
2987 | con1:disconnect() | |
2988 | wait() return | |
2989 | end | |
2990 | end) | |
2991 | for i = 1, 18 do | |
2992 | rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(3,.9,0)*CFrame.Angles(math.rad(90),math.rad(0),math.rad(36)), 0.2) | |
2993 | larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-2.65,.9,-.5)*CFrame.Angles(math.rad(70),math.rad(0),math.rad(20)), 0.2) | |
2994 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,3,-.2)*CFrame.Angles(math.rad(-14),math.rad(0),0), 0.2) | |
2995 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1.8, 0) * CFrame.Angles(math.rad(-60), math.rad(0), 0), 0.2) | |
2996 | lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-1, -3, -.6) * CFrame.Angles(math.rad(60), math.rad(0), math.rad(0)), 0.2) | |
2997 | rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(1, -3, -.6) * CFrame.Angles(math.rad(60), math.rad(0), math.rad(0)), 0.2) | |
2998 | cor.Weld.C0 = Lerp(cor.Weld.C0, CFrame.new(0, -1.3, -1.1) * CFrame.Angles(math.rad(-60), math.rad(-90), math.rad(0)), 0.9) | |
2999 | if Debounces.on == false then break end | |
3000 | wait() | |
3001 | end | |
3002 | con1:disconnect() | |
3003 | Debounces.on = false | |
3004 | Debounces.NoIdl = false | |
3005 | elseif Grab == true then | |
3006 | Grab = false | |
3007 | for i = 1, 20 do | |
3008 | rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(3,.9,0)*CFrame.Angles(math.rad(90),math.rad(0),math.rad(-20)), 0.2) | |
3009 | larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-2.6, .9, -.4)*CFrame.Angles(math.rad(170),math.rad(0),math.rad(-20)), 0.1) | |
3010 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,3,-.2)*CFrame.Angles(math.rad(-14),math.rad(0),0), 0.2) | |
3011 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1.2, 0) * CFrame.Angles(0, math.rad(0), 0), 0.2) | |
3012 | lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-1.2, -3, 0) * CFrame.Angles(0, 0, math.rad(-10)), 0.2) | |
3013 | rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(1.2, -3, 0) * CFrame.Angles(0, 0, math.rad(10)), 0.2) | |
3014 | cor.Weld.C0 = Lerp(cor.Weld.C0, CFrame.new(0, -1, -1.1) * CFrame.Angles(math.rad(-90), math.rad(-110), math.rad(-70)), 1) | |
3015 | if Debounces.on == false then end | |
3016 | wait() | |
3017 | end | |
3018 | chatServ:Chat(hed, "Bye-bye!", 2) | |
3019 | if gp ~= nil then | |
3020 | for i,v in pairs(larm:GetChildren()) do | |
3021 | if v.Name == "asd" and v:IsA("Weld") then | |
3022 | v:Remove() | |
3023 | end | |
3024 | end | |
3025 | bv = Instance.new("BodyVelocity",gp:FindFirstChild("Torso")) | |
3026 | bv.maxForce = Vector3.new(400000, 400000, 400000) | |
3027 | bv.P = 125000 | |
3028 | bv.velocity = char.HumanoidRootPart.CFrame.lookVector * 200 | |
3029 | for i = 1, 12 do | |
3030 | larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-2.6, .9, -.75)*CFrame.Angles(math.rad(30),math.rad(0),math.rad(20)), 0.5) | |
3031 | if Debounces.on == false then end | |
3032 | wait() | |
3033 | end | |
3034 | ht=nil | |
3035 | Spawn(function() | |
3036 | wait(0.5) | |
3037 | bv:Destroy() | |
3038 | end) | |
3039 | Debounces.on = false | |
3040 | Debounces.NoIdl = false | |
3041 | elseif ht == nil then wait() | |
3042 | Grab = false | |
3043 | Debounces.on = false | |
3044 | Debounces.NoIdl = false | |
3045 | end | |
3046 | end | |
3047 | end | |
3048 | end) | |
3049 | ---------------------------------------------------- | |
3050 | ---------------------------------------------------- | |
3051 | local animpose = "Idle" | |
3052 | local lastanimpose = "Idle" | |
3053 | local sine = 0 | |
3054 | local change = 1 | |
3055 | local val = 0 | |
3056 | local ffing = false | |
3057 | ---------------------------------------------------- | |
3058 | --[[x = Instance.new("Sound", char) | |
3059 | x.SoundId = "http://www.roblox.com/asset/?id=187922823" | |
3060 | x.Looped = true | |
3061 | x.Volume = 1 | |
3062 | x.Pitch = 1 | |
3063 | local footsteps = false]]-- | |
3064 | ------------------------------- | |
3065 | game:GetService("RunService").RenderStepped:connect(function() | |
3066 | --[[if char.Humanoid.Jump == true then | |
3067 | jump = true | |
3068 | else | |
3069 | jump = false | |
3070 | end]] | |
3071 | char.Humanoid.FreeFalling:connect(function(f) | |
3072 | if f then | |
3073 | ffing = true | |
3074 | else | |
3075 | ffing = false | |
3076 | end | |
3077 | end) | |
3078 | sine = sine + change | |
3079 | if jumpn == true then | |
3080 | animpose = "Jumping" | |
3081 | elseif ffing == true then | |
3082 | animpose = "Freefalling" | |
3083 | elseif (torso.Velocity*Vector3.new(1, 0, 1)).magnitude < 2 then | |
3084 | animpose = "Idle" | |
3085 | elseif (torso.Velocity*Vector3.new(1, 0, 1)).magnitude < 20 then | |
3086 | animpose = "Walking" | |
3087 | elseif (torso.Velocity*Vector3.new(1, 0, 1)).magnitude > 20 then | |
3088 | animpose = "Running" | |
3089 | end | |
3090 | if animpose ~= lastanimpose then | |
3091 | sine = 0 | |
3092 | if Debounces.NoIdl == false then | |
3093 | if animpose == "Idle" then | |
3094 | for i = 1, 2 do | |
3095 | rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(3,.9,0)*CFrame.Angles(math.rad(90),math.rad(0),math.rad(20)), 0.2) | |
3096 | larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-3,.9,0)*CFrame.Angles(math.rad(0),math.rad(0),math.rad(-20)), 0.2) | |
3097 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,3,-.2)*CFrame.Angles(math.rad(-14),math.rad(0),0), 0.2) | |
3098 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1.2, 0) * CFrame.Angles(0, math.rad(0), 0), 0.2) | |
3099 | lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-1.2, -3, 0) * CFrame.Angles(0, 0, math.rad(-10)), 0.2) | |
3100 | rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(1.2, -3, 0) * CFrame.Angles(0, 0, math.rad(10)), 0.2) | |
3101 | cor.Weld.C0 = Lerp(cor.Weld.C0, CFrame.new(0, -1, -1.1) * CFrame.Angles(math.rad(-90), math.rad(-110), math.rad(-70)), 1) | |
3102 | end | |
3103 | elseif animpose == "Walking" then | |
3104 | for i = 1, 2 do | |
3105 | rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(3, .9, 0) * CFrame.Angles(math.rad(90), math.rad(0), math.rad(20)), 0.2) | |
3106 | larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-3, .9, 0)*CFrame.Angles(0, math.rad(1), math.rad(-10)), 0.2) | |
3107 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,3,0)*CFrame.Angles(math.rad(-8), math.rad(0), math.rad(0)),0.2) | |
3108 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1.2, 0) * CFrame.Angles(math.rad(-4), 0, math.rad(0)), 0.2) | |
3109 | lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-1, -3, -.05) * CFrame.Angles(math.rad(-18), 0, 0), .4) | |
3110 | rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(1, -3, -.05) * CFrame.Angles(math.rad(-18), 0, 0), .4) | |
3111 | cor.Weld.C0 = Lerp(cor.Weld.C0, CFrame.new(0, -1, -1.1) * CFrame.Angles(math.rad(-90), math.rad(-110), math.rad(-70)), 1) | |
3112 | end | |
3113 | elseif animpose == "Running" then | |
3114 | for i = 1, 2 do | |
3115 | rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(3, 0.9, .5) * CFrame.Angles(math.rad(-10), math.rad(-40), math.rad(50)), 0.2) | |
3116 | larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-3, 1.2, 0-1*math.cos(sine/4)/2)*CFrame.Angles(math.rad(50-80*math.cos(sine/8)/2), math.rad(0), math.rad(0-70*math.cos(sine/8)/2)), 0.2) | |
3117 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,3,0)*CFrame.Angles(math.rad(6+8*math.cos(sine/4)/1.8), math.rad(0), math.rad(0)),0.2) | |
3118 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1.2+0.2*math.cos(sine/4)/2, 0) * CFrame.Angles(math.rad(-14+4*math.cos(sine/4)/2), 0, math.rad(0)), 0.2) | |
3119 | lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-1, -3-0.44*math.cos(sine/8)/2.4, -.15 + math.sin(sine/8)/1.5) * CFrame.Angles(math.rad(-20) + -math.sin(sine/8)/1.7, 0, 0), .4) | |
3120 | rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(1, -3+0.44*math.cos(sine/8)/2.4, -.15 + -math.sin(sine/8)/1.5) * CFrame.Angles(math.rad(-20) + math.sin(sine/8)/1.7, 0, 0), .4) | |
3121 | cor.Weld.C0 = Lerp(cor.Weld.C0, CFrame.new(0, -1.85, -.9) * CFrame.Angles(math.rad(-90), math.rad(-90), math.rad(0)), 1) | |
3122 | end | |
3123 | wait() | |
3124 | end | |
3125 | else | |
3126 | end | |
3127 | end | |
3128 | lastanimpose = animpose | |
3129 | if Debounces.NoIdl == false then | |
3130 | if animpose == "Idle" then | |
3131 | if stanceToggle == "Normal" then | |
3132 | change = 0.5 | |
3133 | rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(3,.9,0)*CFrame.Angles(math.rad(88+2*math.cos(sine/14)),math.rad(0),math.rad(20)), 0.2) | |
3134 | larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-3,.9+0.1*math.cos(sine/14),0)*CFrame.Angles(math.rad(50),math.rad(-30),math.rad(-40-2*math.cos(sine/14))), 0.2) | |
3135 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,3,-.2)*CFrame.Angles(math.rad(-14+1*math.cos(sine/14)),math.rad(40),0), 0.2) | |
3136 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1.2, 0) * CFrame.Angles(0, math.rad(-40), 0), 0.2) | |
3137 | lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-1.15, -3, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(-10)), 0.2) | |
3138 | rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(1.15, -3, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(10)), 0.2) | |
3139 | cor.Weld.C0 = Lerp(cor.Weld.C0, CFrame.new(0, -1, -1.1) * CFrame.Angles(math.rad(-90), math.rad(-110), math.rad(-70)), 1) | |
3140 | elseif stanceToggle == "Sitting" then | |
3141 | rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(3, .9, 0) * CFrame.Angles(math.rad(100-1*math.cos(sine/14)), math.rad(0), math.rad(20)), 0.2) | |
3142 | larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-2, .9, -1)*CFrame.Angles(math.rad(78+1*math.cos(sine/14)), math.rad(0), math.rad(50)), 0.2) | |
3143 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0, 3, -.3) * CFrame.Angles(math.rad(-14+1*math.cos(sine/14)), math.rad(0), math.rad(0)),0.2) | |
3144 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -3, 0) * CFrame.Angles(math.rad(-10+1*math.cos(sine/14)), 0, math.rad(0)), 0.2) | |
3145 | lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-1, -1, -2) * CFrame.Angles(math.rad(-10-1*math.cos(sine/14)), 0, 0), 0.2) | |
3146 | rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(1, -3, .6) * CFrame.Angles(math.rad(-50-1*math.cos(sine/14)), 0, 0), 0.2) | |
3147 | cor.Weld.C0 = Lerp(cor.Weld.C0, CFrame.new(0, -1.85, -.9) * CFrame.Angles(math.rad(-90), math.rad(-90), math.rad(0)), 1) | |
3148 | end | |
3149 | elseif animpose == "Walking" then | |
3150 | if stanceToggle == "Normal" then | |
3151 | change = 1 | |
3152 | rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(3, .9+.1*math.cos(sine/7), 0) * CFrame.Angles(math.rad(90+2*math.cos(sine/7)), math.rad(0), math.rad(20)), 0.2) | |
3153 | larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-3, .9+.1*math.cos(sine/7), -math.sin(sine/14)/2)*CFrame.Angles(math.sin(sine/14)/4, math.rad(1) + -math.sin(sine/14)/2, math.rad(-30)), 0.2) | |
3154 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,3,0)*CFrame.Angles(math.rad(-8+2*math.cos(sine/7)), math.rad(0), math.rad(0)),0.2) | |
3155 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1.2+0.1*math.cos(sine/7), 0) * CFrame.Angles(math.rad(-4+2*math.cos(sine/7)), 0, math.rad(0)), 0.2) | |
3156 | lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-1, -3-0.3*math.cos(sine/14)/2, -.05 + math.sin(sine/14)/2) * CFrame.Angles(math.rad(-18) + -math.sin(sine/14)/2.3, 0, 0), .4) | |
3157 | rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(1, -3+0.3*math.cos(sine/14)/2, -.05 + -math.sin(sine/14)/2) * CFrame.Angles(math.rad(-18) + math.sin(sine/14)/2.3, 0, 0), .4) | |
3158 | cor.Weld.C0 = Lerp(cor.Weld.C0, CFrame.new(0, -1, -1.1) * CFrame.Angles(math.rad(-90), math.rad(-110), math.rad(-70)), 1) | |
3159 | end | |
3160 | elseif animpose == "Running" then | |
3161 | change = 1 | |
3162 | rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(3, 0.9, .5) * CFrame.Angles(math.rad(-10-20*math.cos(sine/4)/2), math.rad(-40+10*math.cos(sine/4)/2), math.rad(50-10*math.cos(sine/4)/2)), 0.2) | |
3163 | larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-3, 0.9, .5)*CFrame.Angles(math.rad(10+20*math.cos(sine/4)/2), math.rad(40-10*math.cos(sine/4)/2), math.rad(-50+10*math.cos(sine/4)/2)), 0.2) | |
3164 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,3,0)*CFrame.Angles(math.rad(6+6*math.cos(sine/4)/1.8), math.rad(0), math.rad(0)),0.2) | |
3165 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1.2+0.2*math.cos(sine/4)/2, 0) * CFrame.Angles(math.rad(-14+10*math.cos(sine/4)/2), 0, math.rad(0)), 0.2) | |
3166 | lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-1, -3-0.44*math.cos(sine/8)/2.4, -.15 + math.sin(sine/8)/1.5) * CFrame.Angles(math.rad(-20) + -math.sin(sine/8)/1.7, 0, 0), .4) | |
3167 | rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(1, -3+0.44*math.cos(sine/8)/2.4, -.15 + -math.sin(sine/8)/1.5) * CFrame.Angles(math.rad(-20) + math.sin(sine/8)/1.7, 0, 0), .4) | |
3168 | cor.Weld.C0 = Lerp(cor.Weld.C0, CFrame.new(0, -1.85, -.9) * CFrame.Angles(math.rad(-90), math.rad(-90), math.rad(0)), 1) | |
3169 | end | |
3170 | end | |
3171 | end) | |
3172 | hed.Transparency = 1 | |
3173 | ||
3174 | local Player = game:service("Players").LocalPlayer | |
3175 | ||
3176 | local Character = game.Players.LocalPlayer.Character --game.Workspace.fefio92142 | |
3177 | ||
3178 | ||
3179 | ------------------------------------------------------------------------------------- | |
3180 | ------------------------------------------------------------------------------------- | |
3181 | ||
3182 | local Color = ColorSequence.new(Color3.new(0,0,255), Color3.new(255,255,255)) | |
3183 | ||
3184 | local Num = 0.5 | |
3185 | ||
3186 | local Num2 = 4 -------------Mods:1,4,8,10,15,20------------------------------------- | |
3187 | local Size = 0.8 | |
3188 | local Rate = 300 | |
3189 | ------------------------------------------------------------------------------------- | |
3190 | local Player = game:service'Players'.LocalPlayer | |
3191 | local Character = Player.Character | |
3192 | Torso = Character:WaitForChild'Torso' | |
3193 | ||
3194 | local Wing1 = Instance.new("Part",Character) | |
3195 | Wing1.FormFactor = Enum.FormFactor.Custom | |
3196 | Wing1.Size = Vector3.new(.2, .2, .2) | |
3197 | Wing1.Name = "WIng_1" | |
3198 | ||
3199 | local fire = Instance.new("ParticleEmitter", Wing1) | |
3200 | fire.VelocitySpread = 0 | |
3201 | fire.Lifetime = NumberRange.new(2) | |
3202 | fire.Acceleration = Vector3.new(0, 2, 2) | |
3203 | fire.RotSpeed = NumberRange.new(10) | |
3204 | fire.Rate = Rate | |
3205 | fire.Rotation = NumberRange.new(151515) | |
3206 | fire.Name = "Fire" | |
3207 | fire.LightEmission = 0.78 | |
3208 | fire.LockedToPart = true | |
3209 | fire.Texture = "rbxasset://textures/particles/explosion01_implosion_main.dds" | |
3210 | fire.Color = Color | |
3211 | fire.Size = NumberSequence.new({NumberSequenceKeypoint.new(0, Size), NumberSequenceKeypoint.new(1, Size)}) | |
3212 | ||
3213 | local Wing2 = Wing1:Clone() | |
3214 | Wing2.Parent = Torso | |
3215 | local x,y,z = 0,-1,-6 | |
3216 | ||
3217 | Wld = function(a,b,cf) | |
3218 | local Weld = Instance.new('Weld',a) | |
3219 | Weld.Part0 = a | |
3220 | Weld.Part1 = b | |
3221 | Weld.C1 = cf | |
3222 | return Weld | |
3223 | end | |
3224 | ||
3225 | local wld = Wld(Torso,Wing1,CFrame.new(0,0,-.5)*CFrame.Angles(-math.rad(90),-math.rad(20),-math.rad(90))) | |
3226 | local wld2 = Wld(Torso,Wing2,CFrame.new(0,0,.5)*CFrame.Angles(-math.rad(90),-math.rad(20),-math.rad(90))) | |
3227 | ||
3228 | ||
3229 | game:service'RunService'.Stepped:connect(function() | |
3230 | --z = 6+math.sin(tick()*2) | |
3231 | y = -1+math.sin(tick()*Num)*Num2 | |
3232 | Wing1.Fire.Acceleration = Vector3.new(x,y,z) | |
3233 | Wing2.Fire.Acceleration = Vector3.new(x,y,-z) | |
3234 | end) | |
3235 | ------------------------------------------------------------------------------------------------ | |
3236 | local Player = game:service'Players'.LocalPlayer | |
3237 | local Character = Player.Character | |
3238 | Torso = Character:WaitForChild'Torso' | |
3239 | ||
3240 | local Wing1 = Instance.new("Part",Character) | |
3241 | Wing1.FormFactor = Enum.FormFactor.Custom | |
3242 | Wing1.Size = Vector3.new(.2, .2, .2) | |
3243 | Wing1.Name = "WIng_1" | |
3244 | ||
3245 | local fire = Instance.new("ParticleEmitter", Wing1) | |
3246 | fire.VelocitySpread = 0 | |
3247 | fire.Lifetime = NumberRange.new(2.5) | |
3248 | fire.Acceleration = Vector3.new(0, 4, 4) | |
3249 | fire.RotSpeed = NumberRange.new(10) | |
3250 | fire.Rate = Rate | |
3251 | fire.Rotation = NumberRange.new(151515) | |
3252 | fire.Name = "Fire" | |
3253 | fire.LightEmission = 0.78 | |
3254 | fire.LockedToPart = true | |
3255 | fire.Texture = "rbxasset://textures/particles/explosion01_implosion_main.dds" | |
3256 | fire.Color = Color | |
3257 | fire.Size = NumberSequence.new({NumberSequenceKeypoint.new(0, Size), NumberSequenceKeypoint.new(1, Size)}) | |
3258 | ||
3259 | local Wing2 = Wing1:Clone() | |
3260 | Wing2.Parent = Torso | |
3261 | local x,y,z = 0,-1,-6 | |
3262 | ||
3263 | Wld = function(a,b,cf) | |
3264 | local Weld = Instance.new('Weld',a) | |
3265 | Weld.Part0 = a | |
3266 | Weld.Part1 = b | |
3267 | Weld.C1 = cf | |
3268 | return Weld | |
3269 | end | |
3270 | ||
3271 | local wld = Wld(Torso,Wing1,CFrame.new(0,0,-.5)*CFrame.Angles(-math.rad(90),-math.rad(30),-math.rad(90))) | |
3272 | local wld2 = Wld(Torso,Wing2,CFrame.new(0,0,.5)*CFrame.Angles(-math.rad(90),-math.rad(30),-math.rad(90))) | |
3273 | ||
3274 | print'Loaded' | |
3275 | ||
3276 | game:service'RunService'.Stepped:connect(function() | |
3277 | --z = 6+math.sin(tick()*2) | |
3278 | y = -1+math.sin(tick()*Num)*Num2 | |
3279 | Wing1.Fire.Acceleration = Vector3.new(x,y,z) | |
3280 | Wing2.Fire.Acceleration = Vector3.new(x,y,-z) | |
3281 | end) | |
3282 | ||
3283 | ------------------------------------------------------------------------------------------------ | |
3284 | local Player = game:service'Players'.LocalPlayer | |
3285 | local Character = Player.Character | |
3286 | Torso = Character:WaitForChild'Torso' | |
3287 | ||
3288 | local Wing1 = Instance.new("Part",Character) | |
3289 | Wing1.FormFactor = Enum.FormFactor.Custom | |
3290 | Wing1.Size = Vector3.new(.2, .2, .2) | |
3291 | Wing1.Name = "WIng_1" | |
3292 | ||
3293 | local fire = Instance.new("ParticleEmitter", Wing1) | |
3294 | fire.VelocitySpread = 0 | |
3295 | fire.Lifetime = NumberRange.new(2.8) | |
3296 | fire.Acceleration = Vector3.new(0, 4, 4) | |
3297 | fire.RotSpeed = NumberRange.new(10) | |
3298 | fire.Rate = Rate | |
3299 | fire.Rotation = NumberRange.new(151515) | |
3300 | fire.Name = "Fire" | |
3301 | fire.LightEmission = 0.78 | |
3302 | fire.LockedToPart = true | |
3303 | fire.Texture = "rbxasset://textures/particles/explosion01_implosion_main.dds" | |
3304 | fire.Color = Color | |
3305 | fire.Size = NumberSequence.new({NumberSequenceKeypoint.new(0, Size), NumberSequenceKeypoint.new(1, Size)}) | |
3306 | ||
3307 | local Wing2 = Wing1:Clone() | |
3308 | Wing2.Parent = Torso | |
3309 | local x,y,z = 0,-1,-6 | |
3310 | ||
3311 | Wld = function(a,b,cf) | |
3312 | local Weld = Instance.new('Weld',a) | |
3313 | Weld.Part0 = a | |
3314 | Weld.Part1 = b | |
3315 | Weld.C1 = cf | |
3316 | return Weld | |
3317 | end | |
3318 | ||
3319 | local wld = Wld(Torso,Wing1,CFrame.new(0,0,-.5)*CFrame.Angles(-math.rad(90),-math.rad(40),-math.rad(90))) | |
3320 | local wld2 = Wld(Torso,Wing2,CFrame.new(0,0,.5)*CFrame.Angles(-math.rad(90),-math.rad(40),-math.rad(90))) | |
3321 | ||
3322 | print'Loaded' | |
3323 | ||
3324 | game:service'RunService'.Stepped:connect(function() | |
3325 | --z = 6+math.sin(tick()*2) | |
3326 | y = -1+math.sin(tick()*Num)*Num2 | |
3327 | Wing1.Fire.Acceleration = Vector3.new(x,y,z) | |
3328 | Wing2.Fire.Acceleration = Vector3.new(x,y,-z) | |
3329 | end) | |
3330 | ||
3331 | ------------------------------------------------------------------------------------------------ | |
3332 | local Player = game:service'Players'.LocalPlayer | |
3333 | local Character = Player.Character | |
3334 | Torso = Character:WaitForChild'Torso' | |
3335 | ||
3336 | local Wing1 = Instance.new("Part",Character) | |
3337 | Wing1.FormFactor = Enum.FormFactor.Custom | |
3338 | Wing1.Size = Vector3.new(.2, .2, .2) | |
3339 | Wing1.Name = "WIng_1" | |
3340 | ||
3341 | local fire = Instance.new("ParticleEmitter", Wing1) | |
3342 | fire.VelocitySpread = 0 | |
3343 | fire.Lifetime = NumberRange.new(3) | |
3344 | fire.Acceleration = Vector3.new(0, 4, 4) | |
3345 | fire.RotSpeed = NumberRange.new(10) | |
3346 | fire.Rate = Rate | |
3347 | fire.Rotation = NumberRange.new(151515) | |
3348 | fire.Name = "Fire" | |
3349 | fire.LightEmission = 0.78 | |
3350 | fire.LockedToPart = true | |
3351 | fire.Texture = "rbxasset://textures/particles/explosion01_implosion_main.dds" | |
3352 | fire.Color = Color | |
3353 | fire.Size = NumberSequence.new({NumberSequenceKeypoint.new(0, Size), NumberSequenceKeypoint.new(1, Size)}) | |
3354 | ||
3355 | local Wing2 = Wing1:Clone() | |
3356 | Wing2.Parent = Torso | |
3357 | local x,y,z = 0,-1,-6 | |
3358 | ||
3359 | Wld = function(a,b,cf) | |
3360 | local Weld = Instance.new('Weld',a) | |
3361 | Weld.Part0 = a | |
3362 | Weld.Part1 = b | |
3363 | Weld.C1 = cf | |
3364 | return Weld | |
3365 | end | |
3366 | ||
3367 | local wld = Wld(Torso,Wing1,CFrame.new(0,0,-.5)*CFrame.Angles(-math.rad(90),-math.rad(50),-math.rad(90))) | |
3368 | local wld2 = Wld(Torso,Wing2,CFrame.new(0,0,.5)*CFrame.Angles(-math.rad(90),-math.rad(50),-math.rad(90))) | |
3369 | ||
3370 | print'Loaded' | |
3371 | ||
3372 | game:service'RunService'.Stepped:connect(function() | |
3373 | --z = 6+math.sin(tick()*2) | |
3374 | y = -1+math.sin(tick()*Num)*Num2 | |
3375 | Wing1.Fire.Acceleration = Vector3.new(x,y,z) | |
3376 | Wing2.Fire.Acceleration = Vector3.new(x,y,-z) | |
3377 | end) | |
3378 | ||
3379 | ------------------------------------------------------------------------------------------------ | |
3380 | local Player = game:service'Players'.LocalPlayer | |
3381 | local Character = Player.Character | |
3382 | Torso = Character:WaitForChild'Torso' | |
3383 | ||
3384 | local Wing1 = Instance.new("Part",Character) | |
3385 | Wing1.FormFactor = Enum.FormFactor.Custom | |
3386 | Wing1.Size = Vector3.new(.2, .2, .2) | |
3387 | Wing1.Name = "WIng_1" | |
3388 | ||
3389 | local fire = Instance.new("ParticleEmitter", Wing1) | |
3390 | fire.VelocitySpread = 0 | |
3391 | fire.Lifetime = NumberRange.new(3.1) | |
3392 | fire.Acceleration = Vector3.new(0, 4, 4) | |
3393 | fire.RotSpeed = NumberRange.new(10) | |
3394 | fire.Rate = Rate | |
3395 | fire.Rotation = NumberRange.new(151515) | |
3396 | fire.Name = "Fire" | |
3397 | fire.LightEmission = 0.78 | |
3398 | fire.LockedToPart = true | |
3399 | fire.Texture = "rbxasset://textures/particles/explosion01_implosion_main.dds" | |
3400 | fire.Color = Color | |
3401 | fire.Size = NumberSequence.new({NumberSequenceKeypoint.new(0, Size), NumberSequenceKeypoint.new(1, Size)}) | |
3402 | ||
3403 | local Wing2 = Wing1:Clone() | |
3404 | Wing2.Parent = Torso | |
3405 | local x,y,z = 0,-1,-6 | |
3406 | ||
3407 | Wld = function(a,b,cf) | |
3408 | local Weld = Instance.new('Weld',a) | |
3409 | Weld.Part0 = a | |
3410 | Weld.Part1 = b | |
3411 | Weld.C1 = cf | |
3412 | return Weld | |
3413 | end | |
3414 | ||
3415 | local wld = Wld(Torso,Wing1,CFrame.new(0,0,-.5)*CFrame.Angles(-math.rad(90),-math.rad(60),-math.rad(90))) | |
3416 | local wld2 = Wld(Torso,Wing2,CFrame.new(0,0,.5)*CFrame.Angles(-math.rad(90),-math.rad(60),-math.rad(90))) | |
3417 | ||
3418 | print'Loaded' | |
3419 | ||
3420 | game:service'RunService'.Stepped:connect(function() | |
3421 | --z = 6+math.sin(tick()*2) | |
3422 | y = -1+math.sin(tick()*Num)*Num2 | |
3423 | Wing1.Fire.Acceleration = Vector3.new(x,y,z) | |
3424 | Wing2.Fire.Acceleration = Vector3.new(x,y,-z) | |
3425 | end) | |
3426 | ||
3427 | ||
3428 | ||
3429 | --Edited by 1x0x1x0-- |