View difference between Paste ID: XMLNZyAc and iZqZM9ri
SHOW: | | - or go back to the newest paste.
1-
-----------------------
1+
if game:GetService("RunService"):IsClient() then error("Script must be server-side in order to work; use h/ and not hl/") end
2
print(" this script was edited by An ignorant / zach ")
3
warn(" credits goes to 4NDAYY,theguesttoblame,Creterisk  ")
4
warn(" Please god get rid of that cancerous skid beater")
5
warn(" every server is filled with those skid beater Abusers")
6
warn(" :( ")
7
local Player,game,owner = owner,game
8
local RealPlayer = Player
9
do
10
    print("FE Compatibility code by Mokiros")
11
    print("This EDIT was made by Zach the script stealer / aka zach so please stop pretending that you made it")
12
    local rp = RealPlayer
13
    script.Parent = rp.Character
14
   
15
    --RemoteEvent for communicating
16
    local Event = Instance.new("RemoteEvent")
17
    Event.Name = "UserInput_Event"
18
 
19
    --Fake event to make stuff like Mouse.KeyDown work
20
    local function fakeEvent()
21
        local t = {_fakeEvent=true,Functions={},Connect=function(self,f)table.insert(self.Functions,f) end}
22
        t.connect = t.Connect
23
        return t
24
    end
25
 
26
    --Creating fake input objects with fake variables
27
    local m = {Target=nil,Hit=CFrame.new(),KeyUp=fakeEvent(),KeyDown=fakeEvent(),Button1Up=fakeEvent(),Button1Down=fakeEvent()}
28
    local UIS = {InputBegan=fakeEvent(),InputEnded=fakeEvent()}
29
    local CAS = {Actions={},BindAction=function(self,name,fun,touch,...)
30
        CAS.Actions[name] = fun and {Name=name,Function=fun,Keys={...}} or nil
31
    end}
32
    --Merged 2 functions into one by checking amount of arguments
33
    CAS.UnbindAction = CAS.BindAction
34
 
35
    --This function will trigger the events that have been :Connect()'ed
36
    local function te(self,ev,...)
37
        local t = m[ev]
38
        if t and t._fakeEvent then
39
            for _,f in pairs(t.Functions) do
40
                f(...)
41
            end
42
        end
43
    end
44
    m.TrigEvent = te
45
    UIS.TrigEvent = te
46
 
47
    Event.OnServerEvent:Connect(function(plr,io)
48
        if plr~=rp then return end
49
        m.Target = io.Target
50
        m.Hit = io.Hit
51
        if not io.isMouse then
52
            local b = io.UserInputState == Enum.UserInputState.Begin
53
            if io.UserInputType == Enum.UserInputType.MouseButton1 then
54
                return m:TrigEvent(b and "Button1Down" or "Button1Up")
55
            end
56
            for _,t in pairs(CAS.Actions) do
57
                for _,k in pairs(t.Keys) do
58
                    if k==io.KeyCode then
59
                        t.Function(t.Name,io.UserInputState,io)
60
                    end
61
                end
62
            end
63
            m:TrigEvent(b and "KeyDown" or "KeyUp",io.KeyCode.Name:lower())
64
            UIS:TrigEvent(b and "InputBegan" or "InputEnded",io,false)
65
        end
66
    end)
67
    Event.Parent = NLS([==[
68
    local Player = game:GetService("Players").LocalPlayer
69
    local Event = script:WaitForChild("UserInput_Event")
70
 
71
    local Mouse = Player:GetMouse()
72
    local UIS = game:GetService("UserInputService")
73
    local input = function(io,a)
74
        if a then return end
75
        --Since InputObject is a client-side instance, we create and pass table instead
76
        Event:FireServer({KeyCode=io.KeyCode,UserInputType=io.UserInputType,UserInputState=io.UserInputState,Hit=Mouse.Hit,Target=Mouse.Target})
77
    end
78
    UIS.InputBegan:Connect(input)
79
    UIS.InputEnded:Connect(input)
80
 
81
    local h,t
82
    --Give the server mouse data 30 times every second, but only if the values changed
83
    --If player is not moving their mouse, client won't fire events
84
    while wait(1/30) do
85
        if h~=Mouse.Hit or t~=Mouse.Target then
86
            h,t=Mouse.Hit,Mouse.Target
87
            Event:FireServer({isMouse=true,Target=t,Hit=h})
88
        end
89
    end]==],Player.Character)
90
 
91
    ----Sandboxed game object that allows the usage of client-side methods and services
92
    --Real game object
93
    local _rg = game
94
 
95
    --Metatable for fake service
96
    local fsmt = {
97
        __index = function(self,k)
98
            local s = rawget(self,"_RealService")
99
            if s then return s[k] end
100
        end,
101
        __newindex = function(self,k,v)
102
            local s = rawget(self,"_RealService")
103
            if s then s[k]=v end
104
        end,
105
        __call = function(self,...)
106
            local s = rawget(self,"_RealService")
107
            if s then return s(...) end
108
        end
109
    }
110
    local function FakeService(t,RealService)
111
        t._RealService = typeof(RealService)=="string" and _rg:GetService(RealService) or RealService
112
        return setmetatable(t,fsmt)
113
    end
114
 
115
    --Fake game object
116
    local g = {
117
        GetService = function(self,s)
118
            return self[s]
119
        end,
120
        Players = FakeService({
121
            LocalPlayer = FakeService({GetMouse=function(self)return m end},Player)
122
        },"Players"),
123
        UserInputService = FakeService(UIS,"UserInputService"),
124
        ContextActionService = FakeService(CAS,"ContextActionService"),
125
    }
126
    rawset(g.Players,"localPlayer",g.Players.LocalPlayer)
127
    g.service = g.GetService
128
   
129
    g.RunService = FakeService({
130
        RenderStepped = _rg:GetService("RunService").Heartbeat,
131
        BindToRenderStep = function(self,name,_,fun)
132
 
133
        end,
134
        UnbindFromRenderStep = function(self,name)
135
            self._btrs[name]:Disconnect()
136
        end,
137
    },"RunService")
138
 
139
    setmetatable(g,{
140
        __index=function(self,s)
141
            return _rg:GetService(s) or typeof(_rg[s])=="function"
142
            and function(_,...)return _rg[s](_rg,...)end or _rg[s]
143
        end,
144
        __newindex = fsmt.__newindex,
145
        __call = fsmt.__call
146
    })
147
    --Changing owner to fake player object to support owner:GetMouse()
148
    game,owner = g,g.Players.LocalPlayer
149
end
150
151
152
153
154
155
156
--[[ Name : TeaCopter ]]--
157
--[[ Description : Truly British. ]]--
158
--[[ Original By : Creterisk/makhail07]]--
159
--[[ Edited By : TheGuestToBlame]]--
160
--[[ \ None / ]]--
161
-------------------------------------------------------
162
--A script By TheGuestToBlame
163
--Discord 4NDAYY#7540
164
-------------------------------------------------------
165
166
--A cup of tea, anyone?
167
168
wait(1 / 60)
169
170
local plr = game:service'Players'.LocalPlayer
171
print('Local User is '..plr.Name)
172
print('TeaCopter Loaded')
173
print([[
174
	I honestly, don't know why I edited this,
175
	but it's a simple meme, so you've gotta appreciate it.
176
	
177
	Controls : 
178
	T - Taunt ( Random Sentences )
179
	Q - Sitt
180
	Click - Sipp
181
]])
182
local char = plr.Character
183
local hum = char:FindFirstChildOfClass'Humanoid'
184
local hed = char.Head
185
local root = char:FindFirstChild'HumanoidRootPart'
186
local rootj = root.RootJoint
187
local tors = char.Torso
188
local ra = char["Right Arm"]
189
local la = char["Left Arm"]
190
local rl = char["Right Leg"]
191
local ll = char["Left Leg"]
192
local neck = tors["Neck"]
193
local mouse = plr:GetMouse()
194
local RootCF = CFrame.fromEulerAnglesXYZ(-1.57, 0, 3.14)
195
local RHCF = CFrame.fromEulerAnglesXYZ(0, 1.6, 0)
196
local LHCF = CFrame.fromEulerAnglesXYZ(0, -1.6, 0)
197
local maincolor = BrickColor.new("Institutional white")
198
-------------------------------------------------------
199
--Start Good Stuff--
200
-------------------------------------------------------
201
cam = game.Workspace.CurrentCamera
202
CF = CFrame.new
203
angles = CFrame.Angles
204
attack = false
205
Euler = CFrame.fromEulerAnglesXYZ
206
Rad = math.rad
207
IT = Instance.new
208
BrickC = BrickColor.new
209
Cos = math.cos
210
Acos = math.acos
211
Sin = math.sin
212
Asin = math.asin
213
Abs = math.abs
214
Mrandom = math.random
215
Floor = math.floor
216
-------------------------------------------------------
217
--End Good Stuff--
218
-------------------------------------------------------
219
necko = CF(0, 1, 0, -1, -0, -0, 0, 0, 1, 0, 1, 0)
220
RSH, LSH = nil, nil 
221
RW = Instance.new("Weld") 
222
LW = Instance.new("Weld")
223
RH = tors["Right Hip"]
224
LH = tors["Left Hip"]
225
RSH = tors["Right Shoulder"] 
226
LSH = tors["Left Shoulder"] 
227
RSH.Parent = nil 
228
LSH.Parent = nil 
229
RW.Name = "RW"
230
RW.Part0 = tors 
231
RW.C0 = CF(1.5, 0.5, 0)
232
RW.C1 = CF(0, 0.5, 0) 
233
RW.Part1 = ra
234
RW.Parent = tors 
235
LW.Name = "LW"
236
LW.Part0 = tors 
237
LW.C0 = CF(-1.5, 0.5, 0)
238
LW.C1 = CF(0, 0.5, 0) 
239
LW.Part1 = la
240
LW.Parent = tors
241
Effects = {}
242
newWeld = function(wp0, wp1, wc0x, wc0y, wc0z)
243
    local wld = Instance.new("Weld", wp1)
244
    wld.Part0 = wp0
245
    wld.Part1 = wp1
246
    wld.C0 = CFrame.new(wc0x, wc0y, wc0z)
247
end
248
newWeld(tors, ll, -0.5, -1, 0)
249
ll.Weld.C1 = CFrame.new(0, 1, 0)
250
newWeld(tors, rl, 0.5, -1, 0)
251
rl.Weld.C1 = CFrame.new(0, 1, 0)
252
-------------------------------------------------------
253
--Start HeartBeat--
254
-------------------------------------------------------
255
ArtificialHB = Instance.new("BindableEvent", script)
256
ArtificialHB.Name = "Heartbeat"
257
script:WaitForChild("Heartbeat")
258
259
frame = 1 / 60
260
tf = 0
261
allowframeloss = false
262
tossremainder = false
263
264
265
lastframe = tick()
266
script.Heartbeat:Fire()
267
268
269
game:GetService("RunService").Heartbeat:connect(function(s, p)
270
	tf = tf + s
271
	if tf >= frame then
272
		if allowframeloss then
273
			script.Heartbeat:Fire()
274
			lastframe = tick()
275
		else
276
			for i = 1, math.floor(tf / frame) do
277
				script.Heartbeat:Fire()
278
			end
279
			lastframe = tick()
280
		end
281
		if tossremainder then
282
			tf = 0
283
		else
284
			tf = tf - frame * math.floor(tf / frame)
285
		end
286
	end
287
end)
288
-------------------------------------------------------
289
--End HeartBeat--
290
-------------------------------------------------------
291
292
-------------------------------------------------------
293
--Start Important Functions--
294
-------------------------------------------------------
295
function swait(num)
296
	if num == 0 or num == nil then
297
		game:service("RunService").Stepped:wait(0)
298
	else
299
		for i = 0, num do
300
			game:service("RunService").Stepped:wait(0)
301
		end
302
	end
303
end
304
function thread(f)
305
	coroutine.resume(coroutine.create(f))
306
end
307
function clerp(a, b, t)
308
	local qa = {
309
		QuaternionFromCFrame(a)
310
	}
311
	local qb = {
312
		QuaternionFromCFrame(b)
313
	}
314
	local ax, ay, az = a.x, a.y, a.z
315
	local bx, by, bz = b.x, b.y, b.z
316
	local _t = 1 - t
317
	return QuaternionToCFrame(_t * ax + t * bx, _t * ay + t * by, _t * az + t * bz, QuaternionSlerp(qa, qb, t))
318
end
319
function QuaternionFromCFrame(cf)
320
	local mx, my, mz, m00, m01, m02, m10, m11, m12, m20, m21, m22 = cf:components()
321
	local trace = m00 + m11 + m22
322
	if trace > 0 then
323
		local s = math.sqrt(1 + trace)
324
		local recip = 0.5 / s
325
		return (m21 - m12) * recip, (m02 - m20) * recip, (m10 - m01) * recip, s * 0.5
326
	else
327
		local i = 0
328
		if m00 < m11 then
329
			i = 1
330
		end
331
		if m22 > (i == 0 and m00 or m11) then
332
			i = 2
333
		end
334
		if i == 0 then
335
			local s = math.sqrt(m00 - m11 - m22 + 1)
336
			local recip = 0.5 / s
337
			return 0.5 * s, (m10 + m01) * recip, (m20 + m02) * recip, (m21 - m12) * recip
338
		elseif i == 1 then
339
			local s = math.sqrt(m11 - m22 - m00 + 1)
340
			local recip = 0.5 / s
341
			return (m01 + m10) * recip, 0.5 * s, (m21 + m12) * recip, (m02 - m20) * recip
342
		elseif i == 2 then
343
			local s = math.sqrt(m22 - m00 - m11 + 1)
344
			local recip = 0.5 / s
345
			return (m02 + m20) * recip, (m12 + m21) * recip, 0.5 * s, (m10 - m01) * recip
346
		end
347
	end
348
end
349
function QuaternionToCFrame(px, py, pz, x, y, z, w)
350
	local xs, ys, zs = x + x, y + y, z + z
351
	local wx, wy, wz = w * xs, w * ys, w * zs
352
	local xx = x * xs
353
	local xy = x * ys
354
	local xz = x * zs
355
	local yy = y * ys
356
	local yz = y * zs
357
	local zz = z * zs
358
	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))
359
end
360
function QuaternionSlerp(a, b, t)
361
	local cosTheta = a[1] * b[1] + a[2] * b[2] + a[3] * b[3] + a[4] * b[4]
362
	local startInterp, finishInterp
363
	if cosTheta >= 1.0E-4 then
364
		if 1 - cosTheta > 1.0E-4 then
365
			local theta = math.acos(cosTheta)
366
			local invSinTheta = 1 / Sin(theta)
367
			startInterp = Sin((1 - t) * theta) * invSinTheta
368
			finishInterp = Sin(t * theta) * invSinTheta
369
		else
370
			startInterp = 1 - t
371
			finishInterp = t
372
		end
373
	elseif 1 + cosTheta > 1.0E-4 then
374
		local theta = math.acos(-cosTheta)
375
		local invSinTheta = 1 / Sin(theta)
376
		startInterp = Sin((t - 1) * theta) * invSinTheta
377
		finishInterp = Sin(t * theta) * invSinTheta
378
	else
379
		startInterp = t - 1
380
		finishInterp = t
381
	end
382
	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
383
end
384
function rayCast(Position, Direction, Range, Ignore)
385
	return game:service("Workspace"):FindPartOnRay(Ray.new(Position, Direction.unit * (Range or 999.999)), Ignore)
386
end
387
local RbxUtility = LoadLibrary("RbxUtility")
388
local Create = RbxUtility.Create
389
390
-------------------------------------------------------
391
--Start Damage Function--
392
-------------------------------------------------------
393
function Damage(Part, hit, minim, maxim, knockback, Type, Property, Delay, HitSound, HitPitch)
394
	if hit.Parent == nil then
395
		return
396
	end
397
	local h = hit.Parent:FindFirstChildOfClass("Humanoid")
398
	for _, v in pairs(hit.Parent:children()) do
399
		if v:IsA("Humanoid") then
400
			h = v
401
		end
402
	end
403
         if h ~= nil and hit.Parent.Name ~= char.Name and hit.Parent:FindFirstChild("UpperTorso") ~= nil then
404
	
405
         hit.Parent:FindFirstChild("Head"):BreakJoints()
406
         end
407
408
	if h ~= nil and hit.Parent.Name ~= char.Name and hit.Parent:FindFirstChild("Torso") ~= nil then
409
		if hit.Parent:findFirstChild("DebounceHit") ~= nil then
410
			if hit.Parent.DebounceHit.Value == true then
411
				return
412
			end
413
		end
414
         if insta == true then
415
         hit.Parent:FindFirstChild("Head"):BreakJoints()
416
         end
417
		local c = Create("ObjectValue"){
418
			Name = "creator",
419
			Value = game:service("Players").LocalPlayer,
420
			Parent = h,
421
		}
422
		game:GetService("Debris"):AddItem(c, .5)
423
		if HitSound ~= nil and HitPitch ~= nil then
424
			CFuncs.Sound.Create(HitSound, hit, 1, HitPitch) 
425
		end
426
		local Damage = math.random(minim, maxim)
427
		local blocked = false
428
		local block = hit.Parent:findFirstChild("Block")
429
		if block ~= nil then
430
			if block.className == "IntValue" then
431
				if block.Value > 0 then
432
					blocked = true
433
					block.Value = block.Value - 1
434
					print(block.Value)
435
				end
436
			end
437
		end
438
		if blocked == false then
439
			h.Health = h.Health - Damage
440
			ShowDamage((Part.CFrame * CFrame.new(0, 0, (Part.Size.Z / 2)).p + Vector3.new(0, 1.5, 0)), -Damage, 1.5, tors.BrickColor.Color)
441
		else
442
			h.Health = h.Health - (Damage / 2)
443
			ShowDamage((Part.CFrame * CFrame.new(0, 0, (Part.Size.Z / 2)).p + Vector3.new(0, 1.5, 0)), -Damage, 1.5, tors.BrickColor.Color)
444
		end
445
		if Type == "Knockdown" then
446
			local hum = hit.Parent.Humanoid
447
			hum.PlatformStand = true
448
			coroutine.resume(coroutine.create(function(HHumanoid)
449
				swait(1)
450
				HHumanoid.PlatformStand = false
451
			end), hum)
452
			local angle = (hit.Position - (Property.Position + Vector3.new(0, 0, 0))).unit
453
			local bodvol = Create("BodyVelocity"){
454
				velocity = angle * knockback,
455
				P = 5000,
456
				maxForce = Vector3.new(8e+003, 8e+003, 8e+003),
457
				Parent = hit,
458
			}
459
			local rl = Create("BodyAngularVelocity"){
460
				P = 3000,
461
				maxTorque = Vector3.new(500000, 500000, 500000) * 50000000000000,
462
				angularvelocity = Vector3.new(math.random(-10, 10), math.random(-10, 10), math.random(-10, 10)),
463
				Parent = hit,
464
			}
465
			game:GetService("Debris"):AddItem(bodvol, .5)
466
			game:GetService("Debris"):AddItem(rl, .5)
467
		elseif Type == "Normal" then
468
			local vp = Create("BodyVelocity"){
469
				P = 500,
470
				maxForce = Vector3.new(math.huge, 0, math.huge),
471
				velocity = Property.CFrame.lookVector * knockback + Property.Velocity / 1.05,
472
			}
473
			if knockback > 0 then
474
				vp.Parent = hit.Parent.Torso
475
			end
476
			game:GetService("Debris"):AddItem(vp, .5)
477
		elseif Type == "Up" then
478
			local bodyVelocity = Create("BodyVelocity"){
479
				velocity = Vector3.new(0, 20, 0),
480
				P = 5000,
481
				maxForce = Vector3.new(8e+003, 8e+003, 8e+003),
482
				Parent = hit,
483
			}
484
			game:GetService("Debris"):AddItem(bodyVelocity, .5)
485
		elseif Type == "DarkUp" then
486
			coroutine.resume(coroutine.create(function()
487
				for i = 0, 1, 0.1 do
488
					swait()
489
					Effects.Block.Create(BrickColor.new("Black"), hit.Parent.Torso.CFrame, 5, 5, 5, 1, 1, 1, .08, 1)
490
				end
491
			end))
492
			local bodyVelocity = Create("BodyVelocity"){
493
				velocity = Vector3.new(0, 20, 0),
494
				P = 5000,
495
				maxForce = Vector3.new(8e+003, 8e+003, 8e+003),
496
				Parent = hit,
497
			}
498
			game:GetService("Debris"):AddItem(bodyVelocity, 1)
499
		elseif Type == "Snare" then
500
			local bp = Create("BodyPosition"){
501
				P = 2000,
502
				D = 100,
503
				maxForce = Vector3.new(math.huge, math.huge, math.huge),
504
				position = hit.Parent.Torso.Position,
505
				Parent = hit.Parent.Torso,
506
			}
507
			game:GetService("Debris"):AddItem(bp, 1)
508
		elseif Type == "Freeze" then
509
			local BodPos = Create("BodyPosition"){
510
				P = 50000,
511
				D = 1000,
512
				maxForce = Vector3.new(math.huge, math.huge, math.huge),
513
				position = hit.Parent.Torso.Position,
514
				Parent = hit.Parent.Torso,
515
			}
516
			local BodGy = Create("BodyGyro") {
517
				maxTorque = Vector3.new(4e+005, 4e+005, 4e+005) * math.huge ,
518
				P = 20e+003,
519
				Parent = hit.Parent.Torso,
520
				cframe = hit.Parent.Torso.CFrame,
521
			}
522
			hit.Parent.Torso.Anchored = true
523
			coroutine.resume(coroutine.create(function(Part) 
524
				swait(1.5)
525
				Part.Anchored = false
526
			end), hit.Parent.Torso)
527
			game:GetService("Debris"):AddItem(BodPos, 3)
528
			game:GetService("Debris"):AddItem(BodGy, 3)
529
		end
530
		local debounce = Create("BoolValue"){
531
			Name = "DebounceHit",
532
			Parent = hit.Parent,
533
			Value = true,
534
		}
535
		game:GetService("Debris"):AddItem(debounce, Delay)
536
		c = Create("ObjectValue"){
537
			Name = "creator",
538
			Value = Player,
539
			Parent = h,
540
		}
541
		game:GetService("Debris"):AddItem(c, .5)
542
	end
543
end
544
-------------------------------------------------------
545
--End Damage Function--
546
-------------------------------------------------------
547
548
-------------------------------------------------------
549
--Start Damage Function Customization--
550
-------------------------------------------------------
551
function ShowDamage(Pos, Text, Time, Color)
552
	local Rate = (1 / 30)
553
	local Pos = (Pos or Vector3.new(0, 0, 0))
554
	local Text = (Text or "")
555
	local Time = (Time or 2)
556
	local Color = (Color or Color3.new(1, 0, 1))
557
	local EffectPart = CFuncs.Part.Create(workspace, "SmoothPlastic", 0, 1, BrickColor.new(Color), "Effect", Vector3.new(0, 0, 0))
558
	EffectPart.Anchored = true
559
	local BillboardGui = Create("BillboardGui"){
560
		Size = UDim2.new(3, 0, 3, 0),
561
		Adornee = EffectPart,
562
		Parent = EffectPart,
563
	}
564
	local TextLabel = Create("TextLabel"){
565
		BackgroundTransparency = 1,
566
		Size = UDim2.new(1, 0, 1, 0),
567
		Text = Text,
568
		Font = "Bodoni",
569
		TextColor3 = Color,
570
		TextScaled = true,
571
		TextStrokeColor3 = Color3.fromRGB(0,0,0),
572
		Parent = BillboardGui,
573
	}
574
	game.Debris:AddItem(EffectPart, (Time))
575
	EffectPart.Parent = game:GetService("Workspace")
576
	delay(0, function()
577
		local Frames = (Time / Rate)
578
		for Frame = 1, Frames do
579
			wait(Rate)
580
			local Percent = (Frame / Frames)
581
			EffectPart.CFrame = CFrame.new(Pos) + Vector3.new(0, Percent, 0)
582
			TextLabel.TextTransparency = Percent
583
		end
584
		if EffectPart and EffectPart.Parent then
585
			EffectPart:Destroy()
586
		end
587
	end)
588
end
589
-------------------------------------------------------
590
--End Damage Function Customization--
591
-------------------------------------------------------
592
593
function MagniDamage(Part, magni, mindam, maxdam, knock, Type)
594
  for _, c in pairs(workspace:children()) do
595
    local hum = c:findFirstChild("Humanoid")
596
    if hum ~= nil then
597
      local head = c:findFirstChild("Head")
598
      if head ~= nil then
599
        local targ = head.Position - Part.Position
600
        local mag = targ.magnitude
601
        if magni >= mag and c.Name ~= plr.Name then
602
          Damage(head, head, mindam, maxdam, knock, Type, root, 0.1, "http://www.roblox.com/asset/?id=0", 1.2)
603
        end
604
      end
605
    end
606
  end
607
end
608
609
610
CFuncs = {
611
	Part = {
612
		Create = function(Parent, Material, Reflectance, Transparency, BColor, Name, Size)
613
			local Part = Create("Part")({
614
				Parent = Parent,
615
				Reflectance = Reflectance,
616
				Transparency = Transparency,
617
				CanCollide = false,
618
				Locked = true,
619
				BrickColor = BrickColor.new(tostring(BColor)),
620
				Name = Name,
621
				Size = Size,
622
				Material = Material
623
			})
624
			RemoveOutlines(Part)
625
			return Part
626
		end
627
	},
628
	Mesh = {
629
		Create = function(Mesh, Part, MeshType, MeshId, OffSet, Scale)
630
			local Msh = Create(Mesh)({
631
				Parent = Part,
632
				Offset = OffSet,
633
				Scale = Scale
634
			})
635
			if Mesh == "SpecialMesh" then
636
				Msh.MeshType = MeshType
637
				Msh.MeshId = MeshId
638
			end
639
			return Msh
640
		end
641
	},
642
	Mesh = {
643
		Create = function(Mesh, Part, MeshType, MeshId, OffSet, Scale)
644
			local Msh = Create(Mesh)({
645
				Parent = Part,
646
				Offset = OffSet,
647
				Scale = Scale
648
			})
649
			if Mesh == "SpecialMesh" then
650
				Msh.MeshType = MeshType
651
				Msh.MeshId = MeshId
652
			end
653
			return Msh
654
		end
655
	},
656
	Weld = {
657
		Create = function(Parent, Part0, Part1, C0, C1)
658
			local Weld = Create("Weld")({
659
				Parent = Parent,
660
				Part0 = Part0,
661
				Part1 = Part1,
662
				C0 = C0,
663
				C1 = C1
664
			})
665
			return Weld
666
		end
667
	},
668
	Sound = {
669
		Create = function(id, par, vol, pit)
670
			coroutine.resume(coroutine.create(function()
671
				local S = Create("Sound")({
672
					Volume = vol,
673
					Pitch = pit or 1,
674
					SoundId = id,
675
					Parent = par or workspace
676
				})
677
				wait()
678
				S:play()
679
				game:GetService("Debris"):AddItem(S, 6)
680
			end))
681
		end
682
	},
683
	ParticleEmitter = {
684
		Create = function(Parent, Color1, Color2, LightEmission, Size, Texture, Transparency, ZOffset, Accel, Drag, LockedToPart, VelocityInheritance, EmissionDirection, Enabled, LifeTime, Rate, Rotation, RotSpeed, Speed, VelocitySpread)
685
			local fp = Create("ParticleEmitter")({
686
				Parent = Parent,
687
				Color = ColorSequence.new(Color1, Color2),
688
				LightEmission = LightEmission,
689
				Size = Size,
690
				Texture = Texture,
691
				Transparency = Transparency,
692
				ZOffset = ZOffset,
693
				Acceleration = Accel,
694
				Drag = Drag,
695
				LockedToPart = LockedToPart,
696
				VelocityInheritance = VelocityInheritance,
697
				EmissionDirection = EmissionDirection,
698
				Enabled = Enabled,
699
				Lifetime = LifeTime,
700
				Rate = Rate,
701
				Rotation = Rotation,
702
				RotSpeed = RotSpeed,
703
				Speed = Speed,
704
				VelocitySpread = VelocitySpread
705
			})
706
			return fp
707
		end
708
	}
709
}
710
function RemoveOutlines(part)
711
	part.TopSurface, part.BottomSurface, part.LeftSurface, part.RightSurface, part.FrontSurface, part.BackSurface = 10, 10, 10, 10, 10, 10
712
end
713
function CreatePart(FormFactor, Parent, Material, Reflectance, Transparency, BColor, Name, Size)
714
	local Part = Create("Part")({
715
		formFactor = FormFactor,
716
		Parent = Parent,
717
		Reflectance = Reflectance,
718
		Transparency = Transparency,
719
		CanCollide = false,
720
		Locked = true,
721
		BrickColor = BrickColor.new(tostring(BColor)),
722
		Name = Name,
723
		Size = Size,
724
		Material = Material
725
	})
726
	RemoveOutlines(Part)
727
	return Part
728
end
729
function CreateMesh(Mesh, Part, MeshType, MeshId, OffSet, Scale)
730
	local Msh = Create(Mesh)({
731
		Parent = Part,
732
		Offset = OffSet,
733
		Scale = Scale
734
	})
735
	if Mesh == "SpecialMesh" then
736
		Msh.MeshType = MeshType
737
		Msh.MeshId = MeshId
738
	end
739
	return Msh
740
end
741
function CreateWeld(Parent, Part0, Part1, C0, C1)
742
	local Weld = Create("Weld")({
743
		Parent = Parent,
744
		Part0 = Part0,
745
		Part1 = Part1,
746
		C0 = C0,
747
		C1 = C1
748
	})
749
	return Weld
750
end
751
752
753
-------------------------------------------------------
754
--Start Effect Function--
755
-------------------------------------------------------
756
EffectModel = Instance.new("Model", char)
757
Effects = {
758
  Block = {
759
    Create = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay, Type)
760
      local prt = CFuncs.Part.Create(EffectModel, "SmoothPlastic", 0, 0, brickcolor, "Effect", Vector3.new())
761
      prt.Anchored = true
762
      prt.CFrame = cframe
763
      local msh = CFuncs.Mesh.Create("BlockMesh", prt, "", "", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
764
      game:GetService("Debris"):AddItem(prt, 10)
765
      if Type == 1 or Type == nil then
766
        table.insert(Effects, {
767
          prt,
768
          "Block1",
769
          delay,
770
          x3,
771
          y3,
772
          z3,
773
          msh
774
        })
775
      elseif Type == 2 then
776
        table.insert(Effects, {
777
          prt,
778
          "Block2",
779
          delay,
780
          x3,
781
          y3,
782
          z3,
783
          msh
784
        })
785
      else
786
        table.insert(Effects, {
787
          prt,
788
          "Block3",
789
          delay,
790
          x3,
791
          y3,
792
          z3,
793
          msh
794
        })
795
      end
796
    end
797
  },
798
  Sphere = {
799
    Create = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay)
800
      local prt = CFuncs.Part.Create(EffectModel, "Neon", 0, 0, brickcolor, "Effect", Vector3.new())
801
      prt.Anchored = true
802
      prt.CFrame = cframe
803
      local msh = CFuncs.Mesh.Create("SpecialMesh", prt, "Sphere", "", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
804
      game:GetService("Debris"):AddItem(prt, 10)
805
      table.insert(Effects, {
806
        prt,
807
        "Cylinder",
808
        delay,
809
        x3,
810
        y3,
811
        z3,
812
        msh
813
      })
814
    end
815
  },
816
  Cylinder = {
817
    Create = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay)
818
      local prt = CFuncs.Part.Create(EffectModel, "SmoothPlastic", 0, 0, brickcolor, "Effect", Vector3.new())
819
      prt.Anchored = true
820
      prt.CFrame = cframe
821
      local msh = CFuncs.Mesh.Create("CylinderMesh", prt, "", "", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
822
      game:GetService("Debris"):AddItem(prt, 10)
823
      table.insert(Effects, {
824
        prt,
825
        "Cylinder",
826
        delay,
827
        x3,
828
        y3,
829
        z3,
830
        msh
831
      })
832
    end
833
  },
834
  Wave = {
835
    Create = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay)
836
      local prt = CFuncs.Part.Create(EffectModel, "Neon", 0, 0, brickcolor, "Effect", Vector3.new())
837
      prt.Anchored = true
838
      prt.CFrame = cframe
839
      local msh = CFuncs.Mesh.Create("SpecialMesh", prt, "FileMesh", "rbxassetid://20329976", Vector3.new(0, 0, 0), Vector3.new(x1 / 60, y1 / 60, z1 / 60))
840
      game:GetService("Debris"):AddItem(prt, 10)
841
      table.insert(Effects, {
842
        prt,
843
        "Cylinder",
844
        delay,
845
        x3 / 60,
846
        y3 / 60,
847
        z3 / 60,
848
        msh
849
      })
850
    end
851
  },
852
  Ring = {
853
    Create = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay)
854
      local prt = CFuncs.Part.Create(EffectModel, "SmoothPlastic", 0, 0, brickcolor, "Effect", Vector3.new())
855
      prt.Anchored = true
856
      prt.CFrame = cframe
857
      local msh = CFuncs.Mesh.Create("SpecialMesh", prt, "FileMesh", "rbxassetid://3270017", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
858
      game:GetService("Debris"):AddItem(prt, 10)
859
      table.insert(Effects, {
860
        prt,
861
        "Cylinder",
862
        delay,
863
        x3,
864
        y3,
865
        z3,
866
        msh
867
      })
868
    end
869
  },
870
  Break = {
871
    Create = function(brickcolor, cframe, x1, y1, z1)
872
      local prt = CFuncs.Part.Create(EffectModel, "Neon", 0, 0, brickcolor, "Effect", Vector3.new(0.5, 0.5, 0.5))
873
      prt.Anchored = true
874
      prt.CFrame = cframe * CFrame.fromEulerAnglesXYZ(math.random(-50, 50), math.random(-50, 50), math.random(-50, 50))
875
      local msh = CFuncs.Mesh.Create("SpecialMesh", prt, "Sphere", "", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
876
      local num = math.random(10, 50) / 1000
877
      game:GetService("Debris"):AddItem(prt, 10)
878
      table.insert(Effects, {
879
        prt,
880
        "Shatter",
881
        num,
882
        prt.CFrame,
883
        math.random() - math.random(),
884
        0,
885
        math.random(50, 100) / 100
886
      })
887
    end
888
  },
889
Spiral = {
890
    Create = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay)
891
      local prt = CFuncs.Part.Create(EffectModel, "SmoothPlastic", 0, 0, brickcolor, "Effect", Vector3.new())
892
      prt.Anchored = true
893
      prt.CFrame = cframe
894
      local msh = CFuncs.Mesh.Create("SpecialMesh", prt, "FileMesh", "rbxassetid://1051557", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
895
      game:GetService("Debris"):AddItem(prt, 10)
896
      table.insert(Effects, {
897
        prt,
898
        "Cylinder",
899
        delay,
900
        x3,
901
        y3,
902
        z3,
903
        msh
904
      })
905
    end
906
  },
907
Push = {
908
    Create = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay)
909
      local prt = CFuncs.Part.Create(EffectModel, "SmoothPlastic", 0, 0, brickcolor, "Effect", Vector3.new())
910
      prt.Anchored = true
911
      prt.CFrame = cframe
912
      local msh = CFuncs.Mesh.Create("SpecialMesh", prt, "FileMesh", "rbxassetid://437347603", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
913
      game:GetService("Debris"):AddItem(prt, 10)
914
      table.insert(Effects, {
915
        prt,
916
        "Cylinder",
917
        delay,
918
        x3,
919
        y3,
920
        z3,
921
        msh
922
      })
923
    end
924
  }
925
}
926
function part(formfactor ,parent, reflectance, transparency, brickcolor, name, size)
927
	local fp = IT("Part")
928
	fp.formFactor = formfactor 
929
	fp.Parent = parent
930
	fp.Reflectance = reflectance
931
	fp.Transparency = transparency
932
	fp.CanCollide = false 
933
	fp.Locked = true
934
	fp.BrickColor = brickcolor
935
	fp.Name = name
936
	fp.Size = size
937
	fp.Position = tors.Position 
938
	RemoveOutlines(fp)
939
	fp.Material = "SmoothPlastic"
940
	fp:BreakJoints()
941
	return fp 
942
end 
943
 
944
function mesh(Mesh,part,meshtype,meshid,offset,scale)
945
	local mesh = IT(Mesh) 
946
	mesh.Parent = part
947
	if Mesh == "SpecialMesh" then
948
		mesh.MeshType = meshtype
949
	if meshid ~= "nil" then
950
		mesh.MeshId = "http://www.roblox.com/asset/?id="..meshid
951
		end
952
	end
953
	mesh.Offset = offset
954
	mesh.Scale = scale
955
	return mesh
956
end
957
958
function Magic(bonuspeed, type, pos, scale, value, color, MType)
959
	local type = type
960
	local rng = Instance.new("Part", char)
961
	rng.Anchored = true
962
	rng.BrickColor = color
963
	rng.CanCollide = false
964
	rng.FormFactor = 3
965
	rng.Name = "Ring"
966
	rng.Material = "Neon"
967
	rng.Size = Vector3.new(1, 1, 1)
968
	rng.Transparency = 0
969
	rng.TopSurface = 0
970
	rng.BottomSurface = 0
971
	rng.CFrame = pos
972
	local rngm = Instance.new("SpecialMesh", rng)
973
	rngm.MeshType = MType
974
	rngm.Scale = scale
975
	local scaler2 = 1
976
	if type == "Add" then
977
		scaler2 = 1 * value
978
	elseif type == "Divide" then
979
		scaler2 = 1 / value
980
	end
981
	coroutine.resume(coroutine.create(function()
982
		for i = 0, 10 / bonuspeed, 0.1 do
983
			swait()
984
			if type == "Add" then
985
				scaler2 = scaler2 - 0.01 * value / bonuspeed
986
			elseif type == "Divide" then
987
				scaler2 = scaler2 - 0.01 / value * bonuspeed
988
			end
989
			rng.Transparency = rng.Transparency + 0.01 * bonuspeed
990
			rngm.Scale = rngm.Scale + Vector3.new(scaler2 * bonuspeed, scaler2 * bonuspeed, scaler2 * bonuspeed)
991
		end
992
		rng:Destroy()
993
	end))
994
end
995
996
function Eviscerate(dude)
997
	if dude.Name ~= char then
998
		local bgf = IT("BodyGyro", dude.Head)
999
		bgf.CFrame = bgf.CFrame * CFrame.fromEulerAnglesXYZ(Rad(-90), 0, 0)
1000
		local val = IT("BoolValue", dude)
1001
		val.Name = "IsHit"
1002
		local ds = coroutine.wrap(function()
1003
			dude:WaitForChild("Head"):BreakJoints()
1004
			wait(0.5)
1005
			target = nil
1006
			coroutine.resume(coroutine.create(function()
1007
				for i, v in pairs(dude:GetChildren()) do
1008
					if v:IsA("Accessory") then
1009
						v:Destroy()
1010
					end
1011
					if v:IsA("Humanoid") then
1012
						v:Destroy()
1013
					end
1014
					if v:IsA("CharacterMesh") then
1015
						v:Destroy()
1016
					end
1017
					if v:IsA("Model") then
1018
						v:Destroy()
1019
					end
1020
					if v:IsA("Part") or v:IsA("MeshPart") then
1021
						for x, o in pairs(v:GetChildren()) do
1022
							if o:IsA("Decal") then
1023
								o:Destroy()
1024
							end
1025
						end
1026
						coroutine.resume(coroutine.create(function()
1027
							v.Material = "Neon"
1028
							v.CanCollide = false
1029
							local PartEmmit1 = IT("ParticleEmitter", v)
1030
							PartEmmit1.LightEmission = 1
1031
							PartEmmit1.Texture = "rbxassetid://284205403"
1032
							PartEmmit1.Color = ColorSequence.new(maincolor.Color)
1033
							PartEmmit1.Rate = 150
1034
							PartEmmit1.Lifetime = NumberRange.new(1)
1035
							PartEmmit1.Size = NumberSequence.new({
1036
								NumberSequenceKeypoint.new(0, 0.75, 0),
1037
								NumberSequenceKeypoint.new(1, 0, 0)
1038
							})
1039
							PartEmmit1.Transparency = NumberSequence.new({
1040
								NumberSequenceKeypoint.new(0, 0, 0),
1041
								NumberSequenceKeypoint.new(1, 1, 0)
1042
							})
1043
							PartEmmit1.Speed = NumberRange.new(0, 0)
1044
							PartEmmit1.VelocitySpread = 30000
1045
							PartEmmit1.Rotation = NumberRange.new(-500, 500)
1046
							PartEmmit1.RotSpeed = NumberRange.new(-500, 500)
1047
							local BodPoss = IT("BodyPosition", v)
1048
							BodPoss.P = 3000
1049
							BodPoss.D = 1000
1050
							BodPoss.maxForce = Vector3.new(50000000000, 50000000000, 50000000000)
1051
							BodPoss.position = v.Position + Vector3.new(Mrandom(-15, 15), Mrandom(-15, 15), Mrandom(-15, 15))
1052
							v.Color = maincolor.Color
1053
							coroutine.resume(coroutine.create(function()
1054
								for i = 0, 49 do
1055
									swait(1)
1056
									v.Transparency = v.Transparency + 0.08
1057
								end
1058
								wait(0.5)
1059
								PartEmmit1.Enabled = false
1060
								wait(3)
1061
								v:Destroy()
1062
								dude:Destroy()
1063
							end))
1064
						end))
1065
					end
1066
				end
1067
			end))
1068
		end)
1069
		ds()
1070
	end
1071
end
1072
1073
function FindNearestHead(Position, Distance, SinglePlayer)
1074
	if SinglePlayer then
1075
		return Distance > (SinglePlayer.Torso.CFrame.p - Position).magnitude
1076
	end
1077
	local List = {}
1078
	for i, v in pairs(workspace:GetChildren()) do
1079
		if v:IsA("Model") and v:findFirstChild("Head") and v ~= char and Distance >= (v.Head.Position - Position).magnitude then
1080
			table.insert(List, v)
1081
		end
1082
	end
1083
	return List
1084
end
1085
1086
function Aura(bonuspeed, FastSpeed, type, pos, x1, y1, z1, value, color, outerpos, MType)
1087
	local type = type
1088
	local rng = Instance.new("Part", char)
1089
	rng.Anchored = true
1090
	rng.BrickColor = color
1091
	rng.CanCollide = false
1092
	rng.FormFactor = 3
1093
	rng.Name = "Ring"
1094
	rng.Material = "Neon"
1095
	rng.Size = Vector3.new(1, 1, 1)
1096
	rng.Transparency = 0
1097
	rng.TopSurface = 0
1098
	rng.BottomSurface = 0
1099
	rng.CFrame = pos
1100
	rng.CFrame = rng.CFrame + rng.CFrame.lookVector * outerpos
1101
	local rngm = Instance.new("SpecialMesh", rng)
1102
	rngm.MeshType = MType
1103
	rngm.Scale = Vector3.new(x1, y1, z1)
1104
	local scaler2 = 1
1105
	local speeder = FastSpeed
1106
	if type == "Add" then
1107
		scaler2 = 1 * value
1108
	elseif type == "Divide" then
1109
		scaler2 = 1 / value
1110
	end
1111
	coroutine.resume(coroutine.create(function()
1112
		for i = 0, 10 / bonuspeed, 0.1 do
1113
			swait()
1114
			if type == "Add" then
1115
				scaler2 = scaler2 - 0.01 * value / bonuspeed
1116
			elseif type == "Divide" then
1117
				scaler2 = scaler2 - 0.01 / value * bonuspeed
1118
			end
1119
			speeder = speeder - 0.01 * FastSpeed * bonuspeed
1120
			rng.CFrame = rng.CFrame + rng.CFrame.lookVector * speeder * bonuspeed
1121
			rng.Transparency = rng.Transparency + 0.01 * bonuspeed
1122
			rngm.Scale = rngm.Scale + Vector3.new(scaler2 * bonuspeed, scaler2 * bonuspeed, 0)
1123
		end
1124
		rng:Destroy()
1125
	end))
1126
end
1127
1128
function SoulSteal(dude)
1129
if dude.Name ~= char then
1130
local bgf = IT("BodyGyro", dude.Head)
1131
bgf.CFrame = bgf.CFrame * CFrame.fromEulerAnglesXYZ(Rad(-90), 0, 0)
1132
local val = IT("BoolValue", dude)
1133
val.Name = "IsHit"
1134
local torso = (dude:FindFirstChild'Head' or dude:FindFirstChild'Torso' or dude:FindFirstChild'UpperTorso' or dude:FindFirstChild'LowerTorso' or dude:FindFirstChild'HumanoidRootPart')
1135
local soulst = coroutine.wrap(function()
1136
local soul = Instance.new("Part",dude)
1137
soul.Size = Vector3.new(1,1,1)
1138
soul.CanCollide = false
1139
soul.Anchored = false
1140
soul.Position = torso.Position
1141
soul.Transparency = 1
1142
local PartEmmit1 = IT("ParticleEmitter", soul)
1143
PartEmmit1.LightEmission = 1
1144
PartEmmit1.Texture = "rbxassetid://569507414"
1145
PartEmmit1.Color = ColorSequence.new(maincolor.Color)
1146
PartEmmit1.Rate = 250
1147
PartEmmit1.Lifetime = NumberRange.new(1.6)
1148
PartEmmit1.Size = NumberSequence.new({
1149
	NumberSequenceKeypoint.new(0, 1, 0),
1150
	NumberSequenceKeypoint.new(1, 0, 0)
1151
})
1152
PartEmmit1.Transparency = NumberSequence.new({
1153
	NumberSequenceKeypoint.new(0, 0, 0),
1154
	NumberSequenceKeypoint.new(1, 1, 0)
1155
})
1156
PartEmmit1.Speed = NumberRange.new(0, 0)
1157
PartEmmit1.VelocitySpread = 30000
1158
PartEmmit1.Rotation = NumberRange.new(-360, 360)
1159
PartEmmit1.RotSpeed = NumberRange.new(-360, 360)
1160
local BodPoss = IT("BodyPosition", soul)
1161
BodPoss.P = 3000
1162
BodPoss.D = 1000
1163
BodPoss.maxForce = Vector3.new(50000000000, 50000000000, 50000000000)
1164
BodPoss.position = torso.Position + Vector3.new(Mrandom(-15, 15), Mrandom(-15, 15), Mrandom(-15, 15))
1165
wait(1.6)
1166
soul.Touched:connect(function(hit)
1167
	if hit.Parent == char then
1168
	soul:Destroy()
1169
	end
1170
end)
1171
wait(1.2)
1172
while soul do
1173
	swait()
1174
	PartEmmit1.Color = ColorSequence.new(maincolor.Color)
1175
	BodPoss.Position = tors.Position
1176
end
1177
end)
1178
	soulst()
1179
	end
1180
end
1181
function FaceMouse()
1182
local	Cam = workspace.CurrentCamera
1183
	return {
1184
		CFrame.new(char.Torso.Position, Vector3.new(mouse.Hit.p.x, char.Torso.Position.y, mouse.Hit.p.z)),
1185
		Vector3.new(mouse.Hit.p.x, mouse.Hit.p.y, mouse.Hit.p.z)
1186
	}
1187
end
1188
Effects = {
1189
	Block = function(cf,partsize,meshstart,meshadd,matr,colour,spin,inverse,factor)
1190
	local p = Instance.new("Part",EffectModel)
1191
	p.BrickColor = BrickColor.new(colour)
1192
	p.Size = partsize
1193
	p.Anchored = true
1194
	p.CanCollide = false
1195
	p.Material = matr
1196
	p.CFrame = cf
1197
	if inverse == true then
1198
		p.Transparency = 1
1199
	else
1200
		p.Transparency = 0
1201
	end
1202
	local m = Instance.new("BlockMesh",p)
1203
	m.Scale = meshstart
1204
	coroutine.wrap(function()
1205
		for i = 0, 1, factor do
1206
			swait()
1207
			if inverse == true then
1208
				p.Transparency = 1-i
1209
			else
1210
				p.Transparency = i
1211
			end
1212
			m.Scale = m.Scale + meshadd
1213
			if spin == true then
1214
				p.CFrame = p.CFrame * CFrame.Angles(math.random(-50,50),math.random(-50,50),math.random(-50,50))
1215
			end
1216
		end
1217
		p:Destroy()
1218
	end)()
1219
return p
1220
	end,
1221
	Sphere = function(cf,partsize,meshstart,meshadd,matr,colour,inverse,factor)
1222
	local p = Instance.new("Part",EffectModel)
1223
	p.BrickColor = BrickColor.new(colour)
1224
	p.Size = partsize
1225
	p.Anchored = true
1226
	p.CanCollide = false
1227
	p.Material = matr
1228
	p.CFrame = cf
1229
	if inverse == true then
1230
		p.Transparency = 1
1231
	else
1232
		p.Transparency = 0
1233
	end
1234
	local m = Instance.new("SpecialMesh",p)
1235
	m.MeshType = "Sphere"
1236
	m.Scale = meshstart
1237
	coroutine.wrap(function()
1238
		for i=0,1,factor do
1239
			swait()
1240
			if inverse == true then
1241
				p.Transparency = 1-i
1242
			else
1243
				p.Transparency = i
1244
			end
1245
			m.Scale = m.Scale + meshadd
1246
		end
1247
	p:Destroy()
1248
end)()
1249
return p
1250
	end,
1251
1252
	Cylinder = function(cf,partsize,meshstart,meshadd,matr,colour,inverse,factor)
1253
	local p = Instance.new("Part",EffectModel)
1254
	p.BrickColor = BrickColor.new(colour)
1255
	p.Size = partsize
1256
	p.Anchored = true
1257
	p.CanCollide = false
1258
	p.Material = matr
1259
	p.CFrame = cf
1260
	if inverse == true then
1261
		p.Transparency = 1
1262
	else
1263
		p.Transparency = 0
1264
	end
1265
	local m = Instance.new("CylinderMesh",p)
1266
	m.Scale = meshstart
1267
	coroutine.wrap(function()
1268
		for i=0,1,factor do
1269
			swait()
1270
			if inverse == true then
1271
				p.Transparency = 1-i
1272
			else
1273
				p.Transparency = i
1274
			end
1275
			m.Scale = m.Scale + meshadd
1276
		end
1277
	p:Destroy()
1278
end)()
1279
return p
1280
	end,
1281
1282
Wave = function(cf,meshstart,meshadd,colour,spin,inverse,factor)
1283
local p = Instance.new("Part",EffectModel)
1284
p.BrickColor = BrickColor.new(colour)
1285
p.Size = Vector3.new()
1286
p.Anchored = true
1287
p.CanCollide = false
1288
p.CFrame = cf
1289
if inverse == true then
1290
p.Transparency = 1
1291
else
1292
p.Transparency = 0
1293
end
1294
local m = Instance.new("SpecialMesh",p)
1295
m.MeshId = "rbxassetid://20329976"
1296
m.Scale = meshstart
1297
coroutine.wrap(function()
1298
for i=0,1,factor do
1299
swait()
1300
if inverse == true then
1301
p.Transparency = 1-i
1302
else
1303
p.Transparency = i
1304
end
1305
m.Scale = m.Scale + meshadd
1306
p.CFrame = p.CFrame * CFrame.Angles(0,math.rad(spin),0)
1307
end
1308
p:Destroy()
1309
end)()
1310
return p
1311
end,
1312
1313
Ring = function(cf,meshstart,meshadd,colour,inverse,factor)
1314
local p = Instance.new("Part",EffectModel)
1315
p.BrickColor = BrickColor.new(colour)
1316
p.Size = Vector3.new()
1317
p.Anchored = true
1318
p.CanCollide = false
1319
p.CFrame = cf
1320
if inverse == true then
1321
p.Transparency = 1
1322
else
1323
p.Transparency = 0
1324
end
1325
local m = Instance.new("SpecialMesh",p)
1326
m.MeshId = "rbxassetid://3270017"
1327
m.Scale = meshstart
1328
coroutine.wrap(function()
1329
for i=0,1,factor do
1330
swait()
1331
if inverse == true then
1332
p.Transparency = 1-i
1333
else
1334
p.Transparency = i
1335
end
1336
m.Scale = m.Scale + meshadd
1337
end
1338
p:Destroy()
1339
end)()
1340
return p
1341
end,
1342
1343
Meshed = function(cf,meshstart,meshadd,colour,meshid,textid,spin,inverse,factor)
1344
local p = Instance.new("Part",EffectModel)
1345
p.BrickColor = BrickColor.new(colour)
1346
p.Size = Vector3.new()
1347
p.Anchored = true
1348
p.CanCollide = false
1349
p.CFrame = cf
1350
if inverse == true then
1351
p.Transparency = 1
1352
else
1353
p.Transparency = 0
1354
end
1355
local m = Instance.new("SpecialMesh",p)
1356
m.MeshId = meshid
1357
m.TextureId = textid
1358
m.Scale = meshstart
1359
coroutine.wrap(function()
1360
for i=0,1,factor do
1361
swait()
1362
if inverse == true then
1363
p.Transparency = 1-i
1364
else
1365
p.Transparency = i
1366
end
1367
m.Scale = m.Scale + meshadd
1368
p.CFrame = p.CFrame * CFrame.Angles(0,math.rad(spin),0)
1369
end
1370
p:Destroy()
1371
end)()
1372
return p
1373
end,
1374
1375
Explode = function(cf,partsize,meshstart,meshadd,matr,colour,move,inverse,factor)
1376
local p = Instance.new("Part",EffectModel)
1377
p.BrickColor = BrickColor.new(colour)
1378
p.Size = partsize
1379
p.Anchored = true
1380
p.CanCollide = false
1381
p.Material = matr
1382
p.CFrame = cf * CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360)))
1383
if inverse == true then
1384
p.Transparency = 1
1385
else
1386
p.Transparency = 0
1387
end
1388
local m = Instance.new("SpecialMesh",p)
1389
m.MeshType = "Sphere"
1390
m.Scale = meshstart
1391
coroutine.wrap(function()
1392
for i=0,1,factor do
1393
swait()
1394
if inverse == true then
1395
p.Transparency = 1-i
1396-
local SONG = 1845463533
1396+
1397
p.Transparency = i
1398
end
1399
m.Scale = m.Scale + meshadd
1400
p.CFrame = p.CFrame * CFrame.new(0,move,0)
1401
end
1402
p:Destroy()
1403
end)()
1404
return p
1405
end,
1406
1407
}
1408
-------------------------------------------------------
1409
--End Effect Function--
1410
-------------------------------------------------------
1411
function Cso(ID, PARENT, VOLUME, PITCH)
1412
	local NSound = nil
1413
	coroutine.resume(coroutine.create(function()
1414
		NSound = IT("Sound", PARENT)
1415
		NSound.Volume = VOLUME
1416
		NSound.Pitch = PITCH
1417
		NSound.SoundId = "http://www.roblox.com/asset/?id="..ID
1418
		swait()
1419
		NSound:play()
1420
		game:GetService("Debris"):AddItem(NSound, 10)
1421
	end))
1422
	return NSound
1423
end
1424
function CamShake(Length, Intensity)
1425
	coroutine.resume(coroutine.create(function()
1426
		local intensity = 1 * Intensity
1427
		local rotM = 0.01 * Intensity
1428
		for i = 0, Length, 0.1 do
1429
			swait()
1430
			intensity = intensity - 0.05 * Intensity / Length
1431
			rotM = rotM - 5.0E-4 * Intensity / Length
1432
			hum.CameraOffset = Vector3.new(Rad(Mrandom(-intensity, intensity)), Rad(Mrandom(-intensity, intensity)), Rad(Mrandom(-intensity, intensity)))
1433
			cam.CFrame = cam.CFrame * CF(Rad(Mrandom(-intensity, intensity)), Rad(Mrandom(-intensity, intensity)), Rad(Mrandom(-intensity, intensity))) * Euler(Rad(Mrandom(-intensity, intensity)) * rotM, Rad(Mrandom(-intensity, intensity)) * rotM, Rad(Mrandom(-intensity, intensity)) * rotM)
1434
		end
1435
		hum.CameraOffset = Vector3.new(0, 0, 0)
1436
	end))
1437
end
1438
NewInstance = function(instance,parent,properties)
1439
	local inst = Instance.new(instance)
1440
	inst.Parent = parent
1441
	if(properties)then
1442
		for i,v in next, properties do
1443
			pcall(function() inst[i] = v end)
1444
		end
1445
	end
1446
	return inst;
1447
end
1448
hum.MaxHealth = 1.0E298
1449
hum.Health = 1.0E298
1450-
		chatfunc("Would anyone like a cup?", maincolor.Color)
1450+
1451
  if hum.Health > 0.1 and hum.Health < 1.0E298 then
1452-
		chatfunc("God bless the Queen.", maincolor.Color)
1452+
1453
    hum.Health = 1.0E298
1454-
		chatfunc("God forbid.", maincolor.Color)
1454+
1455
end)
1456-
		chatfunc("Crumpets, anyone?", maincolor.Color)
1456+
1457
	local chat = coroutine.wrap(function()
1458
		if char:FindFirstChild("TalkingBillBoard") ~= nil then
1459
			char:FindFirstChild("TalkingBillBoard"):destroy()
1460
		end
1461
		local naeeym2 = Instance.new("BillboardGui", char)
1462
		naeeym2.Size = UDim2.new(0, 100, 0, 40)
1463
		naeeym2.StudsOffset = Vector3.new(0, 1.5, 0)
1464
		naeeym2.Adornee = hed
1465
		naeeym2.Name = "TalkingBillBoard"
1466
		local tecks2 = Instance.new("TextLabel", naeeym2)
1467
		tecks2.BackgroundTransparency = 1
1468
		tecks2.BorderSizePixel = 0
1469
		tecks2.Text = ""
1470
		tecks2.Font = "Fantasy"
1471
		tecks2.TextSize = 30
1472
		tecks2.TextStrokeTransparency = 0
1473
		tecks2.TextColor3 = color
1474
		tecks2.TextStrokeColor3 = Color3.new(0, 0, 0)
1475
		tecks2.Size = UDim2.new(1, 0, 0.5, 0)
1476
		for i = 1, string.len(text) do
1477
			CFuncs.Sound.Create("rbxassetid://418252437", hed, 1, Mrandom(8,12)/15)
1478
			tecks2.Text = string.sub(text, 1, i)
1479
			swait(1)
1480
		end
1481
		wait(1)
1482
		naeeym2:Destroy()
1483
	end)
1484
	chat()
1485
end
1486
New = function(Object, Parent, Name, Data)
1487
	local Object = Instance.new(Object)
1488
	for Index, Value in pairs(Data or {}) do
1489
		Object[Index] = Value
1490
	end
1491
	Object.Parent = Parent
1492
	Object.Name = Name
1493
	return Object
1494
end
1495
	
1496
Cupo = New("Model",char,"Cupo",{})
1497
Handle = New("Part",Cupo,"Handle",{BrickColor = BrickColor.new("Institutional white"),Reflectance = 0.10000000149012,FormFactor = Enum.FormFactor.Symmetric,Size = Vector3.new(1, 1, 1),CFrame = CFrame.new(-132.232986, 1.05098712, -175.132965, -2.66358597e-06, 0.50003612, -0.866004288, 0.999999762, 3.72325388e-08, -3.4009206e-06, -2.13981866e-06, -0.866004527, -0.500036418),BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,Color = Color3.new(0.972549, 0.972549, 0.972549),})
1498
Mesh = New("SpecialMesh",Handle,"Mesh",{Scale = Vector3.new(0.600000024, 0.600000024, 1),MeshId = "http://www.roblox.com/asset/?id=3270017",MeshType = Enum.MeshType.FileMesh,})
1499
Part = New("Part",Cupo,"Part",{BrickColor = BrickColor.new("Institutional white"),Reflectance = 0.10000000149012,FormFactor = Enum.FormFactor.Symmetric,Size = Vector3.new(1, 1, 1),CFrame = CFrame.new(-132.482986, 1.05098701, -174.699982, 0.866004169, -0.500036061, 4.80877497e-06, 3.40900579e-06, -4.61425361e-06, -0.999999642, 0.500036597, 0.866004586, -1.59157071e-06),CanCollide = false,BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,Color = Color3.new(0.972549, 0.972549, 0.972549),})
1500
Mesh = New("SpecialMesh",Part,"Mesh",{Scale = Vector3.new(1, 1, 6),MeshId = "http://www.roblox.com/asset/?id=3270017",MeshType = Enum.MeshType.FileMesh,})
1501
mot = New("Motor",Part,"mot",{Part0 = Part,Part1 = Handle,C0 = CFrame.new(0, 0, 0, 0.866004348, 3.3928352e-06, 0.500036359, -0.500036299, -4.34130516e-06, 0.866004407, 4.95926542e-06, -0.999999881, -1.81985979e-06),C1 = CFrame.new(-1.1920929e-07, -0.499977112, 0, -2.81334178e-06, 1, -1.89662967e-06, 0.50003624, -2.4825286e-07, -0.866004586, -0.866004467, -3.39283588e-06, -0.500036418),})
1502
Part = New("Part",Cupo,"Part",{BrickColor = BrickColor.new("Institutional white"),Reflectance = 0.10000000149012,FormFactor = Enum.FormFactor.Plate,Size = Vector3.new(1, 0.400000006, 1),CFrame = CFrame.new(-132.482986, 0.75998807, -174.699982, 0.500036061, -4.80877497e-06, 0.866004169, 4.61425361e-06, 0.999999642, 3.40900579e-06, -0.866004586, 1.59157071e-06, 0.500036597),CanCollide = false,BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,Color = Color3.new(0.972549, 0.972549, 0.972549),})
1503
Mesh = New("CylinderMesh",Part,"Mesh",{Offset = Vector3.new(0, -0.200000003, 0),Scale = Vector3.new(1, 0.100000001, 1),})
1504
mot = New("Motor",Part,"mot",{Part0 = Part,Part1 = Handle,C0 = CFrame.new(0, 0, 0, 0.500036299, 4.34130516e-06, -0.866004407, -4.95926542e-06, 0.999999881, 1.81985979e-06, 0.866004348, 3.3928352e-06, 0.500036359),C1 = CFrame.new(-0.290999115, -0.499977112, 0, -2.81334178e-06, 1, -1.89662967e-06, 0.50003624, -2.4825286e-07, -0.866004586, -0.866004467, -3.39283588e-06, -0.500036418),})
1505
Coffee = New("Part",Cupo,"Coffee",{BrickColor = BrickColor.new("Light yellow"),FormFactor = Enum.FormFactor.Plate,Size = Vector3.new(1, 0.400000006, 1),CFrame = CFrame.new(-132.482986, 1.15998101, -174.699982, 0.500036299, -4.95926542e-06, 0.866004348, 4.34130516e-06, 0.999999881, 3.3928352e-06, -0.866004407, 1.81985979e-06, 0.500036359),CanCollide = false,BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,Color = Color3.new(0.411765, 0.25098, 0.156863),})
1506
Mesh = New("CylinderMesh",Coffee,"Mesh",{Scale = Vector3.new(1, 1.20000005, 1),})
1507
mot = New("Motor",Coffee,"mot",{Part0 = Coffee,Part1 = Handle,C0 = CFrame.new(0, 0, 0, 0.500036299, 4.34130516e-06, -0.866004407, -4.95926542e-06, 0.999999881, 1.81985979e-06, 0.866004348, 3.3928352e-06, 0.500036359),C1 = CFrame.new(0.108993888, -0.499977112, -1.52587891e-05, -2.81334178e-06, 1, -1.89662967e-06, 0.50003624, -2.4825286e-07, -0.866004586, -0.866004467, -3.39283588e-06, -0.500036418),})
1508
1509
local HW = NewInstance('Weld',char,{Part0 = ra, Part1 = Handle, C0 = CFrame.new(0, -1.1, -0.1) * CFrame.Angles(Rad(0), Rad(90), Rad(0))})
1510
1511
-------------------------------------------------------
1512
--End Important Functions--
1513
-------------------------------------------------------
1514
1515
1516
-------------------------------------------------------
1517
--Start Customization--
1518
-------------------------------------------------------
1519
local Player_Size = 1
1520
if Player_Size ~= 1 then
1521
root.Size = root.Size * Player_Size
1522
tors.Size = tors.Size * Player_Size
1523
hed.Size = hed.Size * Player_Size
1524
ra.Size = ra.Size * Player_Size
1525
la.Size = la.Size * Player_Size
1526
rl.Size = rl.Size * Player_Size
1527
ll.Size = ll.Size * Player_Size
1528
----------------------------------------------------------------------------------
1529
rootj.Parent = root
1530
neck.Parent = tors
1531
RW.Parent = tors
1532
LW.Parent = tors
1533
RH.Parent = tors
1534
LH.Parent = tors
1535
----------------------------------------------------------------------------------
1536
rootj.C0 = RootCF * CF(0 * Player_Size, 0 * Player_Size, 0 * Player_Size) * angles(Rad(0), Rad(0), Rad(0))
1537
rootj.C1 = RootCF * CF(0 * Player_Size, 0 * Player_Size, 0 * Player_Size) * angles(Rad(0), Rad(0), Rad(0))
1538
neck.C0 = necko * CF(0 * Player_Size, 0 * Player_Size, 0 + ((1 * Player_Size) - 1)) * angles(Rad(0), Rad(0), Rad(0))
1539
neck.C1 = CF(0 * Player_Size, -0.5 * Player_Size, 0 * Player_Size) * angles(Rad(-90), Rad(0), Rad(180))
1540
RW.C0 = CF(1.5 * Player_Size, 0.5 * Player_Size, 0 * Player_Size) * angles(Rad(0), Rad(0), Rad(0)) --* RIGHTSHOULDERC0
1541
LW.C0 = CF(-1.5 * Player_Size, 0.5 * Player_Size, 0 * Player_Size) * angles(Rad(0), Rad(0), Rad(0)) --* LEFTSHOULDERC0
1542
----------------------------------------------------------------------------------
1543
RH.C0 = CF(1 * Player_Size, -1 * Player_Size, 0 * Player_Size) * angles(Rad(0), Rad(90), Rad(0)) * angles(Rad(0), Rad(0), Rad(0))
1544
LH.C0 = CF(-1 * Player_Size, -1 * Player_Size, 0 * Player_Size) * angles(Rad(0), Rad(-90), Rad(0)) * angles(Rad(0), Rad(0), Rad(0))
1545
RH.C1 = CF(0.5 * Player_Size, 1 * Player_Size, 0 * Player_Size) * angles(Rad(0), Rad(90), Rad(0)) * angles(Rad(0), Rad(0), Rad(0))
1546
LH.C1 = CF(-0.5 * Player_Size, 1 * Player_Size, 0 * Player_Size) * angles(Rad(0), Rad(-90), Rad(0)) * angles(Rad(0), Rad(0), Rad(0))
1547
--hat.Parent = Character
1548
end
1549
----------------------------------------------------------------------------------
1550
local SONG = 1305251774
1551
local SONG2 = 0
1552
local Music = Instance.new("Sound",tors)
1553
Music.Volume = 2.5
1554
Music.Looped = true
1555
Music.Pitch = 1 --Pitcher
1556
----------------------------------------------------------------------------------
1557
local equipped = false
1558
local idle = 0
1559
local change = 1
1560
local val = 0
1561
local toim = 0
1562
local idleanim = 0.4
1563
local sine = 0
1564
local Sit = 1
1565
local WasAir = false
1566
local InAir = false
1567
local LandTick = 0
1568
local movelegs = false
1569
local FF = Instance.new("ForceField",char)
1570
FF.Visible = false
1571
local Speed = 16
1572
local Sitt = false
1573
local VALUE1 = false
1574
----------------------------------------------------------------------------------
1575
hum.JumpPower = 55
1576
hum.Animator.Parent = nil
1577
-------------------------------------------------------
1578
--End Customization--
1579
-------------------------------------------------------
1580
1581
1582
-------------------------------------------------------
1583
--Start Attacks N Stuff--
1584
-------------------------------------------------------
1585
function AttackTemplate()
1586
	attack = true
1587
	for i = 0, 2, 0.1 do
1588
		swait()
1589
		rootj.C0 = clerp(rootj.C0, RootCF * CF(0* Player_Size, 0* Player_Size, -0.1 + 0.1* Player_Size * Cos(sine / 20)) * angles(Rad(0), Rad(0), Rad(0)), 0.1)
1590
		neck.C0 = clerp(neck.C0, necko* CF(0, 0, 0 + ((1* Player_Size) - 1)) * angles(Rad(0 - 5 * Sin(sine / 20)), Rad(0), Rad(0)), 0.1)
1591
		rl.Weld.C0 = clerp(rl.Weld.C0, CF(0.5* Player_Size, -0.9 - 0.1 * Cos(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(0), Rad(-10), Rad(0)) * angles(Rad(0), Rad(0), Rad(5)), 0.1)
1592
		ll.Weld.C0 = clerp(ll.Weld.C0, CF(-0.5* Player_Size, -0.9 - 0.1 * Cos(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(0), Rad(10), Rad(0)) * angles(Rad(0), Rad(0), Rad(-5)), 0.1)
1593
		RW.C0 = clerp(RW.C0, CF(1.5* Player_Size, 0.5 + 0.1 * Sin(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(0), Rad(0 + 5 * Sin(sine / 20)), Rad(10 + 5 * Sin(sine / 20))), 0.1)
1594
		LW.C0 = clerp(LW.C0, CF(-1.5* Player_Size, 0.5 + 0.1 * Sin(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(0), Rad(0 - 5 * Sin(sine / 20)), Rad(-10 - 5 * Sin(sine / 20))), 0.1)
1595
	end
1596
	attack = false
1597
end
1598
function Taunt()
1599
	attack = true
1600
	movelegs = true
1601
	Speed = 12
1602
	local Chatty = Mrandom(1,5)
1603
	if Chatty == 1 then
1604
		chatfunc("Oh please just stop using those skid beaters", maincolor.Color)
1605
	elseif Chatty == 2 then
1606
		chatfunc("Im having a cancer because of this", maincolor.Color)
1607
	elseif Chatty == 3 then
1608
		chatfunc("Now i have a mental health problems", maincolor.Color)
1609
	elseif Chatty == 4 then
1610
		chatfunc("Im tired", maincolor.Color)
1611
	elseif Chatty == 5 then
1612
		chatfunc("*Slurp*", maincolor.Color)
1613
	end
1614
	if Chatty ~= 5 then
1615
		for i = 0, 9, 0.1 do
1616
			swait()
1617
			rootj.C0 = clerp(rootj.C0, RootCF * CF(0* Player_Size, 0* Player_Size, -0.1 + 0.1* Player_Size * Cos(sine / 20)) * angles(Rad(0), Rad(0), Rad(-10)), 0.1)
1618
			neck.C0 = clerp(neck.C0, necko* CF(0, 0, 0 + ((1* Player_Size) - 1)) * angles(Rad(25), Rad(0), Rad(10 - 5 * Cos(sine / 3))), 0.1)
1619
			rl.Weld.C0 = clerp(rl.Weld.C0, CF(0.5* Player_Size, -0.9 - 0.1 * Cos(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(0), Rad(0), Rad(0)) * angles(Rad(0), Rad(0), Rad(5)), 0.1)
1620
			ll.Weld.C0 = clerp(ll.Weld.C0, CF(-0.5* Player_Size, -0.9 - 0.1 * Cos(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(0), Rad(0), Rad(0)) * angles(Rad(0), Rad(0), Rad(-5)), 0.1)
1621
			RW.C0 = clerp(RW.C0, CF(1.5* Player_Size, 0.5 + 0.1 * Sin(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(70), Rad(0 + 5 * Sin(sine / 20)), Rad(-30 + 5 * Sin(sine / 20))), 0.1)
1622
			LW.C0 = clerp(LW.C0, CF(-1.5* Player_Size, 0.5 + 0.1 * Sin(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(0), Rad(0 - 5 * Sin(sine / 20)), Rad(-10 - 5 * Sin(sine / 20))), 0.1)
1623
		end
1624
	else
1625
		for i = 0, 9, 0.1 do
1626
			swait()
1627
			rootj.C0 = clerp(rootj.C0, RootCF * CF(0* Player_Size, 0* Player_Size, -0.1 + 0.1 * Cos(sine / 24) * Player_Size) * angles(Rad(0 - 4 * Sin(sine / 24)), Rad(0 + 1 * Cos(sine / 24)), Rad(-10)), 0.1)
1628
			neck.C0 = clerp(tors.Neck.C0, necko* CF(0, 0, 0 + ((1* Player_Size) - 1)) * angles(Rad(-15 - 2 * Sin(sine / 20)), Rad(0), Rad(10)), 0.1)
1629
			rl.Weld.C0 = clerp(rl.Weld.C0, CF(0.5* Player_Size, -0.9 * Player_Size - 0.1 * Cos(sine / 24) - Rad(0 + 1 * Cos(sine / 24)) * Player_Size, 0* Player_Size) * angles(Rad(0 - 6 * Sin(sine / 24)), Rad(0 + 1 * Cos(sine / 24)), Rad(0)) * angles(Rad(0 + 1 * Cos(sine / 24)), Rad(0), Rad(5)), 0.1)
1630
			ll.Weld.C0 = clerp(ll.Weld.C0, CF(-0.5* Player_Size, -0.9 * Player_Size - 0.1 * Cos(sine / 24) + Rad(0 + 1 * Cos(sine / 24)) * Player_Size, 0* Player_Size) * angles(Rad(0 - 6 * Sin(sine / 24)), Rad(-0 + 1 * Cos(sine / 24)), Rad(0)) * angles(Rad(0 - 1 * Cos(sine / 24)), Rad(0), Rad(-5)), 0.1)
1631
			RW.C0 = clerp(RW.C0, CF(1.5* Player_Size, 0.5 + 0.1 * Sin(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(70), Rad(0 + 5 * Sin(sine / 20)), Rad(-30 + 5 * Sin(sine / 20))), 0.1)
1632
			LW.C0 = clerp(LW.C0, CF(-1.5* Player_Size, 0.5 + 0.1 * Sin(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(0), Rad(0 - 5 * Sin(sine / 20)), Rad(-10 - 5 * Sin(sine / 20))), 0.1)
1633
		end
1634
	end
1635
	movelegs = false
1636
	attack = false
1637
	Speed = 16
1638
end
1639
function Sippy()
1640
	attack = true
1641
	Speed = 0
1642
	local Sip = Cso("1420260652", hed, 1.2, 1)
1643
	swait()
1644
	repeat
1645
		swait()
1646
		rootj.C0 = clerp(rootj.C0, RootCF * CF(0* Player_Size, 0* Player_Size, -0.1 + 0.1* Player_Size * Cos(sine / 20)) * angles(Rad(0), Rad(0), Rad(-10)), 0.1)
1647
		neck.C0 = clerp(neck.C0, necko* CF(0, 0, 0 + ((1* Player_Size) - 1)) * angles(Rad(-10 - 5 * Sin(sine / 20)), Rad(0), Rad(10)), 0.1)
1648
		rl.Weld.C0 = clerp(rl.Weld.C0, CF(0.5* Player_Size, -0.9 - 0.1 * Cos(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(0), Rad(0), Rad(0)) * angles(Rad(0), Rad(0), Rad(5)), 0.1)
1649-
	Music.SoundId = "rbxassetid://"..SONG
1649+
1650
		RW.C0 = clerp(RW.C0, CF(1.5* Player_Size, 0.4 + 0.05 * Sin(sine / 20)* Player_Size, 0.1* Player_Size) * angles(Rad(125), Rad(0), Rad(-45)), 0.1)
1651
		LW.C0 = clerp(LW.C0, CF(-1.5* Player_Size, 0.5 + 0.1 * Sin(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(0), Rad(0 - 5 * Sin(sine / 20)), Rad(10 - 5 * Sin(sine / 20))), 0.1)
1652
	until Sip.Playing == false
1653
	Speed = 16
1654
	attack = false
1655
end
1656
function SittyBoi()
1657
	attack = true
1658
	Sitt = true
1659
	Speed = 0
1660
	repeat
1661
		swait()
1662
		for i = 0, 1, 0.1 do
1663
			swait()
1664
			rootj.C0 = clerp(rootj.C0, RootCF * CF(0* Player_Size, 0* Player_Size, -1.6 + 0.1 * Player_Size * Cos(sine / 20)) * angles(Rad(-15), Rad(0), Rad(0)), 0.1)
1665
			neck.C0 = clerp(tors.Neck.C0, necko* CF(0, 0, 0 + ((1* Player_Size) - 1)) * angles(Rad(25 - 2.5 * Sin(sine / 20)), Rad(0), Rad(0)), 0.1)
1666
			rl.Weld.C0 = clerp(rl.Weld.C0, CF(0.5* Player_Size, -0.9 - 0.1 * Cos(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(0), Rad(-10), Rad(0)) * angles(Rad(75), Rad(0), Rad(5)), 0.1)
1667
			ll.Weld.C0 = clerp(ll.Weld.C0, CF(-0.5* Player_Size, -0.9 - 0.1 * Cos(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(0), Rad(10), Rad(0)) * angles(Rad(75), Rad(0), Rad(-5)), 0.1)
1668
			RW.C0 = clerp(RW.C0, CF(1.5* Player_Size, 0.5 + 0.1 * Sin(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(70), Rad(0 + 5 * Sin(sine / 20)), Rad(-30 + 5 * Sin(sine / 20))), 0.1)
1669
			LW.C0 = clerp(LW.C0, CF(-1.5* Player_Size, 0.2 - 0.1 * Cos(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(-15), Rad(20), Rad(-15)), 0.1)
1670
		end
1671
	until Sitt == false
1672
	attack = false
1673
	Speed = 16
1674
end
1675
-------------------------------------------------------
1676
--End Attacks N Stuff--
1677
-------------------------------------------------------
1678
mouse.Button1Down:connect(function(key)
1679
	if attack == false then
1680
		Sippy()
1681
	end
1682
end)
1683
mouse.KeyDown:connect(function(key)
1684
	if (VALUE1 == false and attack == false) or Sitt == true then
1685
		if key == "q" then
1686
			if Sitt == false then
1687
				SittyBoi()
1688
			elseif Sitt == true then
1689
				Sitt = false
1690
			end
1691
		end
1692
	end
1693
	if attack == false then
1694
		if key == "t" then
1695
			Taunt()
1696
		end
1697
	end
1698
end)
1699
1700
 
1701
1702
1703
1704
1705
1706
1707
-------------------------------------------------------
1708
--Start Animations--
1709
-------------------------------------------------------
1710
print("By Makhail07")
1711
while true do
1712
	swait()
1713
	sine = sine + change
1714
	local torvel = (root.Velocity * Vector3.new(1, 0, 1)).magnitude
1715
	local velderp = root.Velocity.y
1716
	hitfloor, posfloor = rayCast(root.Position, CFrame.new(root.Position, root.Position - Vector3.new(0, 1, 0)).lookVector, 4* Player_Size, char)
1717
	if equipped == true or equipped == false then
1718
		if attack == false then
1719
			idle = idle + 1
1720
		else
1721
			idle = 0
1722
		end
1723
		local Landed = false
1724
		if(hitfloor)then
1725
			WasAir = false
1726
		else
1727
			WasAir = true
1728
		end
1729
		if(WasAir == false)then
1730
			if(InAir == true)then
1731
				LandTick = time()
1732
				Landed = true
1733
			end
1734
		end
1735
		if(time()-LandTick < .3)then
1736
			Landed = true
1737
		end
1738
		if(hitfloor)then
1739
			InAir = false
1740
		else
1741
			InAir = true
1742
		end
1743
		local Walking = (math.abs(root.Velocity.x) > 1 or math.abs(root.Velocity.z) > 1)
1744
		local State = (hum.PlatformStand and 'Paralyzed' or hum.Sit and 'Sit' or Landed and 'Land' or not hitfloor and root.Velocity.y < -1 and "Fall" or not hitfloor and root.Velocity.y > 1 and "Jump" or hitfloor and Walking and "Walk" or hitfloor and "Idle")
1745
		local WALKSPEEDVALUE = 6 / (hum.WalkSpeed / 16)
1746
		if(State == 'Jump')then
1747
			hum.JumpPower = 55
1748
			if attack == false then
1749
				rootj.C0 = clerp(rootj.C0, RootCF * CF(0* Player_Size, 0* Player_Size, -0.1 + 0.1 * Cos(sine / 20)* Player_Size) * angles(Rad(-16), Rad(0), Rad(0)), 0.1)
1750
				neck.C0 = clerp(neck.C0, necko* CF(0, 0, 0 + ((1* Player_Size) - 1)) * angles(Rad(10 - 2.5 * Sin(sine / 30)), Rad(0), Rad(0)), 0.3)
1751
				rl.Weld.C0 = clerp(rl.Weld.C0, CF(0.5* Player_Size, -.2 - 0.1 * Cos(sine / 20), -.3* Player_Size) * angles(Rad(0), Rad(-10), Rad(0)) * angles(Rad(-2.5), Rad(0), Rad(0)), 0.1)
1752
				ll.Weld.C0 = clerp(ll.Weld.C0, CF(-0.5* Player_Size, -.9 - 0.1 * Cos(sine / 20), -.5* Player_Size) * angles(Rad(0), Rad(10), Rad(0)) * angles(Rad(-2.5), Rad(0), Rad(0)), 0.1)
1753
				RW.C0 = clerp(RW.C0, CF(1.5* Player_Size, 0.5 + 0.02 * Sin(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(25), Rad(-.6), Rad(13 + 4.5 * Sin(sine / 20))), 0.1)
1754
				LW.C0 = clerp(LW.C0, CF(-1.5* Player_Size, 0.5 + 0.02 * Sin(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(25), Rad(-.6), Rad(-13 - 4.5 * Sin(sine / 20))), 0.1)
1755
			end
1756
		elseif(State == 'Fall')then
1757
			if attack == false then
1758
				rootj.C0 = clerp(rootj.C0, RootCF * CF(0* Player_Size, 0* Player_Size, -0.1 + 0.1 * Cos(sine / 20)* Player_Size) * angles(Rad(25), Rad(0), Rad(0)), 0.1)
1759
				neck.C0 = clerp(neck.C0, necko* CF(0, 0, 0 + ((1* Player_Size) - 1)) * angles(Rad(10 - 2.5 * Sin(sine / 30)), Rad(0), Rad(0)), 0.3)
1760
				rl.Weld.C0 = clerp(rl.Weld.C0, CF(0.5* Player_Size, -1 - 0.1 * Cos(sine / 20)* Player_Size, -.3* Player_Size) * angles(Rad(0), Rad(-10), Rad(0)) * angles(Rad(25), Rad(0), Rad(0)), 0.1)
1761
				ll.Weld.C0 = clerp(ll.Weld.C0, CF(-0.5* Player_Size, -.8 - 0.1 * Cos(sine / 20)* Player_Size, -.3* Player_Size) * angles(Rad(0), Rad(10), Rad(0)) * angles(Rad(25), Rad(0), Rad(0)), 0.1)
1762
				RW.C0 = clerp(RW.C0, CF(1.5* Player_Size, 0.5 + 0.02 * Sin(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(165), Rad(-.6), Rad(45 + 4.5 * Sin(sine / 20))), 0.1)
1763
				LW.C0 = clerp(LW.C0, CF(-1.5* Player_Size, 0.5 + 0.02 * Sin(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(165), Rad(-.6), Rad(-45 - 4.5 * Sin(sine / 20))), 0.1)
1764
			end
1765
		elseif(State == 'Land')then
1766
			hum.JumpPower = 0
1767
			if attack == false then
1768
				rootj.C0 = clerp(rootj.C0, RootCF * CF(0* Player_Size, 0* Player_Size, -1 + 0.1 * Cos(sine / 20)* Player_Size) * angles(Rad(10), Rad(0), Rad(0)), 0.15)
1769
				neck.C0 = clerp(neck.C0, necko* CF(0, 0, 0 + ((1* Player_Size) - 1)) * angles(Rad(35 - 2.5 * Sin(sine / 30)), Rad(0), Rad(0)), 0.3)
1770
				rl.Weld.C0 = clerp(rl.Weld.C0, CF(0.5* Player_Size, 0.1 - 0.1 * Cos(sine / 20)* Player_Size, -.3* Player_Size) * angles(Rad(0), Rad(-10), Rad(0)) * angles(Rad(-3.5), Rad(0), Rad(5)), 0.15)
1771
				ll.Weld.C0 = clerp(ll.Weld.C0, CF(-0.5* Player_Size, 0.1 - 0.1 * Cos(sine / 20)* Player_Size, -.3* Player_Size) * angles(Rad(0), Rad(10), Rad(0)) * angles(Rad(-3.5), Rad(0), Rad(-5)), 0.15)
1772
				RW.C0 = clerp(RW.C0, CF(1.5* Player_Size, 0.5 + 0.02 * Sin(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(65), Rad(0), Rad(25 + 4.5 * Sin(sine / 20))), 0.1)
1773
				LW.C0 = clerp(LW.C0, CF(-1.5* Player_Size, 0.5 + 0.02 * Sin(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(55), Rad(0), Rad(-25 - 4.5 * Sin(sine / 20))), 0.1)
1774
			end
1775
		elseif(State == 'Idle')then
1776
			change = 0.90
1777
			if attack == false then
1778
				rootj.C0 = clerp(rootj.C0, RootCF * CF(0* Player_Size, 0* Player_Size, -0.1 + 0.1 * Cos(sine / 24) * Player_Size) * angles(Rad(0 - 4 * Sin(sine / 24)), Rad(0 + 1 * Cos(sine / 24)), Rad(-10)), 0.1)
1779
				neck.C0 = clerp(tors.Neck.C0, necko* CF(0, 0, 0 + ((1* Player_Size) - 1)) * angles(Rad(7 - 2 * Sin(sine / 20)), Rad(0), Rad(10)), 0.1)
1780
				rl.Weld.C0 = clerp(rl.Weld.C0, CF(0.5* Player_Size, -0.9 * Player_Size - 0.1 * Cos(sine / 24) - Rad(0 + 1 * Cos(sine / 24)) * Player_Size, 0* Player_Size) * angles(Rad(0 - 6 * Sin(sine / 24)), Rad(0 + 1 * Cos(sine / 24)), Rad(0)) * angles(Rad(0 + 1 * Cos(sine / 24)), Rad(0), Rad(5)), 0.1)
1781
				ll.Weld.C0 = clerp(ll.Weld.C0, CF(-0.5* Player_Size, -0.9 * Player_Size - 0.1 * Cos(sine / 24) + Rad(0 + 1 * Cos(sine / 24)) * Player_Size, 0* Player_Size) * angles(Rad(0 - 6 * Sin(sine / 24)), Rad(-0 + 1 * Cos(sine / 24)), Rad(0)) * angles(Rad(0 - 1 * Cos(sine / 24)), Rad(0), Rad(-5)), 0.1)
1782
				RW.C0 = clerp(RW.C0, CF(1.5* Player_Size, 0.5 + 0.1 * Sin(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(70), Rad(0 + 5 * Sin(sine / 20)), Rad(-30 + 5 * Sin(sine / 20))), 0.1)
1783
				LW.C0 = clerp(LW.C0, CF(-1.5* Player_Size, 0.5 + 0.1 * Sin(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(0), Rad(0 - 5 * Sin(sine / 20)), Rad(10 - 5 * Sin(sine / 20))), 0.1)
1784
			end
1785
		elseif(State == 'Walk')then
1786
			change = 0.76
1787
			hum.JumpPower = 55
1788
			if attack == false then
1789
				rootj.C0 = clerp(rootj.C0, RootCF * CF(0* Player_Size, 0* Player_Size, -0.3 - 0.15 * Cos(sine / (WALKSPEEDVALUE / 2))) * angles(Rad(10), Rad(0), Rad(0 - 0.75 * Cos(sine / WALKSPEEDVALUE)) + root.RotVelocity.Y / 75), 0.1)
1790
				neck.C0 = clerp(neck.C0, necko* CF(0, 0, 0 + ((1* Player_Size) - 1)) * angles(Rad(0 + 5 * Sin(sine / (WALKSPEEDVALUE / 2))), Rad(0), Rad(0 - 0.75 * Cos(sine / WALKSPEEDVALUE)) + root.RotVelocity.Y / 13), 0.1)
1791
				rl.Weld.C0 = clerp(rl.Weld.C0, CF(0.5* Player_Size, -0.8 - 0.5 * Cos(sine / WALKSPEEDVALUE) / 2* Player_Size, 0.6 * Cos(sine / WALKSPEEDVALUE) / 2* Player_Size)  * angles(Rad(-10 - 25 * Sin(sine / WALKSPEEDVALUE)) - root.RotVelocity.Y / 75 + -Sin(sine / WALKSPEEDVALUE) / 2.5, Rad(0 - 10 * Cos(sine / WALKSPEEDVALUE)), Rad(0)) * angles(Rad(0 + 2 * Cos(sine / WALKSPEEDVALUE)), Rad(0), Rad(0)), 0.3)
1792
         		ll.Weld.C0 = clerp(ll.Weld.C0, CF(-0.5* Player_Size, -0.8 + 0.5 * Cos(sine / WALKSPEEDVALUE) / 2* Player_Size, -0.6 * Cos(sine / WALKSPEEDVALUE) / 2* Player_Size) * angles(Rad(-10 + 25 * Sin(sine / WALKSPEEDVALUE)) + root.RotVelocity.Y / -75 + Sin(sine / WALKSPEEDVALUE) / 2.5, Rad(0 - 10 * Cos(sine / WALKSPEEDVALUE)), Rad(0)) * angles(Rad(0 - 2 * Cos(sine / WALKSPEEDVALUE)), Rad(0), Rad(0)), 0.3)
1793
				RW.C0 = clerp(RW.C0, CF(1.5* Player_Size, 0.5 + 0.1 * Sin(sine / WALKSPEEDVALUE)* Player_Size, 0* Player_Size) * angles(Rad(70), Rad(0 + 5 * Sin(sine / WALKSPEEDVALUE)), Rad(-30 + 5 * Sin(sine / WALKSPEEDVALUE))), 0.1)
1794
				LW.C0 = clerp(LW.C0, CF(-1.5* Player_Size, 0.5 + 0.05 * Sin(sine / WALKSPEEDVALUE)* Player_Size, 0 + 0.5 * Sin(sine / WALKSPEEDVALUE)* Player_Size) * angles(Rad(-45 * Sin(sine / WALKSPEEDVALUE)) + root.RotVelocity.Y / 75, Rad(10 * Cos(sine / WALKSPEEDVALUE)), Rad(-10) + root.RotVelocity.Y / -75), 0.1)
1795
			elseif attack == true and movelegs == true then
1796
				rl.Weld.C0 = clerp(rl.Weld.C0, CF(0.5* Player_Size, -0.8 - 0.5 * Cos(sine / WALKSPEEDVALUE) / 2* Player_Size, 0.6 * Cos(sine / WALKSPEEDVALUE) / 2* Player_Size)  * angles(Rad(-10 - 25 * Sin(sine / WALKSPEEDVALUE)) - root.RotVelocity.Y / 75 + -Sin(sine / WALKSPEEDVALUE) / 2.5, Rad(0 - 10 * Cos(sine / WALKSPEEDVALUE)), Rad(0)) * angles(Rad(0 + 2 * Cos(sine / WALKSPEEDVALUE)), Rad(0), Rad(0)), 0.3)
1797
         		ll.Weld.C0 = clerp(ll.Weld.C0, CF(-0.5* Player_Size, -0.8 + 0.5 * Cos(sine / WALKSPEEDVALUE) / 2* Player_Size, -0.6 * Cos(sine / WALKSPEEDVALUE) / 2* Player_Size) * angles(Rad(-10 + 25 * Sin(sine / WALKSPEEDVALUE)) + root.RotVelocity.Y / -75 + Sin(sine / WALKSPEEDVALUE) / 2.5, Rad(0 - 10 * Cos(sine / WALKSPEEDVALUE)), Rad(0)) * angles(Rad(0 - 2 * Cos(sine / WALKSPEEDVALUE)), Rad(0), Rad(0)), 0.3)
1798
			end
1799
		end
1800
	end
1801
	hum.Name = "HUM"
1802
	hum.WalkSpeed = Speed
1803
	Music.SoundId = "rbxassetid://1305251774"
1804
	Music.Looped = true
1805
	Music.Pitch = 1
1806
	Music.Volume = 1.5
1807
	Music.Parent = tors
1808
	Music.Playing = true
1809
	if 0 < #Effects then
1810
		for e = 1, #Effects do
1811
			if Effects[e] ~= nil then
1812
				local Thing = Effects[e]
1813
				if Thing ~= nil then
1814
					local Part = Thing[1]
1815
					local Mode = Thing[2]
1816
					local Delay = Thing[3]
1817
					local IncX = Thing[4]
1818
					local IncY = Thing[5]
1819
					local IncZ = Thing[6]
1820
					if 1 >= Thing[1].Transparency then
1821
						if Thing[2] == "Block1" then
1822
							Thing[1].CFrame = Thing[1].CFrame * CFrame.fromEulerAnglesXYZ(math.random(-50, 50), math.random(-50, 50), math.random(-50, 50))
1823
							local Mesh = Thing[1].Mesh
1824
							Mesh.Scale = Mesh.Scale + Vector3.new(Thing[4], Thing[5], Thing[6])
1825
							Thing[1].Transparency = Thing[1].Transparency + Thing[3]
1826
						elseif Thing[2] == "Block2" then
1827
							Thing[1].CFrame = Thing[1].CFrame + Vector3.new(0, 0, 0)
1828
							local Mesh = Thing[7]
1829
							Mesh.Scale = Mesh.Scale + Vector3.new(Thing[4], Thing[5], Thing[6])
1830
							Thing[1].Transparency = Thing[1].Transparency + Thing[3]
1831
						elseif Thing[2] == "Block3" then
1832
							Thing[1].CFrame = Thing[1].CFrame * CFrame.fromEulerAnglesXYZ(math.random(-50, 50), math.random(-50, 50), math.random(-50, 50)) + Vector3.new(0, 0.15, 0)
1833
							local Mesh = Thing[7]
1834
							Mesh.Scale = Mesh.Scale + Vector3.new(Thing[4], Thing[5], Thing[6])
1835
							Thing[1].Transparency = Thing[1].Transparency + Thing[3]
1836
						elseif Thing[2] == "Cylinder" then
1837
							local Mesh = Thing[1].Mesh
1838
							Mesh.Scale = Mesh.Scale + Vector3.new(Thing[4], Thing[5], Thing[6])
1839
							Thing[1].Transparency = Thing[1].Transparency + Thing[3]
1840
						elseif Thing[2] == "Blood" then
1841
							local Mesh = Thing[7]
1842
							Thing[1].CFrame = Thing[1].CFrame * Vector3.new(0, 0.5, 0)
1843
							Mesh.Scale = Mesh.Scale + Vector3.new(Thing[4], Thing[5], Thing[6])
1844
							Thing[1].Transparency = Thing[1].Transparency + Thing[3]
1845
						elseif Thing[2] == "Elec" then
1846
							local Mesh = Thing[1].Mesh
1847
							Mesh.Scale = Mesh.Scale + Vector3.new(Thing[7], Thing[8], Thing[9])
1848
							Thing[1].Transparency = Thing[1].Transparency + Thing[3]
1849
						elseif Thing[2] == "Disappear" then
1850
							Thing[1].Transparency = Thing[1].Transparency + Thing[3]
1851
						elseif Thing[2] == "Shatter" then
1852
							Thing[1].Transparency = Thing[1].Transparency + Thing[3]
1853
							Thing[4] = Thing[4] * CFrame.new(0, Thing[7], 0)
1854
							Thing[1].CFrame = Thing[4] * CFrame.fromEulerAnglesXYZ(Thing[6], 0, 0)
1855
							Thing[6] = Thing[6] + Thing[5]
1856
						end
1857
					else
1858
						Part.Parent = nil
1859
						table.remove(Effects, e)
1860
					end
1861
				end
1862
			end
1863
		end
1864
	end
1865
end
1866
-------------------------------------------------------
1867
--End Animations And Script--
1868
-------------------------------------------------------