View difference between Paste ID: B2W8vyeN and Ub82jKge
SHOW: | | - or go back to the newest paste.
1
--just put this on the top of a script and boom 89% works
2
--note this does not work on big scripts
3
if game:GetService("RunService"):IsClient() then error("Script must be server-side in order to work; use h/ and not hl/") end
4
local Player,game,owner = owner,game
5-
	print("FE Compatibility code by Mokiros")
5+
6
do
7
	local rp = RealPlayer
8
	script.Parent = rp.Character
9
	
10
	--RemoteEvent for communicating
11
	local Event = Instance.new("RemoteEvent")
12
	Event.Name = "UserInput_Event"
13
14
	--Fake event to make stuff like Mouse.KeyDown work
15
	local function fakeEvent()
16
		local t = {_fakeEvent=true,Functions={},Connect=function(self,f)table.insert(self.Functions,f) end}
17
		t.connect = t.Connect
18
		return t
19
	end
20
21
	--Creating fake input objects with fake variables
22
    local m = {Target=nil,Hit=CFrame.new(),KeyUp=fakeEvent(),KeyDown=fakeEvent(),Button1Up=fakeEvent(),Button1Down=fakeEvent()}
23
	local UIS = {InputBegan=fakeEvent(),InputEnded=fakeEvent()}
24
	local CAS = {Actions={},BindAction=function(self,name,fun,touch,...)
25
		CAS.Actions[name] = fun and {Name=name,Function=fun,Keys={...}} or nil
26
	end}
27
	--Merged 2 functions into one by checking amount of arguments
28
	CAS.UnbindAction = CAS.BindAction
29
30
	--This function will trigger the events that have been :Connect()'ed
31
	local function te(self,ev,...)
32
		local t = m[ev]
33
		if t and t._fakeEvent then
34
			for _,f in pairs(t.Functions) do
35
				f(...)
36
			end
37
		end
38
	end
39
	m.TrigEvent = te
40
	UIS.TrigEvent = te
41
42
	Event.OnServerEvent:Connect(function(plr,io)
43
	    if plr~=rp then return end
44
		m.Target = io.Target
45
		m.Hit = io.Hit
46
		if not io.isMouse then
47
			local b = io.UserInputState == Enum.UserInputState.Begin
48
			if io.UserInputType == Enum.UserInputType.MouseButton1 then
49
				return m:TrigEvent(b and "Button1Down" or "Button1Up")
50
			end
51
			for _,t in pairs(CAS.Actions) do
52
				for _,k in pairs(t.Keys) do
53
					if k==io.KeyCode then
54
						t.Function(t.Name,io.UserInputState,io)
55
					end
56
				end
57
			end
58
			m:TrigEvent(b and "KeyDown" or "KeyUp",io.KeyCode.Name:lower())
59
			UIS:TrigEvent(b and "InputBegan" or "InputEnded",io,false)
60
	    end
61
	end)
62
	Event.Parent = NLS([==[
63
	local Player = game:GetService("Players").LocalPlayer
64
	local Event = script:WaitForChild("UserInput_Event")
65
66
	local Mouse = Player:GetMouse()
67
	local UIS = game:GetService("UserInputService")
68
	local input = function(io,a)
69
		if a then return end
70
		--Since InputObject is a client-side instance, we create and pass table instead
71
		Event:FireServer({KeyCode=io.KeyCode,UserInputType=io.UserInputType,UserInputState=io.UserInputState,Hit=Mouse.Hit,Target=Mouse.Target})
72
	end
73
	UIS.InputBegan:Connect(input)
74
	UIS.InputEnded:Connect(input)
75
76
	local h,t
77
	--Give the server mouse data 30 times every second, but only if the values changed
78
	--If player is not moving their mouse, client won't fire events
79
	while wait(1/30) do
80
		if h~=Mouse.Hit or t~=Mouse.Target then
81
			h,t=Mouse.Hit,Mouse.Target
82
			Event:FireServer({isMouse=true,Target=t,Hit=h})
83
		end
84
	end]==],Player.Character)
85
86
	----Sandboxed game object that allows the usage of client-side methods and services
87
	--Real game object
88
	local _rg = game
89
90
	--Metatable for fake service
91
	local fsmt = {
92
		__index = function(self,k)
93
			local s = rawget(self,"_RealService")
94
			if s then return s[k] end
95
		end,
96
		__newindex = function(self,k,v)
97
			local s = rawget(self,"_RealService")
98
			if s then s[k]=v end
99
		end,
100
		__call = function(self,...)
101
			local s = rawget(self,"_RealService")
102
			if s then return s(...) end
103
		end
104
	}
105
	local function FakeService(t,RealService)
106
		t._RealService = typeof(RealService)=="string" and _rg:GetService(RealService) or RealService
107
		return setmetatable(t,fsmt)
108
	end
109
110
	--Fake game object
111
	local g = {
112
		GetService = function(self,s)
113
			return self[s]
114
		end,
115
		Players = FakeService({
116
			LocalPlayer = FakeService({GetMouse=function(self)return m end},Player)
117
		},"Players"),
118
		UserInputService = FakeService(UIS,"UserInputService"),
119
		ContextActionService = FakeService(CAS,"ContextActionService"),
120
	}
121
	rawset(g.Players,"localPlayer",g.Players.LocalPlayer)
122
	g.service = g.GetService
123
	
124
	g.RunService = FakeService({
125
		RenderStepped = _rg:GetService("RunService").Heartbeat,
126
		BindToRenderStep = function(self,name,_,fun)
127
			self._btrs[name] = self.Heartbeat:Connect(fun)
128
		end,
129
		UnbindFromRenderStep = function(self,name)
130
			self._btrs[name]:Disconnect()
131
		end,
132
	},"RunService")
133
134
	setmetatable(g,{
135
		__index=function(self,s)
136
			return _rg:GetService(s) or typeof(_rg[s])=="function"
137
			and function(_,...)return _rg[s](_rg,...)end or _rg[s]
138
		end,
139
		__newindex = fsmt.__newindex,
140
		__call = fsmt.__call
141
	})
142
	--Changing owner to fake player object to support owner:GetMouse()
143
	game,owner = g,g.Players.LocalPlayer
144
end
145-
-----------------------
145+
---
146-
--[[ Name : RUIN VI]]--
146+
local p = game.Players.LocalPlayer
147-
-------------------------------------------------------
147+
local char = p.Character
148-
--A script By makhail07, 2003boobear and XXUNORIBOASXX.
148+
local mouse = p:GetMouse()
149
local larm = char["Left Arm"]
150-
--Discord Creterisk#2958 <- makhail07's discord
150+
local rarm = char["Right Arm"]
151
local lleg = char["Left Leg"]
152-
--NOTE THIS SCRIPT WAS PURELY MADE FROM MY FUCKING IMAGINATION
152+
local rleg = char["Right Leg"]
153-
--IF IT HAPPENS TO LOOK LIKE ANOTHER SCRIPT
153+
154-
--DONT CALL IT A FUCKING BOOTLEG THANK YOU AND ENJOY THE SCRIPT
154+
local torso = char.Torso
155-
--YOU FUCKING SKIDS,
155+
local ASD = BrickColor.new("Pastel brown")
156-
--For Those who log/decompile this, If you sell or trade this,
156+
157-
--and I find out who you are, i will take massive action.
157+
local cam = game.Workspace.CurrentCamera
158-
--:b:
158+
159-
-------------------------------------------------------
159+
local deb = false
160
local shot = 0
161-
local FavIDs = {
161+
local l = game:GetService("Lighting")
162-
	340106355, --Nefl Crystals
162+
local rs = game:GetService("RunService").RenderStepped
163-
	927529620, --Dimension
163+
local stanceToggle = "Normal"
164-
	876981900, --Fantasy
164+
math.randomseed(os.time())
165-
	398987889, --Ordinary Days
165+
hum.WalkSpeed = 7
166-
	1117396305, --Oh wait, it's you.
166+
char.Health:Destroy()
167-
	885996042, --Action Winter Journey
167+
hum.MaxHealth = 5000000
168-
	919231299, --Sprawling Idiot Effigy
168+
wait(0.1)
169-
	743466274, --Good Day Sunshine
169+
hum.Health = 5000000
170-
	727411183, --Knife Fight
170+
z = Instance.new("Sound", char.Torso)
171-
	1402748531, --The Earth Is Counting On You!
171+
z.SoundId = "rbxassetid://719841541"
172-
	595230126 --Robot Language
172+
z.Looped = true
173
z.Pitch = 1
174
z.Volume = 1
175-
vt = Vector3.new
175+
----------------------------------------------------
176
local SM = Instance.new("Smoke",torso)
177
SM.Size = 15
178-
--The reality of my life isn't real but a Universe -Creterisk
178+
local S = Instance.new("Part",char)
179-
--All people can be nice, Even if you don't think so. -2003boobear
179+
S.Size = Vector3.new(1,1,1)
180-
--The past can be horrible, but the future will be better, so forget the past and move-onward. -XXUNORIBOASXX
180+
S.Material = "Neon"
181
S.BrickColor = BrickColor.new("Really black")
182-
local plr = owner
182+
S.Transparency = 0
183
S.Anchored = true
184
S.CFrame = torso.CFrame*CFrame.new(0,0,0)
185
local Ring = Instance.new("Part",S)
186
Ring.Size = Vector3.new(1,1,1)
187-
local rootj = root.RootJoint
187+
Ring.BrickColor = BrickColor.new("Really black")
188-
local tors = char.Torso
188+
Ring.Anchored = true
189-
local ra = char["Right Arm"]
189+
Ring.CanCollide = false
190-
local la = char["Left Arm"]
190+
Ring.CFrame = S.CFrame*CFrame.new(0,0,0)*CFrame.Angles(1.55,0,0)
191-
local rl = char["Right Leg"]
191+
local Ring2 = Instance.new("SpecialMesh",Ring)
192-
local ll = char["Left Leg"]
192+
Ring2.MeshId = "rbxassetid://3270017"
193-
local neck = tors["Neck"]
193+
Ring2.Scale = Vector3.new(0.1,0.1,0.1)
194-
local mouse = plr:GetMouse()
194+
local S2 = Instance.new("SpecialMesh",S)
195-
local RootCF = CFrame.fromEulerAnglesXYZ(-1.57, 0, 3.14)
195+
S2.MeshType = "Sphere"
196-
local RHCF = CFrame.fromEulerAnglesXYZ(0, 1.6, 0)
196+
S2.Scale = Vector3.new(1,1,1)
197-
local LHCF = CFrame.fromEulerAnglesXYZ(0, -1.6, 0)
197+
v = Instance.new("Sound")
198-
local maincolor = BrickColor.new("White")
198+
v.SoundId = "rbxassetid://821439273"
199-
local maincolor2 = Color3.new(255, 255, 255)
199+
v.Parent = char.Torso
200-
exploitable = true
200+
v.Looped = false
201-
-------------------------------------------------------
201+
v.Pitch = 1
202-
--Start Whitelist and Invincibility--
202+
v.Volume = 1
203-
-------------------------------------------------------	
203+
wait(.01)
204-
ff = Instance.new("ForceField",char)
204+
v:Play()
205-
ff.Visible = false
205+
local partasdeff = Instance.new("ParticleEmitter",S)
206-
hum.Name = "Base"
206+
partasdeff.Color = ColorSequence.new(Color3.new(0,0,0), Color3.new(204,130,2))
207-
hum.MaxHealth = 1.0E298
207+
partasdeff.LightEmission = .1
208-
hum.Health = 1.0E298
208+
partasdeff.Size = NumberSequence.new(0.2)
209-
game:GetService("RunService"):BindToRenderStep("Bbae", 0, function()
209+
partasdeff.Texture = "http://www.roblox.com/asset/?ID=300899516"
210-
  if hum.Health > 0.1 and hum.Health < 1.0E298 then
210+
aaa = NumberSequence.new({NumberSequenceKeypoint.new(0, 0.2),NumberSequenceKeypoint.new(1, 5)})
211-
    hum.MaxHealth = 1.0E298
211+
bbb = NumberSequence.new({NumberSequenceKeypoint.new(0, 1),NumberSequenceKeypoint.new(0.0636, 0), NumberSequenceKeypoint.new(1, 1)})
212-
    hum.Health = 1.0E298
212+
partasdeff.Transparency = bbb
213-
  end
213+
partasdeff.Size = aaa
214
partasdeff.ZOffset = .9
215-
-------------------------------------------------------
215+
partasdeff.Acceleration = Vector3.new(0, -5, 0)
216-
--End Whitelist and Invincibility--
216+
partasdeff.LockedToPart = false
217-
-------------------------------------------------------	
217+
partasdeff.EmissionDirection = "Top"
218
partasdeff.Lifetime = NumberRange.new(1, 2)
219-
warn("Credit to makhail07, 2003boobear and XXUNORIBOASXX and to saba1520 for making this changes")
219+
partasdeff.Rate = 1000
220
partasdeff.Rotation = NumberRange.new(-100, 100)
221-
-------------------------------------------------------
221+
partasdeff.RotSpeed = NumberRange.new(-100, 100)
222-
--Start Good Stuff--
222+
partasdeff.Speed = NumberRange.new(10)
223-
-------------------------------------------------------
223+
partasdeff.VelocitySpread = 300
224-
cam = game.Workspace.CurrentCamera
224+
partasdeff.Enabled = true
225-
CF = CFrame.new
225+
for i = 1,100 do
226-
VT = Vector3.new
226+
	Ring2.Scale = Ring2.Scale + Vector3.new(2,2,2)
227-
angles = CFrame.Angles
227+
	Ring.Transparency = Ring.Transparency + 0.01
228-
attack = false
228+
	S2.Scale = S2.Scale + Vector3.new(0.3,0.3,0.3)
229-
Euler = CFrame.fromEulerAnglesXYZ
229+
	S.Transparency = S.Transparency + 0.01
230-
Rad = math.rad
230+
	game:GetService("RunService").RenderStepped:wait()
231-
IT = Instance.new
231+
232-
BrickC = BrickColor.new
232+
S:remove()
233-
Cos = math.cos
233+
wait(1)
234-
Acos = math.acos
234+
SM:remove()
235-
Sin = math.sin
235+
----------------------------------------------------
236-
Asin = math.asin
236+
Debounces = {
237-
Abs = math.abs
237+
on = false;
238-
Mrandom = math.random
238+
ks = false;
239-
Floor = math.floor
239+
CanAttack = true;
240-
-------------------------------------------------------
240+
CanJoke = true;
241-
--End Good Stuff--
241+
NoIdl = false;
242-
-------------------------------------------------------
242+
Slashing = false;
243-
necko = CF(0, 1, 0, -1, -0, -0, 0, 0, 1, 0, 1, 0)
243+
Slashed = false;
244-
RSH, LSH = nil, nil 
244+
Grabbing = false;
245-
RW = Instance.new("Weld") 
245+
Grabbed = false;
246-
LW = Instance.new("Weld")
246+
247-
RH = tors["Right Hip"]
247+
local Touche = {char.Name, }
248-
LH = tors["Left Hip"]
248+
----------------------------------------------------
249-
RSH = tors["Right Shoulder"] 
249+
function lerp(a, b, t) -- Linear interpolation
250-
LSH = tors["Left Shoulder"] 
250+
    return a + (b - a)*t
251-
RSH.Parent = nil 
251+
252-
LSH.Parent = nil 
252+
253-
RW.Name = "RW"
253+
function slerp(a, b, t) --Spherical interpolation
254-
RW.Part0 = tors 
254+
    dot = a:Dot(b)
255-
RW.C0 = CF(1.5, 0.5, 0)
255+
    if dot > 0.99999 or dot < -0.99999 then
256-
RW.C1 = CF(0, 0.5, 0) 
256+
        return t <= 0.5 and a or b
257-
RW.Part1 = ra
257+
    else
258-
RW.Parent = tors 
258+
        r = math.acos(dot)
259-
LW.Name = "LW"
259+
        return (a*math.sin((1 - t)*r) + b*math.sin(t*r)) / math.sin(r)
260-
LW.Part0 = tors 
260+
261-
LW.C0 = CF(-1.5, 0.5, 0)
261+
262-
LW.C1 = CF(0, 0.5, 0) 
262+
263-
LW.Part1 = la
263+
function matrixInterpolate(a, b, t)
264-
LW.Parent = tors
264+
    local ax, ay, az, a00, a01, a02, a10, a11, a12, a20, a21, a22 = a:components()
265-
Effects = {}
265+
    local bx, by, bz, b00, b01, b02, b10, b11, b12, b20, b21, b22 = b:components()
266-
-------------------------------------------------------
266+
    local v0 = lerp(Vector3.new(ax, ay, az), Vector3.new(bx , by , bz), t) -- Position
267-
--Start HeartBeat--
267+
    local v1 = slerp(Vector3.new(a00, a01, a02), Vector3.new(b00, b01, b02), t) -- Vector  right
268-
-------------------------------------------------------
268+
    local v2 = slerp(Vector3.new(a10, a11, a12), Vector3.new(b10, b11, b12), t) -- Vector  up
269-
ArtificialHB = Instance.new("BindableEvent", script)
269+
    local v3 = slerp(Vector3.new(a20, a21, a22), Vector3.new(b20, b21, b22), t) -- Vector  back
270-
ArtificialHB.Name = "Heartbeat"
270+
    local t = v1:Dot(v2)
271-
script:WaitForChild("Heartbeat")
271+
    if not (t < 0 or t == 0 or t > 0) then     -- Failsafe
272
        return CFrame.new()
273-
frame = 1 / 60
273+
274-
tf = 0
274+
    return CFrame.new(
275-
allowframeloss = false
275+
    v0.x, v0.y, v0.z,
276-
tossremainder = false
276+
    v1.x, v1.y, v1.z,
277
    v2.x, v2.y, v2.z,
278
    v3.x, v3.y, v3.z)
279-
lastframe = tick()
279+
280-
script.Heartbeat:Fire()
280+
----------------------------------------------------
281
function genWeld(a,b)
282
    local w = Instance.new("Weld",a)
283-
game:GetService("RunService").Heartbeat:connect(function(s, p)
283+
    w.Part0 = a
284-
	tf = tf + s
284+
    w.Part1 = b
285-
	if tf >= frame then
285+
    return w
286-
		if allowframeloss then
286+
287-
			script.Heartbeat:Fire()
287+
function weld(a, b)
288-
			lastframe = tick()
288+
    local weld = Instance.new("Weld")
289-
		else
289+
    weld.Name = "W"
290-
			for i = 1, math.floor(tf / frame) do
290+
    weld.Part0 = a
291-
				script.Heartbeat:Fire()
291+
    weld.Part1 = b
292
    weld.C0 = a.CFrame:inverse() * b.CFrame
293-
			lastframe = tick()
293+
    weld.Parent = a
294
    return weld;
295-
		if tossremainder then
295+
296-
			tf = 0
296+
----------------------------------------------------
297-
		else
297+
function Lerp(c1,c2,al)
298-
			tf = tf - frame * math.floor(tf / frame)
298+
local com1 = {c1.X,c1.Y,c1.Z,c1:toEulerAnglesXYZ()}
299
local com2 = {c2.X,c2.Y,c2.Z,c2:toEulerAnglesXYZ()}
300
for i,v in pairs(com1) do 
301
com1[i] = v+(com2[i]-v)*al
302-
-------------------------------------------------------
302+
303-
--End HeartBeat--
303+
return CFrame.new(com1[1],com1[2],com1[3]) * CFrame.Angles(select(4,unpack(com1)))
304-
-------------------------------------------------------
304+
305
----------------------------------------------------
306-
TAUNT = Instance.new("Sound", tors)
306+
newWeld = function(wp0, wp1, wc0x, wc0y, wc0z)
307-
TAUNT.SoundId = "http://www.roblox.com/asset/?id=1535994137"
307+
local wld = Instance.new("Weld", wp1)
308-
TAUNT.Volume = 10
308+
wld.Part0 = wp0
309-
TAUNT.Pitch = 1
309+
wld.Part1 = wp1
310-
TAUNT.Looped = false
310+
wld.C0 = CFrame.new(wc0x, wc0y, wc0z)
311-
TAUNT.TimePosition = 0.12
311+
312
----------------------------------------------------
313-
BTAUNT = Instance.new("Sound", tors)
313+
314-
BTAUNT.SoundId = "http://www.roblox.com/asset/?id=1535995263"
314+
    if v:IsA("Hat") then
315-
BTAUNT.Volume = 10
315+
        v:Destroy()
316-
BTAUNT.Pitch = 1
316+
317-
BTAUNT.Looped = false
317+
318-
BTAUNT.TimePosition = 0.2
318+
for i,v in pairs(hed:children()) do
319
    if v:IsA("Sound") then
320-
ITAUNT = Instance.new("Sound", tors)
320+
        v:Destroy()
321-
ITAUNT.SoundId = "http://www.roblox.com/asset/?id=1535994669"
321+
322-
ITAUNT.Volume = 10
322+
323-
ITAUNT.Pitch = 1
323+
----------------------------------------------------
324-
ITAUNT.Looped = false
324+
function HasntTouched(plrname)
325-
ITAUNT.TimePosition = 0
325+
local ret = true
326
for _, v in pairs(Touche) do
327-
BATAUNT = Instance.new("Sound", tors)
327+
if v == plrname then
328-
BATAUNT.SoundId = "http://www.roblox.com/asset/?id=132514715"
328+
ret = false
329-
BATAUNT.Volume = 10
329+
330-
BATAUNT.Pitch = 1
330+
331-
BATAUNT.Looped = false
331+
return ret
332-
BATAUNT.TimePosition = 0
332+
333
----------------------------------------------------
334-
STAUNT2 = Instance.new("Sound", tors)
334+
larm.Size = larm.Size * 5
335-
STAUNT2.SoundId = "http://www.roblox.com/asset/?id=132392118"
335+
rarm.Size = rarm.Size * 5
336-
STAUNT2.Volume = 10
336+
lleg.Size = lleg.Size * 5
337-
STAUNT2.Pitch = 0.8
337+
rleg.Size = rleg.Size * 5
338-
STAUNT2.Looped = false
338+
torso.Size = torso.Size * 5
339-
STAUNT2.TimePosition = 0.05
339+
hed.Size = hed.Size * 5
340
root.Size = root.Size * 5
341-
STAUNT = Instance.new("Sound", tors)
341+
----------------------------------------------------
342-
STAUNT.SoundId = "http://www.roblox.com/asset/?id=1535994940"
342+
newWeld(torso, larm, -1.5, 0.5, 0)
343-
STAUNT.Volume = 10
343+
larm.Weld.C1 = CFrame.new(0, 0.5, 0)
344-
STAUNT.Pitch = 1
344+
newWeld(torso, rarm, 1.5, 0.5, 0)
345-
STAUNT.Looped = false
345+
rarm.Weld.C1 = CFrame.new(0, 0.5, 0)
346-
STAUNT.TimePosition = 0.05
346+
newWeld(torso, hed, 0, 1.5, 0)
347
newWeld(torso, lleg, -0.5, -1, 0)
348-
DTAUNT = Instance.new("Sound", tors)
348+
lleg.Weld.C1 = CFrame.new(0, 1, 0)
349-
DTAUNT.SoundId = "http://www.roblox.com/asset/?id=907333294"
349+
newWeld(torso, rleg, 0.5, -1, 0)
350-
DTAUNT.Volume = 10
350+
rleg.Weld.C1 = CFrame.new(0, 1, 0)
351-
DTAUNT.Pitch = 1
351+
newWeld(root, torso, 0, -1, 0)
352-
DTAUNT.Looped = false
352+
torso.Weld.C1 = CFrame.new(0, -1, 0)
353-
DTAUNT.TimePosition = 0
353+
----------------------------------------------------Light stone grey ---- 8560915  ---shirt 46810244 -- 55631376
354
355-
LAZOR = Instance.new("Sound", ra)
355+
--------------------------------
356-
LAZOR.SoundId = "http://www.roblox.com/asset/?id=201858045"
356+
k = Instance.new("Sound",Character)
357-
LAZOR.Volume = 10
357+
k.Volume = 0.6
358-
LAZOR.Pitch = 0.7
358+
k.PlaybackSpeed = 1
359-
LAZOR.Looped = false
359+
k.Pitch = 1
360-
LAZOR.TimePosition = 0
360+
k.SoundId = "rbxassetid://381671754"
361
k:Play()
362-
-------------------------------------------------------
362+
k.Name = "TalkSound"
363-
--Start Important Functions--
363+
k.Playing = false
364-
-------------------------------------------------------
364+
365-
function swait(num)
365+
function chatfunc(text)
366-
	if num == 0 or num == nil then
366+
local chat = coroutine.wrap(function()
367-
		game:service("RunService").Stepped:wait(0)
367+
if Character:FindFirstChild("TalkingBillBoard")~= nil then
368-
	else
368+
Character:FindFirstChild("TalkingBillBoard"):destroy()
369-
		for i = 0, num do
369+
370-
			game:service("RunService").Stepped:wait(0)
370+
local naeeym2 = Instance.new("BillboardGui",Character)
371
naeeym2.Size = UDim2.new(0,100,0,40)
372
naeeym2.StudsOffset = Vector3.new(0,8,0)
373
naeeym2.Adornee = Character.Head
374-
function thread(f)
374+
naeeym2.Name = "TalkingBillBoard"
375-
	coroutine.resume(coroutine.create(f))
375+
naeeym2.AlwaysOnTop = true
376
local tecks2 = Instance.new("TextLabel",naeeym2)
377-
function clerp(a, b, t)
377+
tecks2.BackgroundTransparency = 1
378-
	local qa = {
378+
tecks2.BorderSizePixel = 0
379-
		QuaternionFromCFrame(a)
379+
tecks2.Text = ""
380
tecks2.Font = "Fantasy"
381-
	local qb = {
381+
tecks2.TextSize = 30
382-
		QuaternionFromCFrame(b)
382+
tecks2.TextStrokeTransparency = 0
383
tecks2.TextColor3 = Color3.new(0,0,0)
384-
	local ax, ay, az = a.x, a.y, a.z
384+
tecks2.TextStrokeColor3 = Color3.new(0,0,0)
385-
	local bx, by, bz = b.x, b.y, b.z
385+
tecks2.Size = UDim2.new(1,0,0.5,0)
386-
	local _t = 1 - t
386+
local tecks3 = Instance.new("TextLabel",naeeym2)
387-
	return QuaternionToCFrame(_t * ax + t * bx, _t * ay + t * by, _t * az + t * bz, QuaternionSlerp(qa, qb, t))
387+
tecks3.BackgroundTransparency = 1
388
tecks3.BorderSizePixel = 0
389-
function ShockWave(Part, cframe1, cframe2, Damage, Size)
389+
tecks3.Text = ""
390-
	coroutine.resume(coroutine.create(function() 
390+
tecks3.Font = "Fantasy"
391-
		local wave = CreatePart(workspace, "Neon", 0, 0, Neoncolor, "Effect", Vector3.new(1, 1, 5))
391+
tecks3.TextSize = 30
392-
		wave.Anchored = true 
392+
tecks3.TextStrokeTransparency = 0
393-
		wave.CFrame = Part.CFrame * cframe1
393+
tecks3.TextColor3 = Color3.new(0,0,0)
394-
		local Msh = Create("SpecialMesh"){
394+
tecks3.TextStrokeColor3 = Color3.new(0,0,0)
395-
			Parent = wave,
395+
tecks3.Size = UDim2.new(1,0,0.5,0)
396-
			MeshType = "Sphere"
396+
for i = 1,string.len(text),1 do
397-
		}
397+
k:Play()
398-
		Cso("http://roblox.com/asset/?id=300916105", wave, 1, 1.3)
398+
tecks2.Text = string.sub(text,1,i)
399-
		for i = 0, 1, 0.2 do
399+
tecks3.Text = string.sub(text,1,i)
400-
			wait()
400+
wait(0.01)
401-
			local dir = wave.CFrame.lookVector * -1
401+
402-
			local pos = rayCast(wave.Position, dir, 5, Character)
402+
wait(2)
403-
			wave.CFrame = wave.CFrame * cframe2
403+
for i = 1, 50 do
404-
                        table.insert(Effects, {
404+
405-
                                wave,
405+
tecks2.Position = tecks2.Position - UDim2.new(math.random(-.4,.4),math.random(-5,5),.05,math.random(-5,5))
406-
                                "Sphere",
406+
tecks2.Rotation = tecks2.Rotation - .8
407-
                                0.01,
407+
tecks2.TextStrokeTransparency = tecks2.TextStrokeTransparency +.04
408-
                                .03,
408+
tecks2.TextTransparency = tecks2.TextTransparency + .04
409-
                                .03,
409+
tecks3.Position = tecks2.Position - UDim2.new(math.random(-.4,.4),math.random(-5,5),.05,math.random(-5,5))
410-
                                .03,
410+
tecks3.Rotation = tecks2.Rotation + .8
411-
                        })
411+
tecks3.TextStrokeTransparency = tecks2.TextStrokeTransparency +.04
412
tecks3.TextTransparency = tecks2.TextTransparency + .04
413-
	end))
413+
414
naeeym2:Destroy()
415
end)
416-
function PixelBlock(bonuspeed,FastSpeed,type,pos,x1,y1,z1,value,color,outerpos) --Thanks, Star Glitcher!
416+
chat()
417-
local type = type
417+
418-
local rng = Instance.new("Part", char)
418+
function onChatted(msg)
419-
        rng.Anchored = true
419+
chatfunc(msg)
420-
        rng.BrickColor = color
420+
421-
        rng.CanCollide = false
421+
Player.Chatted:connect(onChatted)
422-
        rng.FormFactor = 3
422+
---------------------------------------------------------------------------
423-
        rng.Name = "Ring"
423+
local plr = game:service'Players'.LocalPlayer
424-
        rng.Material = "Neon"
424+
425-
        rng.Size = Vector3.new(1, 1, 1)
425+
426-
        rng.Transparency = 0
426+
427-
        rng.TopSurface = 0
427+
Character = char
428-
        rng.BottomSurface = 0
428+
429-
        rng.CFrame = pos
429+
430-
rng.CFrame = rng.CFrame + rng.CFrame.lookVector*outerpos
430+
431-
        local rngm = Instance.new("SpecialMesh", rng)
431+
432-
        rngm.MeshType = "Brick"
432+
433-
rngm.Scale = VT(x1,y1,z1)
433+
434-
if rainbowmode == true then
434+
435-
rng.Color = Color3.new(r/255,g/255,b/255)
435+
BC.HeadColor = BrickColor.new("-Light stone grey")
436
BC.LeftArmColor = BrickColor.new("-Light stone grey")
437-
local scaler2 = 1
437+
BC.LeftLegColor = BrickColor.new("-Light stone grey")
438-
local speeder = FastSpeed/10
438+
BC.RightArmColor = BrickColor.new("-Light stone grey")
439-
if type == "Add" then
439+
BC.RightLegColor = BrickColor.new("-Light stone grey")
440-
scaler2 = 1*value
440+
BC.TorsoColor = BrickColor.new("-Light stone grey")
441-
elseif type == "Divide" then
441+
442-
scaler2 = 1/value
442+
for i,v in pairs(Character:children()) do
443
    if v:IsA("Shirt") then
444-
coroutine.resume(coroutine.create(function()
444+
        v:Destroy()
445-
for i = 0,10/bonuspeed,0.1 do
445+
446-
swait()
446+
447-
if type == "Add" then
447+
for i,v in pairs(Character:children()) do
448-
scaler2 = scaler2 - 0.01*value/bonuspeed
448+
    if v:IsA("Pants") then
449-
elseif type == "Divide" then
449+
        v:Destroy()
450-
scaler2 = scaler2 - 0.01/value*bonuspeed
450+
451
end
452-
speeder = speeder - 0.01*FastSpeed*bonuspeed/10
452+
for i,v in pairs(Character:children()) do
453-
rng.CFrame = rng.CFrame + rng.CFrame.lookVector*speeder*bonuspeed
453+
    if v:IsA("Accessory") then
454-
rng.Transparency = rng.Transparency + 0.01*bonuspeed
454+
        v:Destroy()
455
    end
456-
rng:Destroy()
456+
457-
end))
457+
 shirt = Instance.new("Shirt", Character)--Cloths--
458
        shirt.Name = "Shirt"
459-
New = function(Object, Parent, Name, Data)
459+
        pants = Instance.new("Pants", Character)
460-
	local Object = Instance.new(Object)
460+
        pants.Name = "Pants"
461-
	for Index, Value in pairs(Data or {}) do
461+
        Character.Shirt.ShirtTemplate = "http://www.roblox.com/asset/?id=46810244"
462-
		Object[Index] = Value
462+
        Character.Pants.PantsTemplate = "http://www.roblox.com/asset/?id=55631376"
463
        
464-
	Object.Parent = Parent
464+
        hed.face.Texture = "http://www.roblox.com/asset/?id=8560915 "
465-
	Object.Name = Name
465+
466-
	return Object
466+
----------------------------------------------------
467
function weld5(part0, part1, c0, c1)
468-
function slash(bonuspeed,rotspeed,rotatingop,typeofshape,type,typeoftrans,pos,scale,value,color)
468+
    weeld=Instance.new("Weld", part0)
469-
local type = type
469+
    weeld.Part0=part0
470-
local rotenable = rotatingop
470+
    weeld.Part1=part1
471-
local rng = Instance.new("Part", char)
471+
    weeld.C0=c0
472-
        rng.Anchored = true
472+
    weeld.C1=c1
473-
        rng.BrickColor = color
473+
    return weeld
474-
        rng.CanCollide = false
474+
475-
        rng.FormFactor = 3
475+
----------------------------------------------------
476-
        rng.Name = "Ring"
476+
function newRay(start,face,range,wat)
477-
        rng.Material = "Neon"
477+
	local rey=Ray.new(start.p,(face.p-start.p).Unit*range)
478-
        rng.Size = Vector3.new(1, 1, 1)
478+
	hit,pos=Workspace:FindPartOnRayWithIgnoreList(rey,wat)
479-
        rng.Transparency = 0
479+
	return rey,hit,pos
480-
if typeoftrans == "In" then
480+
481-
rng.Transparency = 1
481+
----------------------------------------------------
482
mod5 = Instance.new("Model",char)
483-
        rng.TopSurface = 0
483+
484-
        rng.BottomSurface = 0
484+
function FindNearestTorso(Position,Distance,SinglePlayer)
485-
        rng.CFrame = pos
485+
    if SinglePlayer then return(SinglePlayer.Torso.CFrame.p -Position).magnitude < Distance end
486-
        local rngm = Instance.new("SpecialMesh", rng)
486+
        local List = {}
487-
        rngm.MeshType = "FileMesh"
487+
        for i,v in pairs(workspace:GetChildren())do
488-
if typeofshape == "Normal" then
488+
            if v:IsA("Model")then
489-
rngm.MeshId = "rbxassetid://662586858"
489+
                if v:findFirstChild("Torso")then
490-
elseif typeofshape == "Round" then
490+
                    if v ~= char then
491-
rngm.MeshId = "rbxassetid://662585058"
491+
                        if(v.Torso.Position -Position).magnitude <= Distance then
492
                            table.insert(List,v)
493-
rngm.Scale = scale
493+
                        end 
494-
local scaler2 = 1/10
494+
                    end 
495-
if type == "Add" then
495+
                end 
496-
scaler2 = 1*value/10
496+
            end 
497-
elseif type == "Divide" then
497+
498-
scaler2 = 1/value/10
498+
    return List
499
end
500-
local randomrot = math.random(1,2)
500+
501-
coroutine.resume(coroutine.create(function()
501+
function Landing()
502-
for i = 0,10/bonuspeed,0.1 do
502+
    part=Instance.new('Part',mod5)
503-
swait()
503+
    part.Anchored=true
504-
if type == "Add" then
504+
    part.CanCollide=false
505-
scaler2 = scaler2 - 0.01*value/bonuspeed/10
505+
    part.FormFactor='Custom'
506-
elseif type == "Divide" then
506+
    part.Size=Vector3.new(.2,.2,.2)
507-
scaler2 = scaler2 - 0.01/value*bonuspeed/10
507+
    part.CFrame=root.CFrame*CFrame.new(0,-2,0)
508
    part.Transparency=.7
509-
if rotenable == true then
509+
    part.BrickColor=BrickColor.new('Really black')
510-
if randomrot == 1 then
510+
    mesh=Instance.new('SpecialMesh',part)
511-
rng.CFrame = rng.CFrame*CFrame.Angles(0,math.rad(rotspeed*bonuspeed/2),0)
511+
    mesh.MeshId='http://www.roblox.com/asset/?id=20329976'
512-
elseif randomrot == 2 then
512+
    mesh.Scale=Vector3.new(10,5,10)
513-
rng.CFrame = rng.CFrame*CFrame.Angles(0,math.rad(-rotspeed*bonuspeed/2),0)
513+
514
    for i,v in pairs(FindNearestTorso(torso.CFrame.p,40))do
515
        if v:FindFirstChild('Humanoid') then
516-
if typeoftrans == "Out" then
516+
            v.Humanoid:TakeDamage(math.random(20,30))
517-
rng.Transparency = rng.Transparency + 0.01*bonuspeed
517+
            v.Humanoid.PlatformStand = true
518-
elseif typeoftrans == "In" then
518+
            v:FindFirstChild("Torso").Velocity = hed.CFrame.lookVector * 100
519-
rng.Transparency = rng.Transparency - 0.01*bonuspeed
519+
520
    end
521-
rngm.Scale = rngm.Scale + Vector3.new(scaler2*bonuspeed/10, 0, scaler2*bonuspeed/10)
521+
522
    coroutine.resume(coroutine.create(function() 
523-
rng:Destroy()
523+
        for i=0,3.8,0.05 do
524-
end))
524+
525
            part.CFrame=part.CFrame
526-
function QuaternionFromCFrame(cf)
526+
            part.Transparency=i
527-
	local mx, my, mz, m00, m01, m02, m10, m11, m12, m20, m21, m22 = cf:components()
527+
            mesh.Scale=mesh.Scale+Vector3.new(1,0.2,1)
528-
	local trace = m00 + m11 + m22
528+
529-
	if trace > 0 then
529+
        part.Parent = nil
530-
		local s = math.sqrt(1 + trace)
530+
531-
		local recip = 0.5 / s
531+
532-
		return (m21 - m12) * recip, (m02 - m20) * recip, (m10 - m01) * recip, s * 0.5
532+
----------------------------------------------------
533-
	else
533+
mod4 = Instance.new("Model",char)
534-
		local i = 0
534+
535-
		if m00 < m11 then
535+
ptez = {0.7, 0.8, 0.9, 1}
536-
			i = 1
536+
537
function FindNearestTorso(Position,Distance,SinglePlayer)
538-
		if m22 > (i == 0 and m00 or m11) then
538+
    if SinglePlayer then return(SinglePlayer.Torso.CFrame.p -Position).magnitude < Distance end
539-
			i = 2
539+
        local List = {}
540
        for i,v in pairs(workspace:GetChildren())do
541-
		if i == 0 then
541+
            if v:IsA("Model")then
542-
			local s = math.sqrt(m00 - m11 - m22 + 1)
542+
                if v:findFirstChild("Torso")then
543-
			local recip = 0.5 / s
543+
                    if v ~= char then
544-
			return 0.5 * s, (m10 + m01) * recip, (m20 + m02) * recip, (m21 - m12) * recip
544+
                        if(v.Torso.Position -Position).magnitude <= Distance then
545-
		elseif i == 1 then
545+
                            table.insert(List,v)
546-
			local s = math.sqrt(m11 - m22 - m00 + 1)
546+
                        end 
547-
			local recip = 0.5 / s
547+
                    end 
548-
			return (m01 + m10) * recip, 0.5 * s, (m21 + m12) * recip, (m02 - m20) * recip
548+
                end 
549-
		elseif i == 2 then
549+
            end 
550-
			local s = math.sqrt(m22 - m00 - m11 + 1)
550+
551-
			local recip = 0.5 / s
551+
    return List
552-
			return (m02 + m20) * recip, (m12 + m21) * recip, 0.5 * s, (m10 - m01) * recip
552+
553
554
----------------------------------------------------
555
556-
function QuaternionToCFrame(px, py, pz, x, y, z, w)
556+
local acos = math.acos
557-
	local xs, ys, zs = x + x, y + y, z + z
557+
local sqrt = math.sqrt
558-
	local wx, wy, wz = w * xs, w * ys, w * zs
558+
local Vec3 = Vector3.new
559-
	local xx = x * xs
559+
local fromAxisAngle = CFrame.fromAxisAngle
560-
	local xy = x * ys
560+
561-
	local xz = x * zs
561+
local function toAxisAngle(CFr)
562-
	local yy = y * ys
562+
        local X,Y,Z,R00,R01,R02,R10,R11,R12,R20,R21,R22 = CFr:components()
563-
	local yz = y * zs
563+
        local Angle = math.acos((R00+R11+R22-1)/2)
564-
	local zz = z * zs
564+
        local A = (R21-R12)^2+(R02-R20)^2+(R10-R01)^2
565-
	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))
565+
        A = A == 0 and 0.00001 or A
566
        local B = (R21-R12)^2+(R02-R20)^2+(R10-R01)^2
567-
function QuaternionSlerp(a, b, t)
567+
        B = B == 0 and 0.00001 or B
568-
	local cosTheta = a[1] * b[1] + a[2] * b[2] + a[3] * b[3] + a[4] * b[4]
568+
        local C = (R21-R12)^2+(R02-R20)^2+(R10-R01)^2
569-
	local startInterp, finishInterp
569+
        C = C == 0 and 0.00001 or C
570-
	if cosTheta >= 1.0E-4 then
570+
        local x = (R21-R12)/sqrt(A)
571-
		if 1 - cosTheta > 1.0E-4 then
571+
        local y = (R02-R20)/sqrt(B)
572-
			local theta = math.acos(cosTheta)
572+
        local z = (R10-R01)/sqrt(C)
573-
			local invSinTheta = 1 / Sin(theta)
573+
        return Vec3(x,y,z),Angle
574-
			startInterp = Sin((1 - t) * theta) * invSinTheta
574+
575-
			finishInterp = Sin(t * theta) * invSinTheta
575+
576-
		else
576+
function ApplyTrig(Num,Func)
577-
			startInterp = 1 - t
577+
        local Min,Max = Func(0),Func(1)
578-
			finishInterp = t
578+
        local i = Func(Num)
579
        return (i-Min)/(Max-Min)
580-
	elseif 1 + cosTheta > 1.0E-4 then
580+
        --[[if Func == "sin" then
581-
		local theta = math.acos(-cosTheta)
581+
                return (math.sin((1-Num)*math.pi)+1)/2
582-
		local invSinTheta = 1 / Sin(theta)
582+
        elseif Func == "cos" then
583-
		startInterp = Sin((t - 1) * theta) * invSinTheta
583+
                return (math.cos((1-Num)*math.pi)+1)/2
584-
		finishInterp = Sin(t * theta) * invSinTheta
584+
        end]]
585-
	else
585+
586-
		startInterp = t - 1
586+
587-
		finishInterp = t
587+
function LerpCFrame(CFrame1,CFrame2,Num)
588
        local Vec,Ang = toAxisAngle(CFrame1:inverse()*CFrame2)
589-
	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
589+
        return CFrame1*fromAxisAngle(Vec,Ang*Num) + (CFrame2.p-CFrame1.p)*Num
590
end
591-
function rayCast(Position, Direction, Range, Ignore)
591+
592-
	return game:service("Workspace"):FindPartOnRay(Ray.new(Position, Direction.unit * (Range or 999.999)), Ignore)
592+
	if key == "e" then
593
		if Debounces.CanAttack == true then
594-
local RbxUtility = LoadLibrary("RbxUtility")
594+
        Debounces.CanAttack = false
595-
local Create = RbxUtility.Create
595+
        Debounces.on = true
596
        Debounces.NoIdl = true
597-
-------------------------------------------------------
597+
		for i = 1,20 do
598-
--Start Damage Function--
598+
        rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(7.6,1,-3) * CFrame.Angles(1.3,0,0),.3)
599-
-------------------------------------------------------
599+
        larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-7.6,1,0) * CFrame.Angles(-0.5,0,0),.3)
600-
function Damage(Part, hit, minim, maxim, knockback, Type, Property, Delay, HitSound, HitPitch)
600+
        hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,7.5,0) * CFrame.Angles(0,0,0),.3)
601-
    if hit.Parent == nil then
601+
        torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -8, 0) * CFrame.Angles(-0.5,0,0),.3)
602-
        return
602+
        lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-2.5, -3.3,-3.5) *CFrame.Angles(0.5,0,0),.3)
603
        rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(2.5, -7.6,0.5) * CFrame.Angles(-1.1,0,0),.3)
604-
    local h = hit.Parent:FindFirstChildOfClass("Humanoid")
604+
        if Debounces.on == false then break end
605-
    for _, v in pairs(hit.Parent:children()) do
605+
    wait()
606-
        if v:IsA("Humanoid") then
606+
607-
            h = v
607+
		local HitBox = Instance.new("Part",char)
608
HitBox.Size = Vector3.new(5,5,5)
609
HitBox.CanCollide = false
610-
         if h ~= nil and hit.Parent.Name ~= char.Name and hit.Parent:FindFirstChild("UpperTorso") ~= nil then
610+
HitBox.Transparency = math.huge
611-
   
611+
local HitBox2 = Instance.new("Weld",HitBox)
612-
         hit.Parent:FindFirstChild("Head"):BreakJoints()
612+
HitBox2.Part0 = rarm
613-
         end
613+
HitBox2.Part1 = HitBox
614
HitBox2.C0 = CFrame.new(0,-4.5,0)
615-
    if h ~= nil and hit.Parent.Name ~= char.Name and hit.Parent:FindFirstChild("Torso") ~= nil then
615+
HitBox.Touched:connect(function(hit)
616-
        if hit.Parent:findFirstChild("DebounceHit") ~= nil then
616+
	if hit.Parent:FindFirstChild("Humanoid") and hit.Parent ~= nil then
617-
            if hit.Parent.DebounceHit.Value == true then
617+
		if not DD then DD = true
618-
                return
618+
		hit.Parent.Humanoid.PlatformStand = true
619
		local We = Instance.new("Weld",hit.Parent.Torso)
620
		We.Part0 = rarm
621-
         if insta == true then
621+
		We.Part1 = hit.Parent.Torso
622-
         hit.Parent:FindFirstChild("Head"):BreakJoints()
622+
		We.C0 = CFrame.new(0,-5,0)*CFrame.Angles(-1.55,0,0)
623-
         end
623+
		wait(1)
624-
        local c = Create("ObjectValue"){
624+
		for i = 1,20 do
625-
            Name = "creator",
625+
        rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(7.6,4,0) * CFrame.Angles(3.1,0,1),.3)
626-
            Value = owner,
626+
        larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-7.6,4,0) * CFrame.Angles(-3.1,0,-1),.3)
627-
            Parent = h,
627+
        hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,7.5,0) * CFrame.Angles(1,0,0),.3)
628-
        }
628+
        torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -8, 0) * CFrame.Angles(-0.5,0,0),.3)
629-
        game:GetService("Debris"):AddItem(c, .5)
629+
        lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-2.5, -3.3,-3.5) *CFrame.Angles(0.5,0,0),.3)
630-
        if HitSound ~= nil and HitPitch ~= nil then
630+
        rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(2.5, -7.6,0.5) * CFrame.Angles(-1.1,0,0),.3)
631-
            CFuncs.Sound.Create(HitSound, hit, 1, HitPitch)
631+
        if Debounces.on == false then break end
632
    	wait()
633-
        local Damage = math.random(minim, maxim)
633+
634-
        local blocked = false
634+
		hit.Parent.Humanoid:TakeDamage(20)
635-
        local block = hit.Parent:findFirstChild("Block")
635+
		for i = 1,20 do
636-
        if block ~= nil then
636+
        rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(6,4,-1) * CFrame.Angles(1.55,0,-1),.3)
637-
            if block.className == "IntValue" then
637+
        larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-6,4,-1) * CFrame.Angles(1.55,0,1),.3)
638-
                if block.Value > 0 then
638+
        hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,7.5,0) * CFrame.Angles(-0.4,0,0),.3)
639-
                    blocked = true
639+
        torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -8, 0) * CFrame.Angles(-0.5,0,0),.3)
640-
                    block.Value = block.Value - 1
640+
        lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-2.5, -3.3,-3.5) *CFrame.Angles(0.5,0,0),.3)
641-
                    print(block.Value)
641+
        rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(2.5, -7.6,0.5) * CFrame.Angles(-1.1,0,0),.3)
642-
                end
642+
        if Debounces.on == false then break end
643
    	wait()
644
		end
645-
        if blocked == false then
645+
		for i = 1,20 do
646-
            h.Health = h.Health - Damage
646+
        rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(5,4,-1) * CFrame.Angles(1.55,0,-1.3),.3)
647-
            ShowDamage((Part.CFrame * CFrame.new(0, 0, (Part.Size.Z / 2)).p + Vector3.new(0, 1.5, 0)), -Damage, 1.5, tors.BrickColor.Color)
647+
        larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-5,4,-1) * CFrame.Angles(1.55,0,1.3),.3)
648-
        else
648+
        hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,7.5,0) * CFrame.Angles(-0.4,0,0),.3)
649-
            h.Health = h.Health - (Damage / 2)
649+
        torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -8, 0) * CFrame.Angles(-0.5,0,0),.3)
650-
            ShowDamage((Part.CFrame * CFrame.new(0, 0, (Part.Size.Z / 2)).p + Vector3.new(0, 1.5, 0)), -Damage, 1.5, tors.BrickColor.Color)
650+
        lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-2.5, -3.3,-3.5) *CFrame.Angles(0.5,0,0),.3)
651
        rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(2.5, -7.6,0.5) * CFrame.Angles(-1.1,0,0),.3)
652-
        if Type == "Knockdown" then
652+
        if Debounces.on == false then break end
653-
            local hum = hit.Parent.Humanoid
653+
    	wait()
654-
            hum.PlatformStand = true
654+
655-
            coroutine.resume(coroutine.create(function(HHumanoid)
655+
		local partasdeff = Instance.new("ParticleEmitter",hit.Parent.Torso)
656-
                swait(1)
656+
			partasdeff.Color = ColorSequence.new(Color3.new(1, 0, 0), Color3.new(1, 0, 0))
657-
                HHumanoid.PlatformStand = false
657+
			partasdeff.LightEmission = .1
658-
            end), hum)
658+
			partasdeff.Size = NumberSequence.new(0.2)
659-
            local angle = (hit.Position - (Property.Position + Vector3.new(0, 0, 0))).unit
659+
			partasdeff.Texture = "http://www.roblox.com/asset/?ID=380529823"
660-
            local bodvol = Create("BodyVelocity"){
660+
			aaa = NumberSequence.new({NumberSequenceKeypoint.new(0, 0.2),NumberSequenceKeypoint.new(1, 5)})
661-
                velocity = angle * knockback,
661+
			bbb = NumberSequence.new({NumberSequenceKeypoint.new(0, 1),NumberSequenceKeypoint.new(0.0636, 0), NumberSequenceKeypoint.new(1, 1)})
662-
                P = 5000,
662+
			partasdeff.Transparency = bbb
663-
                maxForce = Vector3.new(8e+003, 8e+003, 8e+003),
663+
			partasdeff.Size = aaa
664-
                Parent = hit,
664+
			partasdeff.ZOffset = .9
665-
            }
665+
			partasdeff.Acceleration = Vector3.new(0, -5, 0)
666-
            local rl = Create("BodyAngularVelocity"){
666+
			partasdeff.LockedToPart = false
667-
                P = 3000,
667+
			partasdeff.EmissionDirection = "Top"
668-
                maxTorque = Vector3.new(500000, 500000, 500000) * 50000000000000,
668+
			partasdeff.Lifetime = NumberRange.new(1, 2)
669-
                angularvelocity = Vector3.new(math.random(-10, 10), math.random(-10, 10), math.random(-10, 10)),
669+
			partasdeff.Rate = 1000
670-
                Parent = hit,
670+
			partasdeff.Rotation = NumberRange.new(-100, 100)
671-
            }
671+
			partasdeff.RotSpeed = NumberRange.new(-100, 100)
672-
            game:GetService("Debris"):AddItem(bodvol, .5)
672+
			partasdeff.Speed = NumberRange.new(10)
673-
            game:GetService("Debris"):AddItem(rl, .5)
673+
			partasdeff.VelocitySpread = 300
674-
        elseif Type == "Random Guy" then
674+
			partasdeff.Enabled = true
675-
            local vp = Create("BodyVelocity"){
675+
			wait(1.5)
676-
                P = 500,
676+
		hit.Parent:BreakJoints()
677-
                maxForce = Vector3.new(math.huge, 0, math.huge),
677+
		We:remove()
678-
                velocity = Property.CFrame.lookVector * knockback + Property.Velocity / 1.05,
678+
		partasdeff.Enabled = false
679-
            }
679+
		if Debounces.CanAttack == false then
680-
            if knockback > 0 then
680+
        Debounces.CanAttack = true
681-
                vp.Parent = hit.Parent.Torso
681+
        Debounces.on = false
682
        Debounces.NoIdl = false
683-
            game:GetService("Debris"):AddItem(vp, .5)
683+
684-
        elseif Type == "Up" then
684+
		wait(1313)
685-
            local bodyVelocity = Create("BodyVelocity"){
685+
		DD = false
686-
                velocity = Vector3.new(0, 20, 0),
686+
687-
                P = 5000,
687+
688-
                maxForce = Vector3.new(8e+003, 8e+003, 8e+003),
688+
689-
                Parent = hit,
689+
---ANIMATION REPLAY
690-
            }
690+
691-
            game:GetService("Debris"):AddItem(bodyVelocity, .5)
691+
692-
        elseif Type == "DarkUp" then
692+
693-
            coroutine.resume(coroutine.create(function()
693+
694-
                for i = 0, 1, 0.1 do
694+
    if key == "r" then
695-
                    swait()
695+
        if Debounces.CanAttack == true then
696-
                    Effects.Block.Create(BrickColor.new("Black"), hit.Parent.Torso.CFrame, 5, 5, 5, 1, 1, 1, .08, 1)
696+
        Debounces.CanAttack = false
697-
                end
697+
        Debounces.on = true
698-
            end))
698+
        Debounces.NoIdl = true
699-
            local bodyVelocity = Create("BodyVelocity"){
699+
for i = 1,20 do
700-
                velocity = Vector3.new(0, 20, 0),
700+
        rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(7.6,1,0) * CFrame.Angles(0.5,0,0),.3)
701-
                P = 5000,
701+
        larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-7.6,1,0) * CFrame.Angles(-0.5,0,0),.3)
702-
                maxForce = Vector3.new(8e+003, 8e+003, 8e+003),
702+
        hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,7.5,0) * CFrame.Angles(0,0,0),.3)
703-
                Parent = hit,
703+
        torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -2.2, 0) * CFrame.Angles(-0.5,0,0),.3)
704-
            }
704+
        lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-2.5, -8.8, -2) *CFrame.Angles(0.5,0,0),.3)
705-
            game:GetService("Debris"):AddItem(bodyVelocity, 1)
705+
        rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(2.5, -7.6, 1.2) * CFrame.Angles(-1.5,0,0),.3)
706-
        elseif Type == "Snare" then
706+
        if Debounces.on == false then break end
707-
            local bp = Create("BodyPosition"){
707+
    wait()
708-
                P = 2000,
708+
709-
                D = 100,
709+
local HitBox = Instance.new("Part",char)
710-
                maxForce = Vector3.new(math.huge, math.huge, math.huge),
710+
HitBox.Size = Vector3.new(5,5,5)
711-
                position = hit.Parent.Torso.Position,
711+
HitBox.CanCollide = false
712-
                Parent = hit.Parent.Torso,
712+
HitBox.Transparency = math.huge
713-
            }
713+
local HitBox2 = Instance.new("Weld",HitBox)
714-
            game:GetService("Debris"):AddItem(bp, 1)
714+
HitBox2.Part0 = rleg
715-
        elseif Type == "Freeze" then
715+
HitBox2.Part1 = HitBox
716-
            local BodPos = Create("BodyPosition"){
716+
HitBox2.C0 = CFrame.new(0,-1.1,0)
717-
                P = 50000,
717+
local SFXZ = Instance.new("Sound",torso)
718-
                D = 1000,
718+
		SFXZ.SoundId = "rbxassetid://169259383"
719-
                maxForce = Vector3.new(math.huge, math.huge, math.huge),
719+
		SFXZ.Volume = math.huge
720-
                position = hit.Parent.Torso.Position,
720+
		SFXZ.Pitch = 0.5
721-
                Parent = hit.Parent.Torso,
721+
		SFXZ.Looped = false
722-
            }
722+
		wait(0.01)
723-
            local BodGy = Create("BodyGyro") {
723+
		SFXZ:Play()
724-
                maxTorque = Vector3.new(4e+005, 4e+005, 4e+005) * math.huge ,
724+
HitBox.Touched:connect(function(hit)
725-
                P = 20e+003,
725+
	if hit.Parent:FindFirstChild("Humanoid") and hit.Parent ~= nil then
726-
                Parent = hit.Parent.Torso,
726+
		local SFXZ = Instance.new("Sound",torso)
727-
                cframe = hit.Parent.Torso.CFrame,
727+
			SFXZ.SoundId = "rbxassetid://743886825"
728-
            }
728+
			SFXZ.Volume = 1
729-
            hit.Parent.Torso.Anchored = true
729+
			SFXZ.Pitch = 0.5
730-
            coroutine.resume(coroutine.create(function(Part)
730+
			SFXZ.Looped = false
731-
                swait(1.5)
731+
			SFXZ:Play()
732-
                Part.Anchored = false
732+
		HitBox:remove()
733-
            end), hit.Parent.Torso)
733+
		hit.Parent.Humanoid:TakeDamage(44)
734-
            game:GetService("Debris"):AddItem(BodPos, 3)
734+
		hit.Parent.Humanoid.PlatformStand = true
735-
            game:GetService("Debris"):AddItem(BodGy, 3)
735+
		local Fl = Instance.new("BodyVelocity",hit.Parent.Torso)
736
			Fl.maxForce = Vector3.new(math.huge,math.huge,math.huge)
737-
        local debounce = Create("BoolValue"){
737+
			Fl.velocity = rleg.CFrame.lookVector*350
738-
            Name = "DebounceHit",
738+
			wait(0.1)
739-
            Parent = hit.Parent,
739+
			Fl:remove()
740-
            Value = true,
740+
741-
        }
741+
742-
        game:GetService("Debris"):AddItem(debounce, Delay)
742+
for i = 1,20 do
743-
        c = Create("ObjectValue"){
743+
        rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(7.6,1,0) * CFrame.Angles(-0.5,0,0),.3)
744-
            Name = "creator",
744+
        larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-7.6,1,0) * CFrame.Angles(0.5,0,0),.3)
745-
            Value = Player,
745+
        hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,7.5,0) * CFrame.Angles(0,0,0),.3)
746-
            Parent = h,
746+
        torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -2.2, 0) * CFrame.Angles(0.5,0,0),.3)
747-
        }
747+
        lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-2.5, -8.8, 2) *CFrame.Angles(-0.5,0,0),.3)
748-
        game:GetService("Debris"):AddItem(c, .5)
748+
        rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(2.5, -7.6, -1.2) * CFrame.Angles(1.5,0,0),.3)
749
        if Debounces.on == false then break end
750
    wait()
751-
-------------------------------------------------------
751+
752-
--End Damage Function--
752+
if Debounces.CanAttack == false then
753-
-------------------------------------------------------
753+
        Debounces.CanAttack = true
754
        Debounces.on = false
755-
-------------------------------------------------------
755+
        Debounces.NoIdl = false
756-
--Start Damage Function Customization--
756+
HitBox:remove()
757-
-------------------------------------------------------
757+
758-
function ShowDamage(Pos, Text, Time, Color)
758+
759-
	local Rate = (1 / 30)
759+
760-
	local Pos = (Pos or Vector3.new(0, 0, 0))
760+
761-
	local Text = (Text or "")
761+
----------------------------------------------------
762-
	local Time = (Time or 2)
762+
763-
	local Color = (Color or Color3.new(1, 0, 1))
763+
    if string.byte(key) == 48 then
764-
	local EffectPart = CFuncs.Part.Create(workspace, "SmoothPlastic", 0, 1, BrickColor.new(Color), "Effect", Vector3.new(0, 0, 0))
764+
        char.Humanoid.WalkSpeed = 34
765-
	EffectPart.Anchored = true
765+
766-
	local BillboardGui = Create("BillboardGui"){
766+
767-
		Size = UDim2.new(3, 0, 3, 0),
767+
768-
		Adornee = EffectPart,
768+
    if string.byte(key) == 48 then
769-
		Parent = EffectPart,
769+
        char.Humanoid.WalkSpeed = 5
770
    end
771-
	local TextLabel = Create("TextLabel"){
771+
772-
		BackgroundTransparency = 1,
772+
----------------------------------------------------
773-
		Size = UDim2.new(1, 0, 1, 0),
773+
local animpose = "Idle"
774-
		Text = Text,
774+
local lastanimpose = "Idle"
775-
		Font = "Bodoni",
775+
776-
		TextColor3 = Color,
776+
777-
		TextScaled = true,
777+
778-
		TextStrokeColor3 = Color3.fromRGB(0,0,0),
778+
local ffing = false
779-
		Parent = BillboardGui,
779+
----------------------------------------------------
780
local x = Instance.new("Sound", char.Torso)
781-
	game.Debris:AddItem(EffectPart, (Time))
781+
x.SoundId = "http://www.roblox.com/asset/?id=273962540"
782-
	EffectPart.Parent = game:GetService("Workspace")
782+
x.Looped = true
783-
	delay(0, function()
783+
x.Volume = 1
784-
		local Frames = (Time / Rate)
784+
x.Pitch = 1
785-
		for Frame = 1, Frames do
785+
local footsteps = false
786-
			wait(Rate)
786+
-------------------------------
787-
			local Percent = (Frame / Frames)
787+
game:GetService("RunService").RenderStepped:connect(function()
788-
			EffectPart.CFrame = CFrame.new(Pos) + Vector3.new(0, Percent, 0)
788+
rarm.BrickColor = ASD
789-
			TextLabel.TextTransparency = Percent
789+
larm.BrickColor = ASD
790
rleg.BrickColor = ASD
791-
		if EffectPart and EffectPart.Parent then
791+
lleg.BrickColor = ASD
792-
			EffectPart:Destroy()
792+
hed.BrickColor = ASD
793
torso.BrickColor = ASD
794
--[[if char.Humanoid.Jump == true then
795
jump = true
796-
-------------------------------------------------------
796+
else
797-
--End Damage Function Customization--
797+
jump = false
798-
-------------------------------------------------------
798+
end]]
799
char.Humanoid.FreeFalling:connect(function(f)
800-
function MagniDamage(Part, magni, mindam, maxdam, knock, Type)
800+
if f then
801-
  for _, c in pairs(workspace:children()) do
801+
ffing = true
802-
    local hum = c:findFirstChild("Humanoid")
802+
else
803-
    if hum ~= nil then
803+
ffing = false
804-
      local head = c:findFirstChild("Head")
804+
805-
      if head ~= nil then
805+
806-
        local targ = head.Position - Part.Position
806+
sine = sine + change
807-
        local mag = targ.magnitude
807+
if jumpn == true then
808-
        if magni >= mag and c.Name ~= Player.Name then
808+
animpose = "Jumping"
809-
          Damage(head, head, mindam, maxdam, knock, Type, root, 0.1, "http://www.roblox.com/asset/?id=0", 1.2)
809+
elseif ffing == true then
810
animpose = "Freefalling"
811-
      end
811+
elseif (torso.Velocity*Vector3.new(1, 0, 1)).magnitude < 2 then
812
animpose = "Idle"
813-
  end
813+
elseif (torso.Velocity*Vector3.new(1, 0, 1)).magnitude < 20 then
814
animpose = "Walking"
815
elseif (torso.Velocity*Vector3.new(1, 0, 1)).magnitude > 20 then
816
animpose = "Running"
817-
CFuncs = {
817+
818-
	Part = {
818+
if animpose ~= lastanimpose then
819-
		Create = function(Parent, Material, Reflectance, Transparency, BColor, Name, Size)
819+
sine = 0
820-
			local Part = Create("Part")({
820+
if Debounces.NoIdl == false then
821-
				Parent = Parent,
821+
if animpose == "Idle" then
822-
				Reflectance = Reflectance,
822+
for i = 1, 2 do
823-
				Transparency = Transparency,
823+
rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(8,.9,0)*CFrame.Angles(math.rad(90),math.rad(0),math.rad(20)), 0.2)
824-
				CanCollide = false,
824+
larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-8,.9,0)*CFrame.Angles(math.rad(0),math.rad(0),math.rad(-20)), 0.2)
825-
				Locked = true,
825+
hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,7.5,-.2)*CFrame.Angles(math.rad(-14),math.rad(0),0), 0.2)
826-
				BrickColor = BrickColor.new(tostring(BColor)),
826+
torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -2.2, 0) * CFrame.Angles(0, math.rad(0), 0), 0.2)
827-
				Name = Name,
827+
lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-3, -8.8, 0) * CFrame.Angles(0, 0, math.rad(-10)), 0.2)
828-
				Size = Size,
828+
rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(3, -8.8, 0) * CFrame.Angles(0, 0, math.rad(10)), 0.2)
829-
				Material = Material
829+
830-
			})
830+
elseif animpose == "Walking" then
831-
			RemoveOutlines(Part)
831+
for i = 1, 2 do
832-
			return Part
832+
rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(7.3, .9, 0) * CFrame.Angles(math.rad(90), math.rad(0), math.rad(20)), 0.2)
833
larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-7.3, .9, 0)*CFrame.Angles(0, math.rad(1), math.rad(-10)), 0.2)
834-
	},
834+
hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,7.5,0)*CFrame.Angles(math.rad(-8), math.rad(0), math.rad(0)),0.2)
835-
	Mesh = {
835+
torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -2.2, 0) * CFrame.Angles(math.rad(-4), 0, math.rad(0)), 0.2)
836-
		Create = function(Mesh, Part, MeshType, MeshId, OffSet, Scale)
836+
lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-2.5, -8.8, -.05) * CFrame.Angles(math.rad(-18), 0, 0), .4)
837-
			local Msh = Create(Mesh)({
837+
rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(2.5, -8.8, -.05) * CFrame.Angles(math.rad(-18), 0, 0), .4)
838-
				Parent = Part,
838+
839-
				Offset = OffSet,
839+
elseif animpose == "Running" then
840-
				Scale = Scale
840+
for i = 1, 2 do
841-
			})
841+
rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(7.8, 0.9, .5) * CFrame.Angles(math.rad(-10), math.rad(-40), math.rad(50)), 0.2)
842-
			if Mesh == "SpecialMesh" then
842+
larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-7.8, 1.2, 0-1*math.cos(sine/4)/2)*CFrame.Angles(math.rad(50-80*math.cos(sine/8)/2), math.rad(0), math.rad(0-70*math.cos(sine/8)/2)), 0.2)
843-
				Msh.MeshType = MeshType
843+
hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,7.5,0)*CFrame.Angles(math.rad(6+8*math.cos(sine/4)/1.8), math.rad(0), math.rad(0)),0.2)
844-
				Msh.MeshId = MeshId
844+
torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -2.2+0.2*math.cos(sine/4)/2, 0) * CFrame.Angles(math.rad(-14+4*math.cos(sine/4)/2), 0, math.rad(0)), 0.2)
845
lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-2.5, -8.8-0.44*math.cos(sine/8)/2.4, -.15 + math.sin(sine/8)/1.5) * CFrame.Angles(math.rad(-20) + -math.sin(sine/8)/1.7, 0, 0), .4)
846-
			return Msh
846+
rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(2.5, -8.8+0.44*math.cos(sine/8)/2.4, -.15 + -math.sin(sine/8)/1.5) * CFrame.Angles(math.rad(-20) + math.sin(sine/8)/1.7, 0, 0), .4)
847
end
848-
	},
848+
849-
	Mesh = {
849+
850-
		Create = function(Mesh, Part, MeshType, MeshId, OffSet, Scale)
850+
else
851-
			local Msh = Create(Mesh)({
851+
852-
				Parent = Part,
852+
853-
				Offset = OffSet,
853+
lastanimpose = animpose
854-
				Scale = Scale
854+
if Debounces.NoIdl == false then
855-
			})
855+
if animpose == "Idle" then
856-
			if Mesh == "SpecialMesh" then
856+
if stanceToggle == "Normal" then
857-
				Msh.MeshType = MeshType
857+
change = 0.5
858-
				Msh.MeshId = MeshId
858+
rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(8,1,0)*CFrame.Angles(0,0,0-.1*math.sin(tick()*1))*CFrame.Angles(0,0,0.3),.2)
859
larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-8,1,0)*CFrame.Angles(0,0,0+.1*math.sin(tick()*1))*CFrame.Angles(0,0,-0.3),.2)
860-
			return Msh
860+
hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,7.5,-.2)*CFrame.Angles(math.rad(-14+1*math.cos(sine/14)),math.rad(40),0), 0.2)
861
torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -2.2, 0) * CFrame.Angles(0, math.rad(-40), 0), 0.2)
862-
	},
862+
lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-3, -8.8, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(-10)), 0.2)
863-
	Weld = {
863+
rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(3, -8.8, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(10)), 0.2)
864-
		Create = function(Parent, Part0, Part1, C0, C1)
864+
elseif stanceToggle == "Sitting" then
865-
			local Weld = Create("Weld")({
865+
rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(3, .9, 0) * CFrame.Angles(math.rad(100-1*math.cos(sine/14)), math.rad(0), math.rad(20)), 0.2)
866-
				Parent = Parent,
866+
larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-2, .9, -1)*CFrame.Angles(math.rad(78+1*math.cos(sine/14)), math.rad(0), math.rad(50)), 0.2)
867-
				Part0 = Part0,
867+
hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0, 3, -.3) * CFrame.Angles(math.rad(-14+1*math.cos(sine/14)), math.rad(0), math.rad(0)),0.2)
868-
				Part1 = Part1,
868+
torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -3, 0) * CFrame.Angles(math.rad(-10+1*math.cos(sine/14)), 0, math.rad(0)), 0.2)
869-
				C0 = C0,
869+
lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-1, -1, -2) * CFrame.Angles(math.rad(-10-1*math.cos(sine/14)), 0, 0), 0.2)
870-
				C1 = C1
870+
rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(1, -3, .6) * CFrame.Angles(math.rad(-50-1*math.cos(sine/14)), 0, 0), 0.2)
871-
			})
871+
872-
			return Weld
872+
elseif animpose == "Walking" then
873
if stanceToggle == "Normal" then
874-
	},
874+
change = 1
875-
	Sound = {
875+
rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(7.3,0.8,0)*CFrame.Angles(0-.5*math.sin(tick()*2/0.7),0,0),.3)
876-
		Create = function(id, par, vol, pit)
876+
larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-7.3,0.8,0)*CFrame.Angles(0+.5*math.sin(tick()*2/0.7),0,0),.3)
877-
			coroutine.resume(coroutine.create(function()
877+
hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,7.5,0)*CFrame.Angles(-0.2,0,0),.3)
878-
				local S = Create("Sound")({
878+
torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0,-2.2,0)*CFrame.new(0,0-.1*math.sin(tick()*2),0)*CFrame.Angles(0,0,0),.3)
879-
					Volume = vol,
879+
lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-2.5, -8.8-0.3*math.cos(sine/16)/4, -.05 + math.sin(sine/16)/2) * CFrame.Angles(math.rad(-18) + -math.sin(sine/16)/2.3, 0, 0), .4)
880-
					Pitch = pit or 1,
880+
rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(2.5, -8.8+0.3*math.cos(sine/16)/4, -.05 + -math.sin(sine/16)/2) * CFrame.Angles(math.rad(-18) + math.sin(sine/16)/2.3, 0, 0), .4)
881-
					SoundId = id,
881+
882-
					Parent = par or workspace
882+
elseif animpose == "Running" then
883-
				})
883+
change = 1
884-
				wait()
884+
rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(7.8,0.5,0)*CFrame.Angles(0-.5*math.sin(tick()*7),0,0),.3)
885-
				S:play()
885+
larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-7.8,0.5,0)*CFrame.Angles(0+.5*math.sin(tick()*7),0,0),.3)
886-
				game:GetService("Debris"):AddItem(S, 6)
886+
hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,7.5,0)*CFrame.Angles(math.rad(6+6*math.cos(sine/4)/1.8), math.rad(0), math.rad(0)),0.2)
887-
			end))
887+
torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -2.2+0.2*math.cos(sine/4)/2, 0) * CFrame.Angles(math.rad(-14+10*math.cos(sine/4)/2), 0, math.rad(0)), 0.2)
888
lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-2.5, -8.8-0.44*math.cos(sine/8)/2.4, -.15 + math.sin(sine/8)/1.5) * CFrame.Angles(math.rad(-20) + -math.sin(sine/8)/1.7, 0, 0), .4)
889-
	},
889+
rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(2.5, -8.8+0.44*math.cos(sine/8 )/2.4, -.15 + -math.sin(sine/8)/1.5) * CFrame.Angles(math.rad(-20) + math.sin(sine/8)/1.7, 0, 0), .4)
890-
	ParticleEmitter = {
890+
891-
		Create = function(Parent, Color1, Color2, LightEmission, Size, Texture, Transparency, ZOffset, Accel, Drag, LockedToPart, VelocityInheritance, EmissionDirection, Enabled, LifeTime, Rate, Rotation, RotSpeed, Speed, VelocitySpread)
891+
892-
			local fp = Create("ParticleEmitter")({
892+
if animpose == "Walking" then
893-
				Parent = Parent,
893+
    if footsteps == false then
894-
				Color = ColorSequence.new(Color1, Color2),
894+
        x:Play()
895-
				LightEmission = LightEmission,
895+
        footsteps = true
896-
				Size = Size,
896+
897-
				Texture = Texture,
897+
    x.Pitch = 1.1
898-
				Transparency = Transparency,
898+
elseif animpose == "Idle" then
899-
				ZOffset = ZOffset,
899+
    x:Stop()
900-
				Acceleration = Accel,
900+
    footsteps = false
901-
				Drag = Drag,
901+
elseif animpose == "Running" then
902-
				LockedToPart = LockedToPart,
902+
    x.Pitch = 1.2
903-
				VelocityInheritance = VelocityInheritance,
903+
    if footsteps == false then
904-
				EmissionDirection = EmissionDirection,
904+
        x:Play()
905-
				Enabled = Enabled,
905+
        footsteps = true
906-
				Lifetime = LifeTime,
906+
907-
				Rate = Rate,
907+
908-
				Rotation = Rotation,
908+
end)