View difference between Paste ID: 2tuFZwQA and j90urEV8
SHOW: | | - or go back to the newest paste.
1-
-- This script has convert to FE by who i don't know?
1+
2
--//====================================================\\--
3-
-----------------------------------------------------
3+
4-
if game:GetService("RunService"):IsClient() then error("Script must be server-side in order to work; use h/ and not hl/") end
4+
5-
local Player,game,owner = owner,game
5+
6-
local RealPlayer = Player
6+
7-
do
7+
8-
    print("FE Compatibility code by Mokiros | Showcase by Bacon Hair!")
8+
9-
    local rp = RealPlayer
9+
10-
    script.Parent = rp.Character
10+
11-
   
11+
12-
    --RemoteEvent for communicating
12+
13-
    local Event = Instance.new("RemoteEvent")
13+
Player = game:GetService("Players").LocalPlayer
14-
    Event.Name = "UserInput_Event"
14+
15
PlayerGui = Player.PlayerGui
16-
    --Fake event to make stuff like Mouse.KeyDown work
16+
17-
    local function fakeEvent()
17+
18-
        local t = {_fakeEvent=true,Functions={},Connect=function(self,f)table.insert(self.Functions,f) end}
18+
19-
        t.connect = t.Connect
19+
20-
        return t
20+
21
Torso = Character["Torso"]
22
Head = Character["Head"]
23-
    --Creating fake input objects with fake variables
23+
24-
    local m = {Target=nil,Hit=CFrame.new(),KeyUp=fakeEvent(),KeyDown=fakeEvent(),Button1Up=fakeEvent(),Button1Down=fakeEvent()}
24+
25-
    local UIS = {InputBegan=fakeEvent(),InputEnded=fakeEvent()}
25+
26-
    local CAS = {Actions={},BindAction=function(self,name,fun,touch,...)
26+
27-
        CAS.Actions[name] = fun and {Name=name,Function=fun,Keys={...}} or nil
27+
28-
    end}
28+
29-
    --Merged 2 functions into one by checking amount of arguments
29+
30-
    CAS.UnbindAction = CAS.BindAction
30+
31
RightHip = Torso["Right Hip"]
32-
    --This function will trigger the events that have been :Connect()'ed
32+
33-
    local function te(self,ev,...)
33+
34-
        local t = m[ev]
34+
35-
        if t and t._fakeEvent then
35+
36-
            for _,f in pairs(t.Functions) do
36+
37-
                f(...)
37+
38-
            end
38+
39-
        end
39+
40
41-
    m.TrigEvent = te
41+
42-
    UIS.TrigEvent = te
42+
43
naeeym.StudsOffset = Vector3.new(0,2,0)
44-
    Event.OnServerEvent:Connect(function(plr,io)
44+
45-
        if plr~=rp then return end
45+
46-
        m.Target = io.Target
46+
47-
        m.Hit = io.Hit
47+
48-
        if not io.isMouse then
48+
49-
            local b = io.UserInputState == Enum.UserInputState.Begin
49+
50-
            if io.UserInputType == Enum.UserInputType.MouseButton1 then
50+
51-
                return m:TrigEvent(b and "Button1Down" or "Button1Up")
51+
52-
            end
52+
53-
            for _,t in pairs(CAS.Actions) do
53+
54-
                for _,k in pairs(t.Keys) do
54+
55-
                    if k==io.KeyCode then
55+
56-
                        t.Function(t.Name,io.UserInputState,io)
56+
57-
                    end
57+
58-
                end
58+
59-
            end
59+
60-
            m:TrigEvent(b and "KeyDown" or "KeyUp",io.KeyCode.Name:lower())
60+
61-
            UIS:TrigEvent(b and "InputBegan" or "InputEnded",io,false)
61+
62-
        end
62+
63
ANGLES = CFrame.Angles
64-
    Event.Parent = NLS([==[
64+
65-
    local Player = owner
65+
66-
    local Event = script:WaitForChild("UserInput_Event")
66+
67
SIN = math.sin
68-
    local Mouse = Player:GetMouse()
68+
69-
    local UIS = game:GetService("UserInputService")
69+
70-
    local input = function(io,a)
70+
71-
        if a then return end
71+
72-
        --Since InputObject is a client-side instance, we create and pass table instead
72+
73-
        Event:FireServer({KeyCode=io.KeyCode,UserInputType=io.UserInputType,UserInputState=io.UserInputState,Hit=Mouse.Hit,Target=Mouse.Target})
73+
74
--|| 	      USEFUL VALUES
75-
    UIS.InputBegan:Connect(input)
75+
76-
    UIS.InputEnded:Connect(input)
76+
77
Player_Size = 1
78-
    local h,t
78+
79-
    --Give the server mouse data 30 times every second, but only if the values changed
79+
80-
    --If player is not moving their mouse, client won't fire events
80+
81-
    while wait(1/30) do
81+
82-
        if h~=Mouse.Hit or t~=Mouse.Target then
82+
83-
            h,t=Mouse.Hit,Mouse.Target
83+
84-
            Event:FireServer({isMouse=true,Target=t,Hit=h})
84+
85-
        end
85+
86-
    end]==],Player.Character)
86+
87
local ATTACK = false
88-
    ----Sandboxed game object that allows the usage of client-side methods and services
88+
89-
    --Real game object
89+
90-
    local _rg = game
90+
91
local Rooted = false
92-
    --Metatable for fake service
92+
93-
    local fsmt = {
93+
94-
        __index = function(self,k)
94+
95-
            local s = rawget(self,"_RealService")
95+
96-
            if s then return s[k] end
96+
97-
        end,
97+
98-
        __newindex = function(self,k,v)
98+
99-
            local s = rawget(self,"_RealService")
99+
100-
            if s then s[k]=v end
100+
101-
        end,
101+
102-
        __call = function(self,...)
102+
103-
            local s = rawget(self,"_RealService")
103+
104-
            if s then return s(...) end
104+
105-
        end
105+
106-
    }
106+
107-
    local function FakeService(t,RealService)
107+
108-
        t._RealService = typeof(RealService)=="string" and _rg:GetService(RealService) or RealService
108+
109-
        return setmetatable(t,fsmt)
109+
110
local UNANCHOR = true
111
local TOBANISH = {}
112-
    --Fake game object
112+
113-
    local g = {
113+
114-
        GetService = function(self,s)
114+
115-
            return self[s]
115+
116-
        end,
116+
117-
        Players = FakeService({
117+
118-
        },"Players"),
118+
119-
        UserInputService = FakeService(UIS,"UserInputService"),
119+
120-
        ContextActionService = FakeService(CAS,"ContextActionService"),
120+
121-
    }
121+
122-
    rawset(g.Players,"owner",g.Players.owner)
122+
123-
    g.service = g.GetService
123+
124-
   
124+
125-
    g.RunService = FakeService({
125+
126-
        RenderStepped = _rg:GetService("RunService").Heartbeat,
126+
127-
        BindToRenderStep = function(self,name,_,fun)
127+
128
tf = 0
129-
        end,
129+
130-
        UnbindFromRenderStep = function(self,name)
130+
131-
            self._btrs[name]:Disconnect()
131+
132-
        end,
132+
133-
    },"RunService")
133+
134
game:GetService("RunService").Heartbeat:connect(function(s, p)
135-
    setmetatable(g,{
135+
136-
        __index=function(self,s)
136+
137-
            return _rg:GetService(s) or typeof(_rg[s])=="function"
137+
138-
            and function(_,...)return _rg[s](_rg,...)end or _rg[s]
138+
139-
        end,
139+
140-
        __newindex = fsmt.__newindex,
140+
141-
        __call = fsmt.__call
141+
142-
    })
142+
143-
    game,owner = owner
143+
144
		lastframe = tick()
145
		end
146
		if tossremainder then
147
			tf = 0
148
		else
149
			tf = tf - frame * math.floor(tf / frame)
150
		end
151
	end
152
end)
153
154
--//=================================\\
155
--\\=================================//
156
157-
Player = owner
157+
158
--|| 	      SOME FUNCTIONS
159
--\\=================================//
160
161
function Raycast(POSITION, DIRECTION, RANGE, IGNOREDECENDANTS)
162
	return workspace:FindPartOnRay(Ray.new(POSITION, DIRECTION.unit * RANGE), IGNOREDECENDANTS)
163
end
164
165
function PositiveAngle(NUMBER)
166
	if NUMBER >= 0 then
167
		NUMBER = 0
168
	end
169
	return NUMBER
170
end
171
172
function NegativeAngle(NUMBER)
173
	if NUMBER <= 0 then
174
		NUMBER = 0
175
	end
176
	return NUMBER
177
end
178
179
function Swait(NUMBER)
180
	if NUMBER == 0 or NUMBER == nil then
181
		ArtificialHB.Event:wait()
182
	else
183
		for i = 1, NUMBER do
184
			ArtificialHB.Event:wait()
185
		end
186
	end
187
end
188
189
function CreateMesh(MESH, PARENT, MESHTYPE, MESHID, TEXTUREID, SCALE, OFFSET)
190
	local NEWMESH = IT(MESH)
191
	if MESH == "SpecialMesh" then
192
		NEWMESH.MeshType = MESHTYPE
193
		if MESHID ~= "nil" and MESHID ~= "" then
194
			NEWMESH.MeshId = "http://www.roblox.com/asset/?id="..MESHID
195
		end
196
		if TEXTUREID ~= "nil" and TEXTUREID ~= "" then
197
			NEWMESH.TextureId = "http://www.roblox.com/asset/?id="..TEXTUREID
198
		end
199
	end
200
	NEWMESH.Offset = OFFSET or VT(0, 0, 0)
201
	NEWMESH.Scale = SCALE
202
	NEWMESH.Parent = PARENT
203
	return NEWMESH
204
end
205
206
function CreatePart(FORMFACTOR, PARENT, MATERIAL, REFLECTANCE, TRANSPARENCY, BRICKCOLOR, NAME, SIZE, ANCHOR)
207
	local NEWPART = IT("Part")
208
	NEWPART.formFactor = FORMFACTOR
209
	NEWPART.Reflectance = REFLECTANCE
210
	NEWPART.Transparency = TRANSPARENCY
211
	NEWPART.CanCollide = false
212
	NEWPART.Locked = true
213
	NEWPART.Anchored = true
214
	if ANCHOR == false then
215
		NEWPART.Anchored = false
216
	end
217
	NEWPART.BrickColor = BRICKC(tostring(BRICKCOLOR))
218
	NEWPART.Name = NAME
219
	NEWPART.Size = SIZE
220
	NEWPART.Position = Torso.Position
221
	NEWPART.Material = MATERIAL
222
	NEWPART:BreakJoints()
223
	NEWPART.Parent = PARENT
224
	return NEWPART
225
end
226
227
	local function weldBetween(a, b)
228
	    local weldd = Instance.new("ManualWeld")
229
	    weldd.Part0 = a
230
	    weldd.Part1 = b
231
	    weldd.C0 = CFrame.new()
232
	    weldd.C1 = b.CFrame:inverse() * a.CFrame
233
	    weldd.Parent = a
234
	    return weldd
235
	end
236
237
238
function QuaternionFromCFrame(cf)
239
	local mx, my, mz, m00, m01, m02, m10, m11, m12, m20, m21, m22 = cf:components()
240
	local trace = m00 + m11 + m22
241
	if trace > 0 then 
242
		local s = math.sqrt(1 + trace)
243
		local recip = 0.5 / s
244
		return (m21 - m12) * recip, (m02 - m20) * recip, (m10 - m01) * recip, s * 0.5
245
	else
246
		local i = 0
247
		if m11 > m00 then
248
			i = 1
249
		end
250
		if m22 > (i == 0 and m00 or m11) then
251
			i = 2
252
		end
253
		if i == 0 then
254
			local s = math.sqrt(m00 - m11 - m22 + 1)
255
			local recip = 0.5 / s
256
			return 0.5 * s, (m10 + m01) * recip, (m20 + m02) * recip, (m21 - m12) * recip
257
		elseif i == 1 then
258
			local s = math.sqrt(m11 - m22 - m00 + 1)
259
			local recip = 0.5 / s
260
			return (m01 + m10) * recip, 0.5 * s, (m21 + m12) * recip, (m02 - m20) * recip
261
		elseif i == 2 then
262
			local s = math.sqrt(m22 - m00 - m11 + 1)
263
			local recip = 0.5 / s return (m02 + m20) * recip, (m12 + m21) * recip, 0.5 * s, (m10 - m01) * recip
264
		end
265
	end
266
end
267
 
268
function QuaternionToCFrame(px, py, pz, x, y, z, w)
269
	local xs, ys, zs = x + x, y + y, z + z
270
	local wx, wy, wz = w * xs, w * ys, w * zs
271
	local xx = x * xs
272
	local xy = x * ys
273
	local xz = x * zs
274
	local yy = y * ys
275
	local yz = y * zs
276
	local zz = z * zs
277
	return CFrame.new(px, py, pz, 1 - (yy + zz), xy - wz, xz + wy, xy + wz, 1 - (xx + zz), yz - wx, xz - wy, yz + wx, 1 - (xx + yy))
278
end
279
 
280
function QuaternionSlerp(a, b, t)
281
	local cosTheta = a[1] * b[1] + a[2] * b[2] + a[3] * b[3] + a[4] * b[4]
282
	local startInterp, finishInterp;
283
	if cosTheta >= 0.0001 then
284
		if (1 - cosTheta) > 0.0001 then
285
			local theta = ACOS(cosTheta)
286
			local invSinTheta = 1 / SIN(theta)
287
			startInterp = SIN((1 - t) * theta) * invSinTheta
288
			finishInterp = SIN(t * theta) * invSinTheta
289
		else
290
			startInterp = 1 - t
291
			finishInterp = t
292
		end
293
	else
294
		if (1 + cosTheta) > 0.0001 then
295
			local theta = ACOS(-cosTheta)
296
			local invSinTheta = 1 / SIN(theta)
297
			startInterp = SIN((t - 1) * theta) * invSinTheta
298
			finishInterp = SIN(t * theta) * invSinTheta
299
		else
300
			startInterp = t - 1
301
			finishInterp = t
302
		end
303
	end
304
	return a[1] * startInterp + b[1] * finishInterp, a[2] * startInterp + b[2] * finishInterp, a[3] * startInterp + b[3] * finishInterp, a[4] * startInterp + b[4] * finishInterp
305
end
306
307
function Clerp(a, b, t)
308
	local qa = {QuaternionFromCFrame(a)}
309
	local qb = {QuaternionFromCFrame(b)}
310
	local ax, ay, az = a.x, a.y, a.z
311
	local bx, by, bz = b.x, b.y, b.z
312
	local _t = 1 - t
313
	return QuaternionToCFrame(_t * ax + t * bx, _t * ay + t * by, _t * az + t * bz, QuaternionSlerp(qa, qb, t))
314
end
315
316
function CreateFrame(PARENT, TRANSPARENCY, BORDERSIZEPIXEL, POSITION, SIZE, COLOR, BORDERCOLOR, NAME)
317
	local frame = IT("Frame")
318
	frame.BackgroundTransparency = TRANSPARENCY
319
	frame.BorderSizePixel = BORDERSIZEPIXEL
320
	frame.Position = POSITION
321
	frame.Size = SIZE
322
	frame.BackgroundColor3 = COLOR
323
	frame.BorderColor3 = BORDERCOLOR
324
	frame.Name = NAME
325
	frame.Parent = PARENT
326
	return frame
327
end
328
329
function CreateLabel(PARENT, TEXT, TEXTCOLOR, TEXTFONTSIZE, TEXTFONT, TRANSPARENCY, BORDERSIZEPIXEL, STROKETRANSPARENCY, NAME)
330
	local label = IT("TextLabel")
331
	label.BackgroundTransparency = 1
332
	label.Size = UD2(1, 0, 1, 0)
333
	label.Position = UD2(0, 0, 0, 0)
334
	label.TextColor3 = TEXTCOLOR
335
	label.TextStrokeTransparency = STROKETRANSPARENCY
336
	label.TextTransparency = TRANSPARENCY
337
	label.FontSize = TEXTFONTSIZE
338
	label.Font = TEXTFONT
339
	label.BorderSizePixel = BORDERSIZEPIXEL
340
	label.TextScaled = false
341
	label.Text = TEXT
342
	label.Name = NAME
343
	label.Parent = PARENT
344
	return label
345
end
346
347
function NoOutlines(PART)
348
	PART.TopSurface, PART.BottomSurface, PART.LeftSurface, PART.RightSurface, PART.FrontSurface, PART.BackSurface = 10, 10, 10, 10, 10, 10
349
end
350
351
function CreateWeldOrSnapOrMotor(TYPE, PARENT, PART0, PART1, C0, C1)
352
	local NEWWELD = IT(TYPE)
353
	NEWWELD.Part0 = PART0
354
	NEWWELD.Part1 = PART1
355
	NEWWELD.C0 = C0
356
	NEWWELD.C1 = C1
357
	NEWWELD.Parent = PARENT
358
	return NEWWELD
359
end
360
361
local S = IT("Sound")
362
function CreateSound(ID, PARENT, VOLUME, PITCH, DOESLOOP)
363
	local NEWSOUND = nil
364
	coroutine.resume(coroutine.create(function()
365
		NEWSOUND = S:Clone()
366
		NEWSOUND.Parent = PARENT
367
		NEWSOUND.Volume = VOLUME
368
		NEWSOUND.Pitch = PITCH
369
		NEWSOUND.SoundId = "http://www.roblox.com/asset/?id="..ID
370
		NEWSOUND:play()
371
		if DOESLOOP == true then
372
			NEWSOUND.Looped = true
373
		else
374
			repeat wait(1) until NEWSOUND.Playing == false or NEWSOUND.Parent ~= PARENT
375
			NEWSOUND:remove()
376
		end
377
	end))
378
	return NEWSOUND
379
end
380
381
function CFrameFromTopBack(at, top, back)
382
	local right = top:Cross(back)
383
	return CF(at.x, at.y, at.z, right.x, top.x, back.x, right.y, top.y, back.y, right.z, top.z, back.z)
384
end
385
386
--WACKYEFFECT({EffectType = "", Size = VT(1,1,1), Size2 = VT(0,0,0), Transparency = 0, Transparency2 = 1, CFrame = CF(), MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = C3(1,1,1), SoundID = nil, SoundPitch = nil, SoundVolume = nil})
387
function WACKYEFFECT(Table)
388
	local TYPE = (Table.EffectType or "Sphere")
389
	local SIZE = (Table.Size or VT(1,1,1))
390
	local ENDSIZE = (Table.Size2 or VT(0,0,0))
391
	local TRANSPARENCY = (Table.Transparency or 0)
392
	local ENDTRANSPARENCY = (Table.Transparency2 or 1)
393
	local CFRAME = (Table.CFrame or Torso.CFrame)
394
	local MOVEDIRECTION = (Table.MoveToPos or nil)
395
	local ROTATION1 = (Table.RotationX or 0)
396
	local ROTATION2 = (Table.RotationY or 0)
397
	local ROTATION3 = (Table.RotationZ or 0)
398
	local MATERIAL = (Table.Material or "Neon")
399
	local COLOR = (Table.Color or C3(1,1,1))
400
	local TIME = (Table.Time or 45)
401
	local SOUNDID = (Table.SoundID or nil)
402
	local SOUNDPITCH = (Table.SoundPitch or nil)
403
	local SOUNDVOLUME = (Table.SoundVolume or nil)
404
	coroutine.resume(coroutine.create(function()
405
		local PLAYSSOUND = false
406
		local SOUND = nil
407
		local EFFECT = CreatePart(3, Effects, MATERIAL, 0, TRANSPARENCY, BRICKC("Pearl"), "Effect", VT(1,1,1), true)
408
		if SOUNDID ~= nil and SOUNDPITCH ~= nil and SOUNDVOLUME ~= nil then
409
			PLAYSSOUND = true
410
			SOUND = CreateSound(SOUNDID, EFFECT, SOUNDVOLUME, SOUNDPITCH, false)
411
		end
412
		EFFECT.Color = COLOR
413
		local MSH = nil
414
		if TYPE == "Sphere" then
415
			MSH = CreateMesh("SpecialMesh", EFFECT, "Sphere", "", "", SIZE, VT(0,0,0))
416
		elseif TYPE == "Block" then
417
			MSH = IT("BlockMesh",EFFECT)
418
			MSH.Scale = VT(SIZE.X,SIZE.X,SIZE.X)
419
		elseif TYPE == "Wave" then
420
			MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "20329976", "", SIZE, VT(0,0,-SIZE.X/8))
421
		elseif TYPE == "Ring" then
422
			MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "559831844", "", VT(SIZE.X,SIZE.X,0.1), VT(0,0,0))
423
		elseif TYPE == "Slash" then
424
			MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "662586858", "", VT(SIZE.X/10,0,SIZE.X/10), VT(0,0,0))
425
		elseif TYPE == "Round Slash" then
426
			MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "662585058", "", VT(SIZE.X/10,0,SIZE.X/10), VT(0,0,0))
427
		elseif TYPE == "Swirl" then
428
			MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "1051557", "", SIZE, VT(0,0,0))
429
		elseif TYPE == "Skull" then
430
			MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "4770583", "", SIZE, VT(0,0,0))
431
		elseif TYPE == "Crystal" then
432
			MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "9756362", "", SIZE, VT(0,0,0))
433
		end
434
		if MSH ~= nil then
435
			local MOVESPEED = nil
436
			if MOVEDIRECTION ~= nil then
437
				MOVESPEED = (CFRAME.p - MOVEDIRECTION).Magnitude/TIME
438
			end
439
			local GROWTH = SIZE - ENDSIZE
440
			local TRANS = TRANSPARENCY - ENDTRANSPARENCY
441
			if TYPE == "Block" then
442
				EFFECT.CFrame = CFRAME*ANGLES(RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)))
443
			else
444
				EFFECT.CFrame = CFRAME
445
			end
446
			for LOOP = 1, TIME+1 do
447
				Swait()
448
				MSH.Scale = MSH.Scale - GROWTH/TIME
449
				if TYPE == "Wave" then
450
					MSH.Offset = VT(0,0,-MSH.Scale.X/8)
451
				end
452
				EFFECT.Transparency = EFFECT.Transparency - TRANS/TIME
453
				if TYPE == "Block" then
454
					EFFECT.CFrame = CFRAME*ANGLES(RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)))
455
				else
456
					EFFECT.CFrame = EFFECT.CFrame*ANGLES(RAD(ROTATION1),RAD(ROTATION2),RAD(ROTATION3))
457
				end
458
				if MOVEDIRECTION ~= nil then
459
					local ORI = EFFECT.Orientation
460
					EFFECT.CFrame = CF(EFFECT.Position,MOVEDIRECTION)*CF(0,0,-MOVESPEED)
461
					EFFECT.Orientation = ORI
462
				end
463
			end
464
			if PLAYSSOUND == false then
465
				EFFECT:remove()
466
			else
467
				SOUND.Stopped:Connect(function()
468
					EFFECT:remove()
469
				end)
470
			end
471
		else
472
			if PLAYSSOUND == false then
473
				EFFECT:remove()
474
			else
475
				repeat Swait() until SOUND.Playing == false
476
				EFFECT:remove()
477
			end
478
		end
479
	end))
480
end
481
		
482
function sandbox(var,func)
483
	local env = getfenv(func)
484
	local newenv = setmetatable({},{
485
		__index = function(self,k)
486
			if k=="script" then
487
				return var
488
			else
489
				return env[k]
490
			end
491
		end,
492
	})
493
	setfenv(func,newenv)
494
	return func
495
end
496
function NS(...)
497
	local tab = {...}
498
	local fat = {}
499
	for i = 1, #tab do
500
		local v = tab[i]
501
		table.insert(fat,NumberSequenceKeypoint.new(v[1],v[2]))
502
	end
503
	return NumberSequence.new(fat);	
504
end
505
cors = {}
506
mas = Instance.new("Model",game:GetService("Lighting"))
507
ParticleEmitter0 = Instance.new("ParticleEmitter")
508
ParticleEmitter1 = Instance.new("ParticleEmitter")
509
ParticleEmitter2 = Instance.new("ParticleEmitter")
510
ParticleEmitter0.Name = "Flames"
511
ParticleEmitter0.Parent = mas
512
ParticleEmitter0.Speed = NumberRange.new(0, 15)
513
ParticleEmitter0.Rotation = NumberRange.new(0, 360)
514
ParticleEmitter0.Enabled = false
515
ParticleEmitter0.LightEmission = 1
516
ParticleEmitter0.LightInfluence = 1
517
ParticleEmitter0.Transparency = NumberSequence.new(1,0)
518
ParticleEmitter0.ZOffset = 1
519
ParticleEmitter0.Size = NumberSequence.new(10,0)
520
ParticleEmitter0.EmissionDirection = Enum.NormalId.Back
521
ParticleEmitter0.Lifetime = NumberRange.new(0, 2)
522
ParticleEmitter0.Rate = 9999
523
ParticleEmitter0.RotSpeed = NumberRange.new(-25, 25)
524
ParticleEmitter0.SpreadAngle = Vector2.new(25, 25)
525
ParticleEmitter0.VelocitySpread = 25
526
ParticleEmitter0.Texture = "rbxasset://textures/particles/sparkles_main.dds"
527
ParticleEmitter1.Name = "Death"
528
ParticleEmitter1.Parent = mas
529
ParticleEmitter1.Rotation = NumberRange.new(0, 360)
530
ParticleEmitter1.Enabled = false
531
ParticleEmitter1.LightEmission = 0.75
532
ParticleEmitter1.Texture = "rbxasset://textures/particles/sparkles_main.dds"
533
ParticleEmitter1.Transparency = NS({0,0.47540986537933},{.168,0.37704920768738},{.457,0.25683063268661},{.803,0.4426229596138},{.948,0.62841534614563},{1,1})
534
ParticleEmitter1.ZOffset = 0.5
535
ParticleEmitter1.Size = NS({0,1},{.656,1.8032789230347},{.843,1.4207655191422},{1,0})
536
ParticleEmitter1.Acceleration = Vector3.new(0, 35, 0)
537
ParticleEmitter1.Drag = 5
538
ParticleEmitter1.EmissionDirection = Enum.NormalId.Right
539
ParticleEmitter1.Lifetime = NumberRange.new(0, 1)
540
ParticleEmitter1.Rate = 999
541
ParticleEmitter1.RotSpeed = NumberRange.new(-56, 56)
542
ParticleEmitter1.SpreadAngle = Vector2.new(360, 360)
543
ParticleEmitter1.VelocitySpread = 360
544
ParticleEmitter2.Name = "Wing"
545
ParticleEmitter2.Parent = mas
546
ParticleEmitter2.Rotation = NumberRange.new(0, 360)
547
ParticleEmitter2.Enabled = false
548
ParticleEmitter2.LightEmission = 1
549
ParticleEmitter2.Texture = "rbxasset://textures/particles/explosion01_implosion_main.dds"
550
ParticleEmitter2.Size = NS({0,0.05464494228363},{.193,1.0382515192032},{.352,1.3661205768585},{1,0})
551
ParticleEmitter2.Acceleration = Vector3.new(0, -7, 15)
552
ParticleEmitter2.Lifetime = NumberRange.new(0.80000001192093, 0.80000001192093)
553
ParticleEmitter2.LockedToPart = true
554
ParticleEmitter2.Rate = 300
555
for i,v in pairs(mas:GetChildren()) do
556
	v.Parent = script
557
	pcall(function() v:MakeJoints() end)
558
end
559
mas:Destroy()
560
for i,v in pairs(cors) do
561
	spawn(function()
562
		pcall(v)
563
	end)
564
end
565
local DParticles = script.Death
566
DParticles:remove()
567
DParticles.Name = ""
568
New = function(Object, Parent, Name, Data)
569
	local Object = Instance.new(Object)
570
	for Index, Value in pairs(Data or {}) do
571
		Object[Index] = Value
572
	end
573
	Object.Parent = Parent
574
	Object.Name = Name
575
	return Object
576
end
577
578
function CreateWave(SIZE, WAIT, CFRAME, DOESROT, ROT, COLOR, GROW)
579
	local wave = CreatePart(3, Effects, "Neon", 0, 0.5, BRICKC(COLOR), "Effect", VT(0, 0, 0))
580
	wave.Color = COLOR
581
	local mesh = CreateMesh("SpecialMesh", wave, "FileMesh", "20329976", "", SIZE, VT(0, 0, -SIZE.X / 8))
582
	wave.CFrame = CFRAME
583
	coroutine.resume(coroutine.create(function(PART)
584
		for i = 1, WAIT do
585
			Swait()
586
			mesh.Scale = mesh.Scale + GROW
587
			mesh.Offset = VT(0, 0, -(mesh.Scale.X / 8))
588
			if DOESROT == true then
589
				wave.CFrame = wave.CFrame * CFrame.fromEulerAnglesXYZ(0, ROT, 0)
590
			end
591
			wave.Transparency = wave.Transparency + 0.5 / WAIT
592
			if wave.Transparency > 0.99 then
593
				wave:remove()
594
			end
595
		end
596
	end))
597
end
598
function MagicSphere(SIZE, WAIT, CFRAME, COLOR, GROW)
599
	local wave = CreatePart(3, Effects, "Neon", 0, 0, BRICKC(COLOR), "Effect", VT(1, 1, 1), true)
600
	wave.Color = COLOR
601
	local mesh = CreateMesh("SpecialMesh", wave, "Sphere", "", "", SIZE, VT(0, 0, 0))
602
	wave.CFrame = CFRAME
603
	coroutine.resume(coroutine.create(function(PART)
604
		for i = 1, WAIT do
605
			Swait()
606
			mesh.Scale = mesh.Scale + GROW
607
			wave.Transparency = wave.Transparency + 1 / WAIT
608
			if wave.Transparency > 0.99 then
609
				wave:remove()
610
			end
611
		end
612
	end))
613
end
614
function Slice(KIND, SIZE, WAIT, CFRAME, COLOR, GROW)
615
	local wave = CreatePart(3, Effects, "Neon", 0, 0.5, BRICKC(COLOR), "Effect", VT(1, 1, 1), true)
616
	local mesh
617
	if KIND == "Base" then
618
		mesh = CreateMesh("SpecialMesh", wave, "FileMesh", "448386996", "", VT(0, SIZE / 10, SIZE / 10), VT(0, 0, 0))
619
	elseif KIND == "Thin" then
620
		mesh = CreateMesh("SpecialMesh", wave, "FileMesh", "662586858", "", VT(SIZE / 10, 0, SIZE / 10), VT(0, 0, 0))
621
	elseif KIND == "Round" then
622
		mesh = CreateMesh("SpecialMesh", wave, "FileMesh", "662585058", "", VT(SIZE / 10, 0, SIZE / 10), VT(0, 0, 0))
623
	end
624
	wave.CFrame = CFRAME
625
	coroutine.resume(coroutine.create(function(PART)
626
		for i = 1, WAIT do
627
			Swait()
628
			mesh.Scale = mesh.Scale + GROW / 10
629
			wave.Transparency = wave.Transparency + 0.5 / WAIT
630
			if wave.Transparency > 0.99 then
631
				wave:remove()
632
			end
633
		end
634
	end))
635
end
636
637
function MakeForm(PART,TYPE)
638
	if TYPE == "Cyl" then
639
		local MSH = IT("CylinderMesh",PART)
640
	elseif TYPE == "Ball" then
641
		local MSH = IT("SpecialMesh",PART)
642
		MSH.MeshType = "Sphere"
643
	elseif TYPE == "Wedge" then
644
		local MSH = IT("SpecialMesh",PART)
645
		MSH.MeshType = "Wedge"
646
	end
647
end
648
649
function SpawnTrail(FROM,TO,BIG)
650
	local TRAIL = CreatePart(3, Effects, "Neon", 0, 0.5, "Really red", "Trail", VT(1,1,1))
651
	MakeForm(TRAIL,"Cyl")
652
	local DIST = (FROM - TO).Magnitude
653
	if BIG == true then
654
		TRAIL.Size = VT(2,DIST,2)
655
	else
656
		TRAIL.Size = VT(1,DIST,1)
657
	end
658
	TRAIL.CFrame = CF(FROM, TO) * CF(0, 0, -DIST/2) * ANGLES(RAD(90),RAD(0),RAD(0))
659
	coroutine.resume(coroutine.create(function()
660
		for i = 1, 5 do
661
			Swait()
662
			TRAIL.Transparency = TRAIL.Transparency + 0.1
663
		end
664
		TRAIL:remove()
665
	end))
666
end
667
668
Debris = game:GetService("Debris")
669
670
function CastProperRay(StartPos, EndPos, Distance, Ignore)
671
	local DIRECTION = CF(StartPos,EndPos).lookVector
672
	return Raycast(StartPos, DIRECTION, Distance, Ignore)
673
end
674
675
function turnto(position)
676
	RootPart.CFrame=CFrame.new(RootPart.CFrame.p,VT(position.X,RootPart.Position.Y,position.Z)) * CFrame.new(0, 0, 0)
677
end
678
679
--//=================================\\
680
--||	     WEAPON CREATION
681
--\\=================================//
682
683
local Particle = IT("ParticleEmitter",nil)
684
Particle.Enabled = false
685
Particle.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,0.3),NumberSequenceKeypoint.new(0.3,0),NumberSequenceKeypoint.new(1,1)})
686
Particle.LightEmission = 0.5
687
Particle.Rate = 150
688
Particle.ZOffset = 0.2
689
Particle.Rotation = NumberRange.new(-180, 180)
690
Particle.RotSpeed = NumberRange.new(-180, 180)
691
Particle.Texture = "http://www.roblox.com/asset/?id=304437537"
692
Particle.Color = ColorSequence.new(C3(1,0,0),C3(0.4,0,0))
693
694
--ParticleEmitter({Speed = 5, Drag = 0, Size1 = 1, Size2 = 5, Lifetime1 = 1, Lifetime2 = 1.5, Parent = Torso, Emit = 100, Offset = 360, Enabled = false})
695
function ParticleEmitter(Table)
696
	local PRTCL = Particle:Clone()
697
	local Speed = Table.Speed or 5
698
	local Drag = Table.Drag or 0
699
	local Size1 = Table.Size1 or 1
700
	local Size2 = Table.Size2 or 5
701
	local Lifetime1 = Table.Lifetime1 or 1
702
	local Lifetime2 = Table.Lifetime2 or 1.5
703
	local Parent = Table.Parent or Torso
704
	local Emit = Table.Emit or 100
705
	local Offset = Table.Offset or 360
706
	local Acel = Table.Acel or VT(0,0,0)
707
	local Enabled = Table.Enabled or false
708
	PRTCL.Parent = Parent
709
	PRTCL.Size = NumberSequence.new(Size1,Size2)
710
	PRTCL.Lifetime = NumberRange.new(Lifetime1,Lifetime2)
711
	PRTCL.Speed = NumberRange.new(Speed)
712
	PRTCL.VelocitySpread = Offset
713
	PRTCL.Drag = Drag
714
	PRTCL.Acceleration = Acel
715
	if Enabled == false then
716
		PRTCL:Emit(Emit)
717
		Debris:AddItem(PRTCL,Lifetime2)
718
	else
719
		PRTCL.Enabled = true
720
	end
721
	return PRTCL
722
end
723
724
local Handle = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0.2,0.6,0.2),false)
725
local RightArmGrasp = CreateWeldOrSnapOrMotor("Weld", Handle, RightArm, Handle, CF(0,-1, 0) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, 0.21, 0))
726
local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0.2,0.5,0.2),false)
727
MakeForm(Part,"Wedge")
728
CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.3, 0.2) * ANGLES(RAD(0), RAD(180), RAD(0)), CF(0, 0, 0))
729
local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0.2,0.3,0.2),false)
730
MakeForm(Part,"Wedge")
731
CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.4, 0) * ANGLES(RAD(0), RAD(0), RAD(180)), CF(0, 0, 0))
732
local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0.3,0.3,0.3),false)
733
CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.5, 0.2) * ANGLES(RAD(0), RAD(0), RAD(0)), CF(0, 0, 0))
734
local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0.3,0.5,0.5),false)
735
CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.6, 0.5) * ANGLES(RAD(0), RAD(0), RAD(0)), CF(0, 0, 0))
736
local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0.4,0.4,0.4),false)
737
MakeForm(Part,"Cyl")
738
CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.6, 0.5) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, 0, 0))
739
for i = 1, 8 do
740
	local Piece = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Eye", VT(0,0.35,0.41),false)
741
	CreateWeldOrSnapOrMotor("Weld", Handle, Part, Piece, CF(0, 0, 0) * ANGLES(RAD(0), RAD((360/8)*i), RAD(0)), CF(0, 0, 0))
742
end
743
local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Eye", VT(0.38,0.41,0.38),false)
744
MakeForm(Part,"Cyl")
745
CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.6, 0.5) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, 0, 0))
746
local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0.37,0.5,0.37),false)
747
MakeForm(Part,"Ball")
748
CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.6, 0.3) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, 0, 0))
749
local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0.2,0.7,0.4),false)
750
MakeForm(Part,"Wedge")
751
CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.7, 0.5) * ANGLES(RAD(90), RAD(180), RAD(180)), CF(0, 0, 0))
752
local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0.3,0.4,0.2),false)
753
CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.6, 0.7) * ANGLES(RAD(0), RAD(0), RAD(0)), CF(0, 0, 0))
754
local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0.35,0.35,0.35),false)
755
MakeForm(Part,"Cyl")
756
CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.6, 0.7) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, 0, 0))
757
local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0.5,0.1,0.5),false)
758
MakeForm(Part,"Cyl")
759
CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.6, 1) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, 0, 0))
760
local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0.5,0.1,0.45),false)
761
MakeForm(Part,"Cyl")
762
CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.6, 1.1) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, 0, 0))
763
local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0.2,0.5,0.2),false)
764
MakeForm(Part,"Wedge")
765
CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.55, 0.2) * ANGLES(RAD(-135), RAD(0), RAD(0)), CF(0, -0.3, 0))
766
local LASTPART = Handle
767
for i = 1, 10 do
768
	if LASTPART == Handle then
769
		local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0.1,0.2,0),false)
770
		LASTPART = Part
771
		CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.1, 0.2) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, 0, 0))
772
	else
773
		local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0.1,0.05,0),false)
774
		CreateWeldOrSnapOrMotor("Weld", Handle, LASTPART, Part, CF(0, 0.025, 0) * ANGLES(RAD(8), RAD(0), RAD(0)), CF(0, -0.025, 0))
775
		LASTPART = Part
776
	end
777
end
778
779
local Barrel = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0.15,2,0.15),false)
780
MakeForm(Barrel,"Cyl")
781
CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Barrel, CF(0, -0.6, 1.8) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, 0, 0))
782
local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0.25,1,0.25),false)
783
MakeForm(Part,"Cyl")
784
CreateWeldOrSnapOrMotor("Weld", Handle, Barrel, Part, CF(0, -0.6, 0), CF(0, 0, 0))
785
local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0,0.1,0.2),false)
786
MakeForm(Part,"Wedge")
787
CreateWeldOrSnapOrMotor("Weld", Handle, Barrel, Part, CF(0, 0.945, 0.1) * ANGLES(RAD(180), RAD(0), RAD(0)), CF(0, 0, 0))
788
local Hole = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Eye", VT(0.125,0,0.125),false)
789
MakeForm(Hole,"Cyl")
790
CreateWeldOrSnapOrMotor("Weld", Handle, Barrel, Hole, CF(0, 0.98, 0), CF(0, 0, 0))
791
local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0,0,0),false)
792
local GEARWELD = CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.6, 0.7), CF(0, 0, 0))
793
CreateMesh("SpecialMesh", Part, "FileMesh", 156292343, "", VT(0.8,0.8,1.5), VT(0,0,0.2))
794
local Part = CreatePart(3, Weapon, "Metal", 0, 0.5, "Mid gray", "Eye", VT(0,0,0),false)
795
local GEARWELD2 = CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.6, 0.7), CF(0, 0, 0))
796
CreateMesh("SpecialMesh", Part, "FileMesh", 156292343, "", VT(0.9,0.9,0.3), VT(0,0,0.2))
797
coroutine.resume(coroutine.create(function()
798
	while wait() do
799
		GEARWELD.C0 = GEARWELD.C0 * ANGLES(RAD(0), RAD(0), RAD(5))
800
		GEARWELD2.C0 = GEARWELD2.C0 * ANGLES(RAD(0), RAD(0), RAD(-5))
801
	end
802
end))
803
804
ParticleEmitter({Speed = 0.2, Drag = 0, Size1 = 0.1, Size2 = 0, Lifetime1 = 0.3, Lifetime2 = 0.5, Parent = Hole, Emit = 100, Offset = 360, Enabled = true, Acel = VT(0,5,0)})
805
--ParticleEmitter({Speed = 0.5, Drag = 0, Size1 = 0.2, Size2 = 0, Lifetime1 = 0.3, Lifetime2 = 0.7, Parent = Dangle, Emit = 100, Offset = 360, Enabled = true, Acel = VT(0,5,0)})
806
807
for _, c in pairs(Weapon:GetDescendants()) do
808
	if c.ClassName == "Part" and c.Name ~= "Eye" and c.Parent ~= Effects and c.Parent.Parent ~= Effects then
809
		c.Material = "Glass"
810
		c.Color = C3(0,0,0)
811
	elseif c.ClassName == "Part" and c.Name == "Eye" then
812
		c.Color = C3(1,0,0)
813
		c.Material = "Neon"
814
	end
815
end
816
817
Weapon.Parent = Character
818
for _, c in pairs(Weapon:GetChildren()) do
819
	if c.ClassName == "Part" then
820
		c.CustomPhysicalProperties = PhysicalProperties.new(0, 0, 0, 0, 0)
821
	end
822
end
823
824
local SKILLTEXTCOLOR = C3(1,0,0)
825
local SKILLFONT = "Antique"
826
local SKILLTEXTSIZE = 7
827
828
Humanoid.Died:connect(function()
829
	ATTACK = true
830
end)
831
832
local SKILL1FRAME = CreateFrame(WEAPONGUI, 1, 2, UD2(0.1, 0, 0.90, 0), UD2(0.26, 0, 0.07, 0), C3(0,0,0), C3(0, 0, 0), "Skill 1 Frame")
833
local SKILL2FRAME = CreateFrame(WEAPONGUI, 1, 2, UD2(0.63, 0, 0.90, 0), UD2(0.26, 0, 0.07, 0), C3(0,0,0), C3(0, 0, 0), "Skill 2 Frame")
834
local SKILL3FRAME = CreateFrame(WEAPONGUI, 1, 2, UD2(0.215, 0, 0.90, 0), UD2(0.26, 0, 0.07, 0), C3(0,0,0), C3(0, 0, 0), "Skill 3 Frame")
835
local SKILL4FRAME = CreateFrame(WEAPONGUI, 1, 2, UD2(0.525, 0, 0.90, 0), UD2(0.26, 0, 0.07, 0), C3(0,0,0), C3(0, 0, 0), "Skill 4 Frame")
836
local SKILL5FRAME = CreateFrame(WEAPONGUI, 1, 2, UD2(0.365, 0, 0.90, 0), UD2(0.26, 0, 0.07, 0), C3(0,0,0), C3(0, 0, 0), "Skill 5 Frame")
837
local SKILL6FRAME = CreateFrame(WEAPONGUI, 1, 2, UD2(0.365, 0, 0.7, 0), UD2(0.26, 0, 0.07, 0), C3(0,0,0), C3(0, 0, 0), "Skill 6 Frame")
838
839
local SKILL1TEXT = CreateLabel(SKILL1FRAME, "[Z - Shot]", SKILLTEXTCOLOR, SKILLTEXTSIZE, SKILLFONT, 0, 2, 0.7, "Text 1")
840
local SKILL2TEXT = CreateLabel(SKILL2FRAME, "[Q - WARP]", SKILLTEXTCOLOR, SKILLTEXTSIZE, SKILLFONT, 0, 2, 0.7, "Text 2")
841
local SKILL3TEXT = CreateLabel(SKILL3FRAME, "[C - Kill]", SKILLTEXTCOLOR, SKILLTEXTSIZE, SKILLFONT, 0, 2, 0.7, "Text 3")
842
local SKILL4TEXT = CreateLabel(SKILL4FRAME, "[V - RUSHING BURST!!", SKILLTEXTCOLOR, SKILLTEXTSIZE, SKILLFONT, 0, 2, 0.7, "Text 4")
843
local SKILL5TEXT = CreateLabel(SKILL5FRAME, "[X - NUKING U!!!]", SKILLTEXTCOLOR, SKILLTEXTSIZE, SKILLFONT, 0, 2, 0.7, "Text 5")
844
local SKILL6TEXT = CreateLabel(SKILL6FRAME, "[F - HAVING MERCY!]", SKILLTEXTCOLOR, SKILLTEXTSIZE, SKILLFONT, 0, 2, 0.7, "Text 6")
845
846
function printbye(Name)
847
	local MESSAGES = {"You cannot struggle, ","Your existance is an insult, ","Fade, ","Your existance is not desired, ","You are not permitted here, ","You are not to decide your fate, ","Be gone, ","You are already dead, ","Your live is an anomaly, ","Don't dare to return, ","Why are you resisting, ","You cannot exist here, ","Why are you struggling, ","Your fate was already decided, ","Goodbye, ","You cannot ignore my command, ","You cannot resist my command, ","You already died, "}
848
	warn(MESSAGES[MRANDOM(1,#MESSAGES)]..Name..".")	
849
end
850
851
workspace.ChildAdded:connect(function(instance)
852
    for BANISH = 1, #TOBANISH do
853
		if TOBANISH[BANISH] ~= nil then
854
			if instance.Name == TOBANISH[BANISH] then
855
				coroutine.resume(coroutine.create(function()
856
					printbye(instance.Name)
857
					instance:ClearAllChildren()
858
					Debris:AddItem(instance,0.0005)
859
				end))
860
			end
861
		end
862
	end
863
end)
864
865
--//=================================\\
866
--||			DAMAGING
867
--\\=================================//
868
869
function Banish(Foe)
870
	if Foe then
871
		coroutine.resume(coroutine.create(function()
872
			--if game.Players:FindFirstChild(Foe.Name) then
873
				table.insert(TOBANISH,Foe.Name)
874
				printbye(Foe.Name)
875
			--end
876
			Foe.Archivable = true
877
			local CLONE = Foe:Clone()
878
			Foe:Destroy()
879
			CLONE.Parent = Effects
880
			CLONE:BreakJoints()
881
			local MATERIALS = {"Glass","Neon"}
882
			for _, c in pairs(CLONE:GetDescendants()) do
883
				if c:IsA("BasePart") then
884
					if c.Name == "Torso" or c.Name == "UpperTorso" or c == CLONE.PrimaryPart then
885
 						CreateSound(340722848, c, 10, 0.89, false)
886
                        CreateSound(165487479, Torso, 10, 1, false)
887
					end
888
					c.Anchored = true
889
					c.Transparency = c.Transparency + 0.2
890
					c.Material = MATERIALS[MRANDOM(1,2)]
891
					c.Color = C3(1,0,0)
892
					if c.ClassName == "MeshPart" then
893
						c.TextureID = ""
894
					end
895
					if c:FindFirstChildOfClass("SpecialMesh") then
896
						c:FindFirstChildOfClass("SpecialMesh").TextureId = ""
897
					end
898
					if c:FindFirstChildOfClass("Decal") then
899
						c:FindFirstChildOfClass("Decal"):remove()
900
					end
901
					c.Name = "Banished"
902
					c.CanCollide = false
903
				else
904
					c:remove()
905
				end
906
			end
907
			local A = false
908
			for i = 1, 35 do
909
				if A == false then
910
					A = true
911
				elseif A == true then
912
					A = false
913
				end
914
				for _, c in pairs(CLONE:GetDescendants()) do
915
					if c:IsA("BasePart") then
916
						c.Anchored = true
917
						c.Material = MATERIALS[MRANDOM(1,2)]
918
						c.Transparency = c.Transparency + 0.8/35
919
						if A == false then
920
							c.CFrame = c.CFrame*CF(MRANDOM(-45,45)/45,MRANDOM(-45,45)/45,MRANDOM(-45,45)/45)
921
						elseif A == true then
922
							c.CFrame = c.CFrame*CF(MRANDOM(-45,45)/45,MRANDOM(-45,45)/45,MRANDOM(-45,45)/45)						
923
						end
924
					end
925
				end
926
				Swait()
927
			end
928
			CLONE:remove()
929
		end))
930
	end
931
end
932
		
933
function ApplyAoE0(POSITION, RANGE)
934
	local PARTS = {}
935
	for index, CHILD in pairs(workspace:GetDescendants()) do
936
		if CHILD.ClassName == "Model" and CHILD ~= Character then
937
			local HUM = CHILD:FindFirstChildOfClass("Humanoid")
938
			if HUM then
939
				local TORSO = CHILD:FindFirstChild("Torso") or CHILD:FindFirstChild("UpperTorso")
940
				if TORSO and HUM.Health > 0 and RANGE >= (TORSO.Position - POSITION).Magnitude then
941
					CHILD:BreakJoints()
942
					for index, PART in pairs(CHILD:GetChildren()) do
943
						if PART:IsA("BasePart") and PART.Name ~= "HumanoidRootPart" then
944
							local P = DParticles:Clone()
945
							P.Parent = PART
946
							P.Enabled = true
947
							P.Color = ColorSequence.new(PART.Color, C3(1, 0, 0))
948
							PART.Anchored = true
949
							table.insert(PARTS, {PART, P})
950
						end
951
					end
952
				end
953
			end
954
		elseif CHILD:IsA("BasePart") and CHILD.Parent.Parent ~= Character and CHILD.Parent:FindFirstChildOfClass("Humanoid") == nil and CHILD:FindFirstChild("ewdfrfgrwefd") == nil and CHILD.Size.Magnitude < RANGE * 2 and CHILD.Size.Magnitude < 200 and RANGE > (CHILD.Position - POSITION).Magnitude then
955
			local FOLDER = IT("Folder", CHILD)
956
			FOLDER.Name = "ewdfrfgrwefd"
957
			local P = DParticles:Clone()
958
			P.Parent = CHILD
959
			P.Enabled = true
960
			CHILD:BreakJoints()
961
			CHILD.CanCollide = false
962
			CHILD.Anchored = true
963
			P.Rate = math.ceil(CHILD.Size.Magnitude / 2)
964
			P.Color = ColorSequence.new(CHILD.Color, C3(1, 0, 0))
965
			table.insert(PARTS, {CHILD, P})
966
		end
967
	end
968
	coroutine.resume(coroutine.create(function()
969
		if #PARTS > 0 then
970
			for i = 1, 85 do
971
				Swait()
972
				for E = 1, #PARTS do
973
					local F = PARTS[E]
974
					local A = F[1]
975
					local B = F[2]
976
					A.Transparency = A.Transparency + 0.011764705882352941
977
					B.Rate = math.ceil(B.Rate * 1.2)
978
					for index, E in pairs(A:GetChildren()) do
979
						if E:IsA("Decal") or E:IsA("Texture") then
980
							E.Transparency = E.Transparency + 0.011764705882352941
981
						elseif E:IsA("JointInstance") then
982
							E:remove()
983
						elseif E:IsA("Light") or E:IsA("ParticleEmitter") and E ~= B and E.Name ~= "ArchangelDeathParticles" or E:IsA("Fire") or E:IsA("Sparkles") or E:IsA("Smoke") then
984
							E.Enabled = false
985
						end
986
					end
987
				end
988
			end
989
			for E = 1, #PARTS do
990
				local F = PARTS[E]
991
				local A = F[1]
992
				local B = F[2]
993
				B.Enabled = false
994
				Debris:AddItem(A, 3)
995
			end
996
		end
997
	end))
998
end
999
1000
function ApplyAoE(POSITION,RANGE,ISBANISH)
1001
	local CHILDREN = workspace:GetDescendants()
1002
	for index, CHILD in pairs(CHILDREN) do
1003
		if CHILD.ClassName == "Model" and CHILD ~= Character then
1004
			local HUM = CHILD:FindFirstChildOfClass("Humanoid")
1005
			if HUM then
1006
				local TORSO = CHILD:FindFirstChild("Torso") or CHILD:FindFirstChild("UpperTorso")
1007
				if TORSO then
1008
					if (TORSO.Position - POSITION).Magnitude <= RANGE then
1009
						if ISBANISH == true then
1010
							Banish(CHILD)
1011
						else
1012
							if ISBANISH == "Gravity" then
1013
								HUM.PlatformStand = true
1014
								if TORSO:FindFirstChild("V3BanishForce"..Player.Name) then
1015
									local grav = Instance.new("BodyPosition",TORSO)
1016
									grav.D = 15
1017
									grav.P = 20000
1018
									grav.maxForce = Vector3.new(math.huge,math.huge,math.huge)
1019
									grav.position = TORSO.Position
1020
									grav.Name = "V3BanishForce"..Player.Name
1021
								else
1022
									TORSO:FindFirstChild("V3BanishForce"..Player.Name).position = TORSO.Position+VT(0,0.3,0)
1023
									TORSO.RotVelocity = VT(MRANDOM(-25,25),MRANDOM(-25,25),MRANDOM(-25,25))
1024
								end
1025
							else
1026
								HUM.PlatformStand = false
1027
							end
1028
						end
1029
					elseif ISBANISH == "Gravity" then
1030
						if TORSO:FindFirstChild("V3BanishForce"..Player.Name) then
1031
							TORSO:FindFirstChild("V3BanishForce"..Player.Name):remove()
1032
							HUM.PlatformStand = false
1033
						end
1034
					end
1035
				end
1036
			end
1037
		end
1038
	end
1039
end
1040
local asd = Instance.new("ParticleEmitter")
1041
asd.Color = ColorSequence.new(Color3.new(0.5, 0, 0), Color3.new(.3, 0, 0))
1042
asd.LightEmission = .1
1043
asd.Texture = "http://www.roblox.com/asset/?ID=291880914"
1044
aaa = NumberSequence.new({NumberSequenceKeypoint.new(0, 0.6),NumberSequenceKeypoint.new(1, 2)})
1045
bbb = NumberSequence.new({NumberSequenceKeypoint.new(0, 1),NumberSequenceKeypoint.new(0.0636, 0), NumberSequenceKeypoint.new(1, 1)})
1046
asd.Transparency = bbb
1047
asd.Size = aaa
1048
asd.ZOffset = .9
1049
asd.Acceleration = Vector3.new(0, -15, 0)
1050
asd.LockedToPart = false
1051
asd.EmissionDirection = "Back"
1052
asd.Lifetime = NumberRange.new(1, 2)
1053
asd.Rotation = NumberRange.new(-100, 100)
1054
asd.RotSpeed = NumberRange.new(-100, 100)
1055
asd.Speed = NumberRange.new(10)
1056
asd.Enabled = false
1057
asd.VelocitySpread = 999
1058
1059
function getbloody(victim,amount)
1060
	local PART = CreatePart(3, Effects, "Metal", 0, 1, "Mid gray", "Blood", victim.Size)
1061
	PART.CFrame = victim.CFrame
1062
	Debris:AddItem(PART,5)
1063
	local prtcl = asd:Clone()
1064
	prtcl.Parent = PART
1065
	prtcl:Emit(amount*10)
1066
end
1067
1068
local Particle = IT("ParticleEmitter",nil)
1069
Particle.Enabled = false
1070
Particle.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,1),NumberSequenceKeypoint.new(0.3,0.95),NumberSequenceKeypoint.new(1,1)})
1071
Particle.LightEmission = 0.5
1072
Particle.Rate = 150
1073
Particle.ZOffset = 1
1074
Particle.Rotation = NumberRange.new(-180, 180)
1075
Particle.RotSpeed = NumberRange.new(-180, 180)
1076
Particle.Texture = "http://www.roblox.com/asset/?id=304437537"
1077
Particle.Color = ColorSequence.new(C3(1,0,0),C3(0.4,0,0))
1078
1079
--ParticleEmitter({Speed = 5, Drag = 0, Size1 = 1, Size2 = 5, Lifetime1 = 1, Lifetime2 = 1.5, Parent = Torso, Emit = 100, Offset = 360, Enabled = false})
1080
function ParticleEmitter(Table)
1081
	local PRTCL = Particle:Clone()
1082
	local Speed = Table.Speed or 5
1083
	local Drag = Table.Drag or 0
1084
	local Size1 = Table.Size1 or 1
1085
	local Size2 = Table.Size2 or 5
1086
	local Lifetime1 = Table.Lifetime1 or 1
1087
	local Lifetime2 = Table.Lifetime2 or 1.5
1088
	local Parent = Table.Parent or Torso
1089
	local Emit = Table.Emit or 100
1090
	local Offset = Table.Offset or 360
1091
	local Acel = Table.Acel or VT(0,0,0)
1092
	local Enabled = Table.Enabled or false
1093
	PRTCL.Parent = Parent
1094
	PRTCL.Size = NumberSequence.new(Size1,Size2)
1095
	PRTCL.Lifetime = NumberRange.new(Lifetime1,Lifetime2)
1096
	PRTCL.Speed = NumberRange.new(Speed)
1097
	PRTCL.VelocitySpread = Offset
1098
	PRTCL.Drag = Drag
1099
	PRTCL.Acceleration = Acel
1100
	if Enabled == false then
1101
		PRTCL:Emit(Emit)
1102
		Debris:AddItem(PRTCL,Lifetime2)
1103
	else
1104
		PRTCL.Enabled = true
1105
	end
1106
	return PRTCL
1107
end
1108
	
1109
function Kill(Char)
1110
	local NewCharacter = IT("Model",Effects)
1111
	NewCharacter.Name = "Ow im ded ;-;"
1112
	for _, c in pairs(Char:GetDescendants()) do
1113
		if c:IsA("BasePart") and c.Transparency == 0 then
1114
			if c.Parent == Char then
1115
				getbloody(c,5)
1116
			end
1117
			c:BreakJoints()
1118
			c.Material = "Glass"
1119
			c.Color = C3(0.5,0,0)
1120
			c.CanCollide = true
1121
			c.Transparency = 0.32
1122
			if c:FindFirstChildOfClass("SpecialMesh") then
1123
				c:FindFirstChildOfClass("SpecialMesh").TextureId = ""
1124
			end
1125
			if c.Name == "Head" then
1126
				c:ClearAllChildren()
1127
				c.Size = VT(c.Size.Y,c.Size.Y,c.Size.Y)
1128
			end
1129
			if c.ClassName == "MeshPart" then
1130
				c.TextureID = ""
1131
			end
1132
			if c:FindFirstChildOfClass("BodyPosition") then
1133
				c:FindFirstChildOfClass("BodyPosition"):remove()
1134
			end
1135
			if c:FindFirstChildOfClass("ParticleEmitter") then
1136
				c:FindFirstChildOfClass("ParticleEmitter"):remove()
1137
			end
1138
			c.Parent = NewCharacter
1139
			c.Name = "DeadPart"
1140
			c.Velocity = VT(MRANDOM(-45,45),MRANDOM(-45,45),MRANDOM(-45,45))/15
1141
			c.RotVelocity = VT(MRANDOM(-45,45),MRANDOM(-15,85),MRANDOM(-45,45))
1142
		end
1143
	end
1144
	Char:remove()
1145
	Debris:AddItem(NewCharacter,5)
1146
end
1147
1148
function ApplyAoE(POSITION,RANGE,BRUTAL)
1149
	local CHILDREN = workspace:GetDescendants()
1150
	for index, CHILD in pairs(CHILDREN) do
1151
		if CHILD.ClassName == "Model" and CHILD ~= Character then
1152
			local HUM = CHILD:FindFirstChildOfClass("Humanoid")
1153
			if HUM then
1154
				local TORSO = CHILD:FindFirstChild("Torso") or CHILD:FindFirstChild("UpperTorso")
1155
				if TORSO then
1156
					if (TORSO.Position - POSITION).Magnitude <= RANGE then
1157
						if BRUTAL == true then
1158
							Kill(CHILD)
1159
						else
1160
							CHILD:BreakJoints()
1161
						end
1162
					end
1163
				end
1164
			end
1165
		end
1166
	end
1167
end
1168
1169
function killnearest(position, range, maxstrength)
1170
	for i, v in ipairs(workspace:GetChildren()) do
1171
		do
1172
			local body = v:GetChildren()
1173
			for part = 1, #body do
1174
				if (body[part].ClassName == "Part" or body[part].ClassName == "MeshPart") and v ~= Character and range > (body[part].Position - position).Magnitude then
1175
					if v.ClassName == "Model" then
1176
						v:BreakJoints()
1177
					end
1178
					local bv = Instance.new("BodyVelocity")
1179
					bv.maxForce = Vector3.new(1000000000, 1000000000, 1000000000)
1180
					bv.velocity = CF(position, body[part].Position).lookVector * maxstrength
1181
					bv.Parent = body[part]
1182
					Debris:AddItem(bv, 0.2)
1183
					body[part].Parent = Effects
1184
					body[part].Material = "Neon"
1185
					body[part].BrickColor = BRICKC("Really red")
1186
					coroutine.resume(coroutine.create(function()
1187
						wait(3.2)
1188
						if body[part].Parent == Effects then
1189
							body[part]:remove()
1190
						end
1191
					end))
1192
				end
1193
			end
1194
			if v.ClassName == "Part" and v.Anchored == false and range > (v.Position - position).Magnitude then
1195
				v.Velocity = CFrame.new(position, v.Position).lookVector * 5 * maxstrength
1196
			end
1197
		end
1198
	end
1199
end
1200
1201
--//=================================\\
1202
--||	ATTACK FUNCTIONS AND STUFF
1203
--\\=================================//
1204
1205
function Shot()
1206
	ATTACK = true
1207
	Rooted = false
1208
	for i=0, 0.4, 0.099 / Animation_Speed do
1209
	Swait()
1210
		turnto(Mouse.Hit.p)
1211
		RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(90)), 0.5 / Animation_Speed)
1212
		Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(-90)), 0.5 / Animation_Speed)
1213
		RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(90), RAD(0), RAD(90)) * RIGHTSHOULDERC0, 0.5 / Animation_Speed)
1214
		LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.6, 0) * ANGLES(RAD(-45), RAD(0), RAD(45)) * LEFTSHOULDERC0, 0.5 / Animation_Speed)
1215
		RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, 0) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.5 / Animation_Speed)
1216
		LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, 0) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.5 / Animation_Speed)
1217
	end
1218
	repeat
1219
		for i=0, 0.2, 0.099 / Animation_Speed do
1220
			Swait()
1221
			turnto(Mouse.Hit.p)
1222
			RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(90)), 0.5 / Animation_Speed)
1223
			Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(-90)), 0.5 / Animation_Speed)
1224
			RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(90), RAD(0), RAD(90)) * RIGHTSHOULDERC0, 0.5 / Animation_Speed)
1225
			LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.6, 0) * ANGLES(RAD(-45), RAD(0), RAD(45)) * LEFTSHOULDERC0, 0.5 / Animation_Speed)
1226
			RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, 0) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.5 / Animation_Speed)
1227
			LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, 0) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.5 / Animation_Speed)
1228
		end
1229
		local HIT,POS = CastProperRay(Hole.Position, Mouse.Hit.p, 1000, Character)
1230
		SpawnTrail(Hole.Position,POS)
1231
		if HIT ~= nil then
1232
			if HIT.Parent ~= workspace and HIT.Parent.ClassName ~= "Folder" then
1233
				Banish(HIT.Parent)
1234
			end
1235
		end
1236
		WACKYEFFECT({Time = 25, EffectType = "Wave", Size = VT(0.3,0,0.3), Size2 = VT(1,1.5,1), Transparency = 0, Transparency2 = 1, CFrame = Hole.CFrame, MoveToPos = Hole.CFrame*CF(0,0.5,0).p, RotationX = 0, RotationY = -15, RotationZ = 0, Material = "Neon", Color = C3(1,0,0), SoundID = nil, SoundPitch = nil, SoundVolume = nil})
1237
		WACKYEFFECT({Time = 25, EffectType = "Wave", Size = VT(0.3,0,0.3), Size2 = VT(2,0.5,2), Transparency = 0, Transparency2 = 1, CFrame = Hole.CFrame, MoveToPos = nil, RotationX = 0, RotationY = 5, RotationZ = 0, Material = "Neon", Color = C3(1,0,0), SoundID = 680140087, SoundPitch = MRANDOM(8,11)/10, SoundVolume = 8})
1238
		WACKYEFFECT({Time = 25, EffectType = "Wave", Size = VT(0.3,0,0.3), Size2 = VT(2,0.5,2), Transparency = 0, Transparency2 = 1, CFrame = CF(POS,Hole.Position) * ANGLES(RAD(-90), RAD(0), RAD(0)), MoveToPos = nil, RotationX = 0, RotationY = -5, RotationZ = 0, Material = "Neon", Color = C3(1,0,0), SoundID = nil, SoundPitch = MRANDOM(8,11)/10, SoundVolume = 8})
1239
		WACKYEFFECT({Time = 25, EffectType = "Wave", Size = VT(0.3,0,0.3), Size2 = VT(2,0.5,2), Transparency = 0, Transparency2 = 1, CFrame = CF(POS,Hole.Position) * ANGLES(RAD(-90), RAD(0), RAD(0)), MoveToPos = nil, RotationX = 0, RotationY = 5, RotationZ = 0, Material = "Neon", Color = C3(1,0,0), SoundID = nil, SoundPitch = MRANDOM(8,11)/10, SoundVolume = 8})
1240
		for i=0, 0.3, 0.099 / Animation_Speed do
1241
			Swait()
1242
			RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(90)), 0.5 / Animation_Speed)
1243
			Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(-90)), 0.25 / Animation_Speed)
1244
			RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(90), RAD(15), RAD(90)) * RIGHTSHOULDERC0, 0.5 / Animation_Speed)
1245
			LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.6, 0) * ANGLES(RAD(-45), RAD(0), RAD(45)) * LEFTSHOULDERC0, 0.5 / Animation_Speed)
1246
			RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, 0) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.5 / Animation_Speed)
1247
			LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, 0) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.5 / Animation_Speed)
1248
		end
1249
	until KEYHOLD == false
1250
	ATTACK = false
1251
	Rooted = false
1252
end
1253
1254
function NoBaNISHJuSTKiLL()
1255
	ATTACK = true
1256
	Rooted = false
1257
	for i=0, 0.4, 0.099 / Animation_Speed do
1258
	Swait()
1259
		turnto(Mouse.Hit.p)
1260
		RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(90)), 0.5 / Animation_Speed)
1261
		Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(-90)), 0.5 / Animation_Speed)
1262
		RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(90), RAD(0), RAD(90)) * RIGHTSHOULDERC0, 0.5 / Animation_Speed)
1263
		LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.6, 0) * ANGLES(RAD(-45), RAD(0), RAD(45)) * LEFTSHOULDERC0, 0.5 / Animation_Speed)
1264
		RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, 0) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.5 / Animation_Speed)
1265
		LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, 0) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.5 / Animation_Speed)
1266
	end
1267
	repeat
1268
		for i=0, 0.2, 0.099 / Animation_Speed do
1269
			Swait()
1270
			turnto(Mouse.Hit.p)
1271
			RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(90)), 0.5 / Animation_Speed)
1272
			Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(-90)), 0.5 / Animation_Speed)
1273
			RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(90), RAD(0), RAD(90)) * RIGHTSHOULDERC0, 0.5 / Animation_Speed)
1274
			LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.6, 0) * ANGLES(RAD(-45), RAD(0), RAD(45)) * LEFTSHOULDERC0, 0.5 / Animation_Speed)
1275
			RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, 0) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.5 / Animation_Speed)
1276
			LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, 0) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.5 / Animation_Speed)
1277
		end
1278
		local HIT,POS = CastProperRay(Hole.Position, Mouse.Hit.p, 1000, Character)
1279
		SpawnTrail(Hole.Position,POS)
1280
		if HIT ~= nil then
1281
			if HIT.Parent ~= workspace and HIT.Parent.ClassName ~= "Folder" then
1282
				Kill(HIT.Parent)
1283
			end
1284
		end
1285
		WACKYEFFECT({Time = 25, EffectType = "Wave", Size = VT(0.3,0,0.3), Size2 = VT(1,1.5,1), Transparency = 0, Transparency2 = 1, CFrame = Hole.CFrame, MoveToPos = Hole.CFrame*CF(0,0.5,0).p, RotationX = 0, RotationY = -15, RotationZ = 0, Material = "Neon", Color = C3(1,0,0), SoundID = nil, SoundPitch = nil, SoundVolume = nil})
1286
		WACKYEFFECT({Time = 25, EffectType = "Wave", Size = VT(0.3,0,0.3), Size2 = VT(2,0.5,2), Transparency = 0, Transparency2 = 1, CFrame = Hole.CFrame, MoveToPos = nil, RotationX = 0, RotationY = 5, RotationZ = 0, Material = "Neon", Color = C3(1,0,0), SoundID = 680140087, SoundPitch = MRANDOM(8,11)/10, SoundVolume = 8})
1287
		WACKYEFFECT({Time = 25, EffectType = "Wave", Size = VT(0.3,0,0.3), Size2 = VT(2,0.5,2), Transparency = 0, Transparency2 = 1, CFrame = CF(POS,Hole.Position) * ANGLES(RAD(-90), RAD(0), RAD(0)), MoveToPos = nil, RotationX = 0, RotationY = -5, RotationZ = 0, Material = "Neon", Color = C3(1,0,0), SoundID = nil, SoundPitch = MRANDOM(8,11)/10, SoundVolume = 8})
1288
		WACKYEFFECT({Time = 25, EffectType = "Wave", Size = VT(0.3,0,0.3), Size2 = VT(2,0.5,2), Transparency = 0, Transparency2 = 1, CFrame = CF(POS,Hole.Position) * ANGLES(RAD(-90), RAD(0), RAD(0)), MoveToPos = nil, RotationX = 0, RotationY = 5, RotationZ = 0, Material = "Neon", Color = C3(1,0,0), SoundID = nil, SoundPitch = MRANDOM(8,11)/10, SoundVolume = 8})
1289
		for i=0, 0.3, 0.099 / Animation_Speed do
1290
			Swait()
1291
			RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(90)), 0.5 / Animation_Speed)
1292
			Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(-90)), 0.25 / Animation_Speed)
1293
			RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(90), RAD(15), RAD(90)) * RIGHTSHOULDERC0, 0.5 / Animation_Speed)
1294
			LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.6, 0) * ANGLES(RAD(-45), RAD(0), RAD(45)) * LEFTSHOULDERC0, 0.5 / Animation_Speed)
1295
			RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, 0) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.5 / Animation_Speed)
1296
			LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, 0) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.5 / Animation_Speed)
1297
		end
1298
	until KEYHOLD == false
1299
	ATTACK = false
1300
	Rooted = false
1301
end
1302
1303
function AttackTemplate()
1304
	ATTACK = true
1305
	Rooted = false
1306
	for i=0, 1, 0.1 / Animation_Speed do
1307
		Swait()
1308
		RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0 + 0.05 * COS(SINE / 12)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.15 / Animation_Speed)
1309
		Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(0 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 0.15 / Animation_Speed)
1310
		RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(12)) * RIGHTSHOULDERC0, 0.15 / Animation_Speed)
1311
		LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(-12)) * LEFTSHOULDERC0, 0.15 / Animation_Speed)
1312
		RightHip.C0 = Clerp(RightHip.C0, CF(1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.15 / Animation_Speed)
1313
		LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.15 / Animation_Speed)
1314
	end
1315
	ATTACK = false
1316
	Rooted = false
1317
end
1318
1319
function watareyoulookingat()
1320
	ATTACK = true
1321
	Rooted = false
1322
	local HITBODIES = {}
1323
	local POS = RootPart.Position
1324
	local HITFLOOR, HITPOS = Raycast(POS, CF(RootPart.Position, RootPart.Position + VT(0, -1, 0)).lookVector, 150, Character)
1325
	local PITS = {}
1326
	for i=0, 1, 0.41 / Animation_Speed do
1327
		Swait()
1328
		RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0  + 0.25 * COS(SINE / 12)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
1329
		Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(15 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed)
1330
		RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, -0.5) * ANGLES(RAD(0), RAD(0), RAD(-85)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
1331
		LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.15, -0.5) * ANGLES(RAD(-15), RAD(0), RAD(85)) * LEFTSHOULDERC0, 1 / Animation_Speed)
1332
		RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, -0.01) * ANGLES(RAD(-2.5 * SIN(SINE / 12)), RAD(75), RAD(0)) * ANGLES(RAD(-8 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed)
1333
		LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -0.5, -0.5) * ANGLES(RAD(-2.5 * SIN(SINE / 12)), RAD(-90), RAD(0)) * ANGLES(RAD(-8 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed)
1334
	end
1335
	CreateSound("215395388", Character, 10, 0.6)
1336
	CreateSound("215395388", Character, 10, 0.65)
1337
	CreateSound("215395388", Character, 10, 0.7)
1338
				for i = 1, 75 do
1339
					Swait()
1340
					local ICICLE = IT("CornerWedgePart", Effects)
1341
					ICICLE.Locked = true
1342
					ICICLE.CanCollide = false
1343
					ICICLE.Anchored = true
1344
					ICICLE.BrickColor = BRICKC("Really red")
1345
					ICICLE.Material = "Neon"
1346
					ICICLE.Size = VT(i / 3, i * 2, i / 3)
1347
					ICICLE.CFrame = CF(HITPOS) * CF(MRANDOM(-ICICLE.Size.X, ICICLE.Size.X), 0, MRANDOM(-ICICLE.Size.X / 1.5, ICICLE.Size.X / 1.5)) * ANGLES(RAD(MRANDOM(-25, 25)), RAD(MRANDOM(-180, 180)), RAD(MRANDOM(-25, 25)))
1348
					table.insert(PITS, ICICLE)
1349
					killnearest(ICICLE.Position, ICICLE.Size.Y / 1.5, -100)
1350
					coroutine.resume(coroutine.create(function()
1351
				    for i = 1, 10 do
1352
					Swait()
1353
					for e = 1, #PITS do
1354
						if PITS[e] ~= nil then
1355
							local E = PITS[e]
1356
							E.Transparency = E.Transparency + 0.1
1357
						end
1358
					end
1359
				end
1360
				for e = 1, #PITS do
1361
					if PITS[e] ~= nil then
1362
						local E = PITS[e]
1363
						E:remove()
1364
					end
1365
				end
1366
			end))
1367
		end
1368
	ATTACK = false
1369
	Rooted = false
1370
end
1371
1372
function TAUNT()
1373
	ATTACK = true
1374
	Rooted = true
1375
	    CreateSound("137473066", Torso, 6, 0.89)
1376
		CreateSound(363808674, Torso, 6, 1, false)
1377
		for i=0, 0.6, 0.1 / Animation_Speed do
1378
			Swait()
1379
		RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0 + 0.35 * COS(SINE / 2)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.15 / Animation_Speed)
1380
			Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(5), RAD(25), RAD(0)), 1 / Animation_Speed)
1381
			RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.25, 0.5, -0.5) * ANGLES(RAD(100), RAD(0), RAD(-50)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
1382
			LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.25, 0.35, -0.35) * ANGLES(RAD(70), RAD(0), RAD(60)) * LEFTSHOULDERC0, 1 / Animation_Speed)
1383
		RightHip.C0 = Clerp(RightHip.C0, CF(1, -1 - 0.35 * COS(SINE / 2), -0.01) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.15 / Animation_Speed)
1384
		LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1 - 0.35 * COS(SINE / 2), -0.01) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.15 / Animation_Speed)
1385
		end
1386
		CreateSound(363808674, Torso, 6, 1, false)
1387
		for i=0, 0.6, 0.1 / Animation_Speed do
1388
			Swait()
1389
		RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0 + 0.35 * COS(SINE / 2)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.15 / Animation_Speed)
1390
			Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(5), RAD(-25), RAD(0)), 1 / Animation_Speed)
1391
			RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.25, 0.5, -0.5) * ANGLES(RAD(100), RAD(0), RAD(-90)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
1392
			LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.25, 0.35, -0.35) * ANGLES(RAD(70), RAD(0), RAD(90)) * LEFTSHOULDERC0, 1 / Animation_Speed)
1393
		RightHip.C0 = Clerp(RightHip.C0, CF(1, -1 - 0.35 * COS(SINE / 2), -0.01) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.15 / Animation_Speed)
1394
		LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1 - 0.35 * COS(SINE / 2), -0.01) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.15 / Animation_Speed)
1395
		end
1396
		CreateSound(363808674, Torso, 6, 1, false)
1397
		for i=0, 0.6, 0.1 / Animation_Speed do
1398
			Swait()
1399
		RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0 + 0.35 * COS(SINE / 2)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.15 / Animation_Speed)
1400
			Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(5), RAD(25), RAD(0)), 1 / Animation_Speed)
1401
			RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.25, 0.5, -0.5) * ANGLES(RAD(100), RAD(0), RAD(-50)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
1402
			LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.25, 0.35, -0.35) * ANGLES(RAD(70), RAD(0), RAD(60)) * LEFTSHOULDERC0, 1 / Animation_Speed)
1403
		RightHip.C0 = Clerp(RightHip.C0, CF(1, -1 - 0.35 * COS(SINE / 2), -0.01) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.15 / Animation_Speed)
1404
		LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1 - 0.35 * COS(SINE / 2), -0.01) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.15 / Animation_Speed)
1405
		end
1406
		CreateSound(363808674, Torso, 6, 1, false)
1407
		for i=0, 0.6, 0.1 / Animation_Speed do
1408
			Swait()
1409
		RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0 + 0.35 * COS(SINE / 2)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.15 / Animation_Speed)
1410
			Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(5), RAD(-25), RAD(0)), 1 / Animation_Speed)
1411
			RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.25, 0.5, -0.5) * ANGLES(RAD(100), RAD(0), RAD(-90)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
1412
			LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.25, 0.35, -0.35) * ANGLES(RAD(70), RAD(0), RAD(90)) * LEFTSHOULDERC0, 1 / Animation_Speed)
1413
		RightHip.C0 = Clerp(RightHip.C0, CF(1, -1 - 0.35 * COS(SINE / 2), -0.01) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.15 / Animation_Speed)
1414
		LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1 - 0.35 * COS(SINE / 2), -0.01) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.15 / Animation_Speed)
1415
		end
1416
	ATTACK = false
1417
	Rooted = false
1418
end
1419
1420
function getboomXD()
1421
	ATTACK = true
1422
	Rooted = false
1423
	local POS = RootPart.Position
1424
	local HITFLOOR, HITPOS = Raycast(POS, CF(RootPart.Position, RootPart.Position + VT(0, -1, 0)).lookVector, 150, Character)
1425
	for i=0, 1, 0.3 / Animation_Speed do
1426
		Swait()
1427
		RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0  + 0.25 * COS(SINE / 12)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
1428
		Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(15 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed)
1429
		RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, -0.5) * ANGLES(RAD(0), RAD(0), RAD(-85)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
1430
		LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.15, -0.5) * ANGLES(RAD(-15), RAD(0), RAD(85)) * LEFTSHOULDERC0, 1 / Animation_Speed)
1431
		RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, -0.01) * ANGLES(RAD(-2.5 * SIN(SINE / 12)), RAD(75), RAD(0)) * ANGLES(RAD(-8 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed)
1432
		LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -0.5, -0.5) * ANGLES(RAD(-2.5 * SIN(SINE / 12)), RAD(-90), RAD(0)) * ANGLES(RAD(-8 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed)
1433
	end
1434
	for i = 1, 5 do
1435
				WACKYEFFECT({
1436
					Time = 65,
1437
					EffectType = "Sphere",
1438
					Size = VT(40, 40, 40),
1439
					Size2 = VT(0, 0, 5000),
1440
					Transparency = 1,
1441
					Transparency2 = 0,
1442
					CFrame = CF(POS),
1443
					MoveToPos = nil,
1444
					RotationX = MRANDOM(-2, 2),
1445
					RotationY = MRANDOM(-12, 12),
1446
					RotationZ = MRANDOM(-2, 2),
1447
					Material = "Neon",
1448
					Color = C3(1, 0, 0),
1449
					SoundID = nil,
1450
					SoundPitch = nil,
1451
					SoundVolume = nil
1452
				})
1453
			end
1454
	wait(1)
1455
	ApplyAoE0(HITPOS, 650)
1456
	WACKYEFFECT({
1457
				Time = 85,
1458
				EffectType = "Sphere",
1459
				Size = VT(1200, 1200, 1200),
1460
				Size2 = VT(3500, 3500, 3500),
1461
				Transparency = 0,
1462
				Transparency2 = 1,
1463
				CFrame = CF(POS),
1464
				MoveToPos = nil,
1465
				RotationX = 0,
1466
				RotationY = 0,
1467
				RotationZ = 0,
1468
				Material = "Neon",
1469
				Color = C3(1, 0, 0),
1470
				SoundID = nil,
1471
				SoundPitch = nil,
1472
				SoundVolume = nil
1473
			})
1474
			for i = 1, 20 do
1475
				WACKYEFFECT({
1476
					Time = 85,
1477
					EffectType = "Sphere",
1478
					Size = VT(1200, 1200, 1200),
1479
					Size2 = VT(1200, 1200, 1444) + VT(i * 3, i * 3, i * 3),
1480
					Transparency = 0.8,
1481
					Transparency2 = 1,
1482
					CFrame = CF(POS),
1483
					MoveToPos = nil,
1484
					RotationX = 0,
1485
					RotationY = 0,
1486
					RotationZ = 0,
1487
					Material = "Neon",
1488
					Color = C3(1, 0, 0),
1489
					SoundID = nil,
1490
					SoundPitch = nil,
1491
					SoundVolume = nil
1492
				})
1493
				WACKYEFFECT({
1494
					Time = 100,
1495
					EffectType = "Wave",
1496
					Size = VT(250, 20, 250),
1497
					Size2 = VT(4000, 0, 4000) * 1.2,
1498
					Transparency = 0,
1499
					Transparency2 = 1,
1500
					CFrame = CF(POS) * ANGLES(RAD(MRANDOM(0, 360)), RAD(MRANDOM(0, 360)), RAD(MRANDOM(0, 360))),
1501
					MoveToPos = nil,
1502
					RotationX = 0,
1503
					RotationY = 0,
1504
					RotationZ = 0,
1505
					Material = "Neon",
1506
					Color = C3(1, 0, 0),
1507
					SoundID = nil,
1508
					SoundPitch = nil,
1509
					SoundVolume = nil
1510
				})
1511
			end
1512
			local HITFLOOR, HITPOS = Raycast(POS, CF(RootPart.Position, RootPart.Position + VT(0, -1, 0)).lookVector, 150, Character)
1513
			for i = 1, 5 do
1514
				CreateSound(438666077, Effects, 15, 1 - i / 15, false)
1515
				WACKYEFFECT({
1516
					Time = 120,
1517
					EffectType = "Wave",
1518
					Size = VT(1500, 20, 1500),
1519
					Size2 = VT(3000 + i * 1700, 0, 3000 + i * 1700) * 1.2,
1520
					Transparency = 0,
1521
					Transparency2 = 1,
1522
					CFrame = CF(HITPOS) * ANGLES(RAD(0), RAD(MRANDOM(0, 360)), RAD(0)),
1523
					MoveToPos = nil,
1524
					RotationX = 0,
1525
					RotationY = 0,
1526
					RotationZ = 0,
1527
					Material = "Neon",
1528
					Color = C3(1, 0, 0),
1529
					SoundID = nil,
1530
					SoundPitch = nil,
1531
					SoundVolume = nil
1532
				        })
1533
			         end
1534
	ATTACK = false
1535
	Rooted = false
1536
end
1537
--//=================================\\
1538
--||	       QUICK INTRO 
1539
--\\=================================//
1540
WACKYEFFECT({Time = 75, EffectType = "Wave", Size = VT(0,0,0), Size2 = VT(45,45,45), Transparency = 0.5, Transparency2 = 1, CFrame = RootPart.CFrame, MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = C3(1,0,0), SoundID = nil, SoundPitch = 1.2, SoundVolume = 4})
1541
WACKYEFFECT({Time = 75, EffectType = "Wave", Size = VT(0,0,0), Size2 = VT(180,180,180), Transparency = 0.5, Transparency2 = 1, CFrame = RootPart.CFrame, MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = C3(1,0,0), SoundID = nil, SoundPitch = 1.2, SoundVolume = 4})
1542
WACKYEFFECT({Time = 75, EffectType = "Wave", Size = VT(0,0,0), Size2 = VT(123,123,123), Transparency = 0.5, Transparency2 = 1, CFrame = RootPart.CFrame, MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = C3(1,0,0), SoundID = nil, SoundPitch = 1.2, SoundVolume = 4})
1543
WACKYEFFECT({Time = 75, EffectType = "Sphere", Size = VT(0,0,0), Size2 = VT(1,180,1), Transparency = 0.5, Transparency2 = 1, CFrame = RootPart.CFrame, MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = C3(1,0,0), SoundID = nil, SoundPitch = 1.2, SoundVolume = 4})
1544
WACKYEFFECT({Time = 75, EffectType = "Sphere", Size = VT(0,0,0), Size2 = VT(150,1,150), Transparency = 0.5, Transparency2 = 1, CFrame = RootPart.CFrame, MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = C3(1,0,0), SoundID = nil, SoundPitch = 1.2, SoundVolume = 4})
1545
WACKYEFFECT({Time = 75, EffectType = "Wave", Size = VT(0,0,0), Size2 = VT(150,150,150), Transparency = 0.5, Transparency2 = 1, CFrame = RootPart.CFrame, MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = C3(1,0,0), SoundID = nil, SoundPitch = 1.2, SoundVolume = 4})
1546
WACKYEFFECT({Time = 75, EffectType = "Sphere", Size = VT(0,0,0), Size2 = VT(120,120,120), Transparency = 0, Transparency2 = 1, CFrame = RootPart.CFrame, MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = C3(1,0,0), SoundID = 165970126, SoundPitch = MRANDOM(13,15)/10, SoundVolume = 100})
1547
WACKYEFFECT({Time = 75, EffectType = "Sphere", Size = VT(0,0,0), Size2 = VT(120,120,120), Transparency = 0, Transparency2 = 1, CFrame = RootPart.CFrame, MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = C3(1,0,0), SoundID = 165970126, SoundPitch = MRANDOM(13,15)/10, SoundVolume = 999999})
1548
WACKYEFFECT({Time = 75, EffectType = "Sphere", Size = VT(0,0,0), Size2 = VT(1,180,1), Transparency = 0.5, Transparency2 = 1, CFrame = RootPart.CFrame, MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = C3(1,0,0), SoundID = nil, SoundPitch = 1.2, SoundVolume = 4})
1549
WACKYEFFECT({Time = 75, EffectType = "Sphere", Size = VT(0,0,0), Size2 = VT(150,1,150), Transparency = 0.5, Transparency2 = 1, CFrame = RootPart.CFrame, MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = C3(1,0,0), SoundID = nil, SoundPitch = 1.2, SoundVolume = 4})
1550
WACKYEFFECT({Time = 75, EffectType = "Wave", Size = VT(0,0,0), Size2 = VT(150,150,150), Transparency = 0.5, Transparency2 = 1, CFrame = RootPart.CFrame, MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = C3(1,0,0), SoundID = nil, SoundPitch = 1.2, SoundVolume = 4})
1551
WACKYEFFECT({Time = 75, EffectType = "Sphere", Size = VT(0,0,0), Size2 = VT(120,120,120), Transparency = 0, Transparency2 = 1, CFrame = RootPart.CFrame, MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = C3(1,0,0), SoundID = 165970126, SoundPitch = MRANDOM(13,15)/10, SoundVolume = 100})
1552
		
1553
--//=================================\\
1554
--||	  ASSIGN THINGS TO KEYS
1555
--\\=================================//
1556
1557
function MouseDown(Mouse)
1558
	if ATTACK == false then
1559
	end
1560
end
1561
1562
function MouseUp(Mouse)
1563
HOLD = false
1564
end
1565
1566
function KeyDown(Key)
1567
	KEYHOLD = true
1568
	if Key == "z" and ATTACK == false then
1569
		Shot()
1570
	end
1571
	
1572
	if Key == "f" and ATTACK == false then
1573
		warn'YOU ARE BADASS!'
1574
		TOBANISH = {}
1575
	end
1576
	
1577
	if Key == "c" and ATTACK == false then
1578
		NoBaNISHJuSTKiLL()
1579
	end
1580
	
1581
	if Key == "t" and ATTACK == false then
1582
		TAUNT()
1583
	end
1584
1585
	if Key == "v" and ATTACK == false then
1586
		watareyoulookingat()
1587
	end
1588
	
1589
	if Key == "q" and ATTACK == false then
1590
		for i=0, 0.5, 0.1 / Animation_Speed do
1591
		Swait()
1592
		Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(15 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed)
1593
		RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.6, 0.75, -0.5) * ANGLES(RAD(0), RAD(-25), RAD(12)) * ANGLES(RAD(125 - 2.5 * COS(SINE / 12) + 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)) * RIGHTSHOULDERC0, 1.5 / Animation_Speed)
1594
	    end
1595
		local pos = RootPart.Position
1596
		RootPart.CFrame = CF(Mouse.Hit.p+VT(0,3,0),pos)
1597
	end
1598
1599
	if Key == "x" and ATTACK == false then
1600
		getboomXD()
1601
	end
1602
end
1603
1604
function KeyUp(Key)
1605
	KEYHOLD = false
1606
end
1607
1608
	Mouse.Button1Down:connect(function(NEWKEY)
1609
		MouseDown(NEWKEY)
1610
	end)
1611
	Mouse.Button1Up:connect(function(NEWKEY)
1612
		MouseUp(NEWKEY)
1613
	end)
1614
	Mouse.KeyDown:connect(function(NEWKEY)
1615
		KeyDown(NEWKEY)
1616
	end)
1617
	Mouse.KeyUp:connect(function(NEWKEY)
1618
		KeyUp(NEWKEY)
1619
	end)
1620
1621
--//=================================\\
1622
--\\=================================//
1623
1624
1625
function unanchor()
1626
	if UNANCHOR == true then
1627
		g = Character:GetChildren()
1628
		for i = 1, #g do
1629
			if g[i].ClassName == "Part" then
1630
				g[i].Anchored = false
1631
			end
1632
		end
1633
	end
1634
end
1635
1636
1637
--//=================================\\
1638
--||	WRAP THE WHOLE SCRIPT UP
1639
--\\=================================//
1640
function refit()
1641
	RootJoint.Parent = RootPart
1642
	Neck.Parent = Torso
1643
	RightShoulder.Parent = Torso
1644
	LeftShoulder.Parent = Torso
1645
	RightHip.Parent = Torso
1646
	LeftHip.Parent = Torso
1647
	RootPart.Parent = Character
1648
	LeftArm.Parent = Character
1649
	RightArm.Parent = Character
1650
	RightLeg.Parent = Character
1651
	LeftLeg.Parent = Character
1652
	Torso.Parent = Character
1653
	Head.Parent = Character
1654
end
1655
Humanoid.Changed:connect(function(Jump)
1656
	if Jump == "Jump" and (Disable_Jump == true) then
1657
		Humanoid.Jump = false
1658
	end
1659
end)
1660
1661
local CONNECT = nil
1662
1663
while true do
1664
	Swait()
1665
	ANIMATE.Parent = nil
1666
	if Character:FindFirstChildOfClass("Humanoid") == nil then
1667
		Humanoid = IT("Humanoid",Character)
1668
	end
1669
	for _,v in next, Humanoid:GetPlayingAnimationTracks() do
1670
	    v:Stop();
1671
	end
1672
	SINE = SINE + CHANGE
1673
	local TORSOVELOCITY = (RootPart.Velocity * VT(1, 0, 1)).magnitude
1674
	local TORSOVERTICALVELOCITY = RootPart.Velocity.y
1675
	local HITFLOOR = Raycast(RootPart.Position, (CF(RootPart.Position, RootPart.Position + VT(0, -1, 0))).lookVector, 4, Character)
1676
	local WALKSPEEDVALUE = 6 / (Humanoid.WalkSpeed / 16)
1677
	if ANIM == "Walk" and TORSOVELOCITY > 1 then
1678
		RootJoint.C1 = Clerp(RootJoint.C1, ROOTC0 * CF(0, 0, -0.15 * COS(SINE / (WALKSPEEDVALUE / 2))) * ANGLES(RAD(0), RAD(0) - RootPart.RotVelocity.Y / 75, RAD(0)), 2 * (Humanoid.WalkSpeed / 16) / Animation_Speed)
1679
		Neck.C1 = Clerp(Neck.C1, CF(0, -0.5, 0) * ANGLES(RAD(-90), RAD(0), RAD(180)) * ANGLES(RAD(2.5 * SIN(SINE / (WALKSPEEDVALUE / 2))), RAD(0), RAD(0) - Head.RotVelocity.Y / 30), 0.2 * (Humanoid.WalkSpeed / 16) / Animation_Speed)
1680
		RightHip.C1 = Clerp(RightHip.C1, CF(0.5, 0.875 - 0.125 * SIN(SINE / WALKSPEEDVALUE) - 0.15 * COS(SINE / WALKSPEEDVALUE*2), -0.125 * COS(SINE / WALKSPEEDVALUE) +0.2- 0.2 * COS(SINE / WALKSPEEDVALUE)) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(0) - RightLeg.RotVelocity.Y / 75, RAD(0), RAD(90 * COS(SINE / WALKSPEEDVALUE))), 0.2 * (Humanoid.WalkSpeed / 16) / Animation_Speed)
1681
		LeftHip.C1 = Clerp(LeftHip.C1, CF(-0.5, 0.875 + 0.125 * SIN(SINE / WALKSPEEDVALUE) - 0.15 * COS(SINE / WALKSPEEDVALUE*2), 0.125 * COS(SINE / WALKSPEEDVALUE) +0.2+ 0.2 * COS(SINE / WALKSPEEDVALUE)) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(0) + LeftLeg.RotVelocity.Y / 75, RAD(0), RAD(90 * COS(SINE / WALKSPEEDVALUE))), 0.2 * (Humanoid.WalkSpeed / 16) / Animation_Speed)
1682
	elseif (ANIM ~= "Walk") or (TORSOVELOCITY < 1) then
1683
		RootJoint.C1 = Clerp(RootJoint.C1, ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.2 / Animation_Speed)
1684
		Neck.C1 = Clerp(Neck.C1, CF(0, -0.5, 0) * ANGLES(RAD(-90), RAD(0), RAD(180)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.2 / Animation_Speed)
1685
		RightHip.C1 = Clerp(RightHip.C1, CF(0.5, 1, 0) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.2 / Animation_Speed)
1686
		LeftHip.C1 = Clerp(LeftHip.C1, CF(-0.5, 1, 0) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.2 / Animation_Speed)
1687
	end
1688
	if TORSOVERTICALVELOCITY > 1 and HITFLOOR == nil then
1689
		ANIM = "Jump"
1690
		if ATTACK == false then
1691
			RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.2 / Animation_Speed)
1692
			Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(-20), RAD(0), RAD(0)), 0.2 / Animation_Speed)
1693
			RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(45), RAD(0), RAD(25))* RIGHTSHOULDERC0, 0.15 / Animation_Speed)
1694
			LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(-40), RAD(0), RAD(-20)) * LEFTSHOULDERC0, 0.2 / Animation_Speed)
1695
			RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, -0.3) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(-5), RAD(0), RAD(-20)), 0.2 / Animation_Speed)
1696
			LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, -0.3) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(-5), RAD(0), RAD(20)), 0.2 / Animation_Speed)
1697
	    end
1698
	elseif TORSOVERTICALVELOCITY < -1 and HITFLOOR == nil then
1699
		ANIM = "Fall"
1700
		if ATTACK == false then
1701
			RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0, 0, 0 ) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.2 / Animation_Speed)
1702
			Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0 , 0 + ((1) - 1)) * ANGLES(RAD(20), RAD(0), RAD(0)), 0.2 / Animation_Speed)
1703
			RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(45), RAD(0), RAD(25))* RIGHTSHOULDERC0, 0.15 / Animation_Speed)
1704
			LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(-60)) * LEFTSHOULDERC0, 0.2 / Animation_Speed)
1705
			RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, 0) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(20)), 0.2 / Animation_Speed)
1706
			LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, 0) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(10)), 0.2 / Animation_Speed)
1707
		end
1708
	elseif TORSOVELOCITY < 1 and HITFLOOR ~= nil then
1709
		ANIM = "Idle"
1710
		if ATTACK == false then
1711
			RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0 * Player_Size, 0 * Player_Size, -0.2 * Player_Size + 0.05 * COS(SINE / 12) * Player_Size) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.15 / Animation_Speed)
1712
			Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(0 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(45)), 0.15 / Animation_Speed)
1713
			RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.35, 0.5, -0.5) * ANGLES(RAD(75), RAD(45), RAD(-25))* RIGHTSHOULDERC0, 0.15 / Animation_Speed)
1714
			LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5 * Player_Size, 0.5 * Player_Size, 0 * Player_Size) * ANGLES(RAD(0), RAD(0), RAD(-12)) * LEFTSHOULDERC0, 0.15 / Animation_Speed)
1715
			RightHip.C0 = Clerp(RightHip.C0, CF(1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(75), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.15 / Animation_Speed)
1716
			LeftHip.C0 = Clerp(LeftHip.C0, CF(-1 * Player_Size, -0.8 * Player_Size - 0.05 * COS(SINE / 12) * Player_Size, -0.01 * Player_Size) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.15 / Animation_Speed)
1717
		end
1718
	elseif TORSOVELOCITY > 1 and HITFLOOR ~= nil then
1719
		ANIM = "Walk"
1720
		if ATTACK == false then
1721
			RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, -0.1) * ANGLES(RAD(5), RAD(0), RAD(10 * COS(SINE / WALKSPEEDVALUE))), 0.5 / Animation_Speed)
1722
			Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(5), RAD(0), RAD(-10 * COS(SINE / WALKSPEEDVALUE))), 0.5 / Animation_Speed)
1723
			RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0.5 * SIN(SINE / WALKSPEEDVALUE)) * ANGLES(RAD(60 * COS(SINE / WALKSPEEDVALUE)), RAD(0), RAD(5)) * ANGLES(RAD(0), RAD(-15), RAD(0)) * RIGHTSHOULDERC0, 0.8 / Animation_Speed)
1724
			LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, -0.5 * SIN(SINE / WALKSPEEDVALUE)) * ANGLES(RAD(-60 * COS(SINE / WALKSPEEDVALUE)), RAD(0), RAD(-5)) * ANGLES(RAD(0), RAD(15), RAD(0)) * LEFTSHOULDERC0, 0.8 / Animation_Speed)
1725
			RightHip.C0 = Clerp(RightHip.C0, CF(1 , -1, 0) * ANGLES(RAD(0), RAD(80), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(-15)), 2 / Animation_Speed)
1726
			LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, 0) * ANGLES(RAD(0), RAD(-80), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(15)), 2 / Animation_Speed)
1727
		end
1728
	end
1729
	local BODY = {}
1730
    for _, c in pairs(Character:GetDescendants()) do
1731
	if c:IsA("BasePart") and c.Name ~= "Handle" then
1732
		if c ~= RootPart and c ~= Torso and c ~= Head and c ~= RightArm and c ~= LeftArm and c ~= RightLeg and c ~= LeftLeg then
1733
			c.CustomPhysicalProperties = PhysicalProperties.new(0, 0, 0, 0, 0)
1734
		end
1735
		table.insert(BODY,{c,c.Parent,c.Material,c.Color,c.Transparency,c.Size,c.Name})
1736
	elseif c:IsA("JointInstance") then
1737
		table.insert(BODY,{c,c.Parent,nil,nil,nil,nil,nil})
1738
	   end
1739
    end
1740
    function refit0()
1741
	Character.Parent = workspace
1742
	for e = 1, #BODY do
1743
		if BODY[e] ~= nil then
1744
			local STUFF = BODY[e]
1745
			local PART = STUFF[1]
1746
			local PARENT = STUFF[2]
1747
			local MATERIAL = STUFF[3]
1748
			local COLOR = STUFF[4]
1749
			local TRANSPARENCY = STUFF[5]
1750
			--local SIZE = STUFF[6]
1751
			local NAME = STUFF[7]
1752
			if PART.ClassName == "Part" and PART ~= RootPart then
1753
				PART.Material = MATERIAL
1754
				PART.Transparency = TRANSPARENCY
1755
				PART.Name = NAME
1756
			end
1757
			if PART.Parent ~= PARENT then
1758
				Humanoid:remove()
1759
				PART.Parent = PARENT
1760
				Humanoid = IT("Humanoid",Character)
1761
			 end
1762
		  end
1763
	   end
1764
    end
1765
    Humanoid.Died:connect(function()
1766
	refit0()
1767
    end)
1768
	tecks.Rotation = MRANDOM(-15,15)/2
1769
	unanchor()
1770
	Humanoid.Died:connect(function()
1771
	Humanoid.Parent = nil
1772
	Humanoid.MaxHealth = "inf"
1773
	Humanoid.Health = "inf"
1774
	refit()
1775
	Humanoid.Parent = Character
1776
	killnearest(Torso.Position, 25, 180)
1777
    end)
1778
	if Rooted == false then
1779
		Disable_Jump = false
1780
		Humanoid.WalkSpeed = Speed
1781
	elseif Rooted == true then
1782
		Disable_Jump = true
1783
		Humanoid.WalkSpeed = 0
1784
	end
1785
	refit()
1786
	refit0()
1787
end
1788
1789
--//=================================\\
1790
--\\=================================//
1791
1792
1793
1794
1795
1796
--//====================================================\\--
1797
--||			  		 END OF SCRIPT
1798
--\\====================================================//--