View difference between Paste ID: NxpWa6m1 and kdn0Lgjj
SHOW: | | - or go back to the newest paste.
1-
--[[
1+
-- This script has been converted to FE by iPxter
2-
Watch
2+
3-
Zomg a watch.
3+
4-
--]]
4+
if game:GetService("RunService"):IsClient() then error("Script must be server-side in order to work; use h/ and not hl/") end
5
local Player,Mouse,mouse,UserInputService,ContextActionService = owner
6
do
7-
if script == nil then return end
7+
	print("FE Compatibility code by Mokiros | Translated to FE by iPxter")
8
	script.Parent = Player.Character
9
10-
ModelName = "Watch"
10+
	--RemoteEvent for communicating
11-
Player = Game.Players.LocalPlayer
11+
	local Event = Instance.new("RemoteEvent")
12-
Char = Player.Character
12+
	Event.Name = "UserInput_Event"
13-
animate = Char:findFirstChild("Animate")
13+
14-
if animate then
14+
	--Fake event to make stuff like Mouse.KeyDown work
15-
animate:Destroy()
15+
	local function fakeEvent()
16
		local t = {_fakeEvent=true,Connect=function(self,f)self.Function=f end}
17-
Selected = false
17+
		t.connect = t.Connect
18-
Connected = false
18+
		return t
19-
Button1Down = false
19+
20-
CanUse = true
20+
21-
WatchColor = BrickColor.new("Navy blue")
21+
	--Creating fake input objects with fake variables
22-
FaceColor = BrickColor.new("Navy blue")
22+
    local m = {Target=nil,Hit=CFrame.new(),KeyUp=fakeEvent(),KeyDown=fakeEvent(),Button1Up=fakeEvent(),Button1Down=fakeEvent()}
23-
FaceBackColor = BrickColor.new("Really black")
23+
	local UIS = {InputBegan=fakeEvent(),InputEnded=fakeEvent()}
24-
CenterHandColor = BrickColor.new("Navy blue")
24+
	local CAS = {Actions={},BindAction=function(self,name,fun,touch,...)
25-
NotchColor1 = BrickColor.new("Bright green")
25+
		CAS.Actions[name] = fun and {Name=name,Function=fun,Keys={...}} or nil
26-
NotchColor2 = BrickColor.new("Bright green")
26+
	end}
27-
HourHandColor = BrickColor.new("Navy blue")
27+
	--Merged 2 functions into one by checking amount of arguments
28-
MinuteHandColor = BrickColor.new("Navy blue")
28+
	CAS.UnbindAction = CAS.BindAction
29-
SecondHandColor = BrickColor.new("Really red")
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-
function CheckPlayer()
33+
		if t and t._fakeEvent and t.Function then
34-
	if Player.Character == nil then return false end
34+
			t.Function(...)
35-
	if Player.Character:FindFirstChild("Torso") == nil or Player.Character:FindFirstChild("Right Arm") == nil or Player.Character:FindFirstChild("Humanoid") == nil then return false end
35+
36-
	if Player.Character.Humanoid.Health <= 0 then return false end
36+
37-
	return true
37+
	m.TrigEvent = te
38
	UIS.TrigEvent = te
39
40
	Event.OnServerEvent:Connect(function(plr,io)
41
	    if plr~=Player then return end
42
		if io.isMouse then
43-
function Time()
43+
			m.Target = io.Target
44-
	local Hours = math.floor((tick() / 3600) % 24)
44+
			m.Hit = io.Hit
45-
	local Minutes = math.floor((tick() % 3600) / 60)
45+
		else
46-
	local Seconds = math.floor(tick() % 60)
46+
			local b = io.UserInputState == Enum.UserInputState.Begin
47-
	local Section = ""
47+
			if io.UserInputType == Enum.UserInputType.MouseButton1 then
48-
	if Hours == 24 or Hours < 12 then
48+
				return m:TrigEvent(b and "Button1Down" or "Button1Up")
49-
		Section = "AM"
49+
50
			for _,t in pairs(CAS.Actions) do
51-
		Section = "PM"
51+
				for _,k in pairs(t.Keys) do
52
					if k==io.KeyCode then
53-
	if Hours > 12 then
53+
						t.Function(t.Name,io.UserInputState,io)
54-
		Hours = Hours - 12
54+
					end
55
				end
56-
	if Minutes <= 9 then
56+
57-
		Minutes = "0" ..tostring(Minutes)
57+
			m:TrigEvent(b and "KeyDown" or "KeyUp",io.KeyCode.Name:lower())
58
			UIS:TrigEvent(b and "InputBegan" or "InputEnded",io,false)
59-
	if Seconds <= 9 then
59+
	    end
60-
		Seconds = "0" ..tostring(Seconds)
60+
	end)
61
	Event.Parent = NLS([==[
62-
	return Hours, Minutes, Seconds, Section
62+
	local Player = game:GetService("Players").LocalPlayer
63
	local Event = script:WaitForChild("UserInput_Event")
64
65
	local UIS = game:GetService("UserInputService")
66-
function CreateParts(Parent, Format)
66+
	local input = function(io,a)
67-
	if Parent == nil then return end
67+
		if a then return end
68-
	local Parts = Instance.new("Model")
68+
		--Since InputObject is a client-side instance, we create and pass table instead
69-
	Parts.Name = ModelName
69+
		Event:FireServer({KeyCode=io.KeyCode,UserInputType=io.UserInputType,UserInputState=io.UserInputState})
70-
	if Format == 1 then
70+
71-
		Parts.Name = Parts.Name.. " (Holstered)"
71+
	UIS.InputBegan:Connect(input)
72
	UIS.InputEnded:Connect(input)
73-
	Parts.Parent = Player.Character
73+
74
	local Mouse = Player:GetMouse()
75-
	local MasterPart1 = Instance.new("Part")
75+
	local h,t
76-
	MasterPart1.Material = "SmoothPlastic"
76+
	--Give the server mouse data 30 times every second, but only if the values changed
77-
	MasterPart1.Name = "Handle"
77+
	--If player is not moving their mouse, client won't fire events
78-
	MasterPart1.FormFactor = "Custom"
78+
	while wait(1/30) do
79-
	MasterPart1.Size = Vector3.new(1.1, 0.2, 1.1)
79+
		if h~=Mouse.Hit or t~=Mouse.Target then
80-
	MasterPart1.BrickColor = WatchColor
80+
			h,t=Mouse.Hit,Mouse.Target
81-
	MasterPart1.TopSurface = 0
81+
			Event:FireServer({isMouse=true,Target=t,Hit=h})
82-
	MasterPart1.BottomSurface = 0
82+
83-
	MasterPart1.Parent = Parts
83+
	end]==],Player.Character)
84-
	Instance.new("BlockMesh", MasterPart1)
84+
	Mouse,mouse,UserInputService,ContextActionService = m,m,UIS,CAS
85-
	local Weld = Instance.new("Weld", MasterPart1)
85+
86-
	Weld.Part0 = Weld.Parent
86+
87-
	Weld.Part1 = Player.Character:FindFirstChild("Right Arm")
87+
game:GetService("StarterGui"):SetCore("SendNotification", {
88-
	Weld.C0 = CFrame.new(0, 0.7, 0)
88+
	Title = "Grand - Conjourer";
89
	Text = "Gunjourer edit.. and actually it'll be a switcher script but.(Messed up gift for 2018 christmas)";
90-
	local MasterPart2 = Instance.new("Part")
90+
	Duration = 10;
91-
	MasterPart2.Material = "SmoothPlastic"
91+
	Button1 = "Shackluster(Shucc)/wanTH092";
92-
	MasterPart2.Name = "Watch"
92+
})
93-
	MasterPart2.FormFactor = "Custom"
93+
94-
	MasterPart2.Size = Vector3.new(0.5, 0.21, 0.5)
94+
95-
	MasterPart2.BrickColor = WatchColor
95+
	wait(1.5)
96-
	MasterPart2.TopSurface = 0
96+
	
97-
	MasterPart2.BottomSurface = 0
97+
--//====================================================\\--
98-
	MasterPart2.Parent = Parts
98+
--||            GUNJOURER BY SHACKLUSTER
99-
	Instance.new("CylinderMesh", MasterPart2)
99+
--\\====================================================//--
100-
	local Weld = Instance.new("Weld", MasterPart2)
100+
101-
	Weld.Part0 = Weld.Parent
101+
102-
	Weld.Part1 = MasterPart1
102+
Player = owner
103-
	Weld.C0 = CFrame.fromEulerAnglesXYZ(math.rad(-90), math.rad(90), 0) * CFrame.new(-0.5, 0, 0)
103+
PlayerGui = Player.PlayerGui
104
Cam = workspace.CurrentCamera
105-
	for i = 0, 360, 15 do
105+
Backpack = Player.Backpack
106-
		local Part = Instance.new("Part")
106+
Character = Player.Character
107-
		Part.Material = "SmoothPlastic"
107+
Humanoid = Character.Humanoid
108-
		Part.Name = "Face Rim"
108+
RootPart = Character["HumanoidRootPart"]
109-
		Part.FormFactor = "Custom"
109+
Torso = Character["Torso"]
110-
		Part.Size = Vector3.new(0.2, 0.2, 0.2)
110+
Head = Character["Head"]
111-
		Part.BrickColor = WatchColor
111+
RightArm = Character["Right Arm"]
112-
		Part.TopSurface = 0
112+
LeftArm = Character["Left Arm"]
113-
		Part.BottomSurface = 0
113+
RightLeg = Character["Right Leg"]
114-
		Part.Parent = Parts
114+
LeftLeg = Character["Left Leg"]
115-
		Instance.new("BlockMesh", Part).Scale = Vector3.new(0.065 / 0.2, 0.03 / 0.2, 0.05 / 0.2)
115+
RootJoint = RootPart["RootJoint"]
116-
		local Weld = Instance.new("Weld", Part)
116+
Neck = Torso["Neck"]
117-
		Weld.Part0 = Weld.Parent
117+
RightShoulder = Torso["Right Shoulder"]
118-
		Weld.Part1 = MasterPart2
118+
LeftShoulder = Torso["Left Shoulder"]
119-
		Weld.C0 = CFrame.new(0, 0.12, 0.224) * CFrame.fromEulerAnglesXYZ(0, math.rad(i), 0)
119+
RightHip = Torso["Right Hip"]
120
LeftHip = Torso["Left Hip"]
121
122-
	local Part = Instance.new("Part")
122+
IT = Instance.new
123-
	Part.Material = "SmoothPlastic"
123+
CF = CFrame.new
124-
	Part.Name = "Face"
124+
VT = Vector3.new
125-
	Part.FormFactor = "Custom"
125+
RAD = math.rad
126-
	Part.Size = Vector3.new(0.4, 0.2, 0.4)
126+
C3 = Color3.new
127-
	Part.BrickColor = FaceColor
127+
UD2 = UDim2.new
128-
	Part.Transparency = 0.8
128+
BRICKC = BrickColor.new
129-
	Part.TopSurface = 0
129+
ANGLES = CFrame.Angles
130-
	Part.BottomSurface = 0
130+
EULER = CFrame.fromEulerAnglesXYZ
131-
	Part.Parent = Parts
131+
COS = math.cos
132-
	Instance.new("CylinderMesh", Part).Scale = Vector3.new(1, 0.06 / 0.2, 1)
132+
ACOS = math.acos
133-
	local Weld = Instance.new("Weld", Part)
133+
SIN = math.sin
134-
	Weld.Part0 = Weld.Parent
134+
ASIN = math.asin
135-
	Weld.Part1 = MasterPart2
135+
ABS = math.abs
136-
	Weld.C0 = CFrame.new(0, 0.1, 0)
136+
MRANDOM = math.random
137
FLOOR = math.floor
138-
	local Part = Instance.new("Part")
138+
139-
	Part.Material = "SmoothPlastic"
139+
--//=================================\\
140-
	Part.Name = "Face Back"
140+
--|| 	      USEFUL VALUES
141-
	Part.FormFactor = "Custom"
141+
--\\=================================//
142-
	Part.Size = Vector3.new(0.4, 0.2, 0.4)
142+
143-
	Part.BrickColor = FaceBackColor
143+
Animation_Speed = 3
144-
	Part.TopSurface = 0
144+
Frame_Speed = 1 / 60 -- (1 / 30) OR (1 / 60)
145-
	Part.BottomSurface = 0
145+
local Speed = 10.75
146-
	Part.Parent = Parts
146+
local ROOTC0 = CF(0, 0, 0) * ANGLES(RAD(-90), RAD(0), RAD(180))
147-
	Instance.new("CylinderMesh", Part).Scale = Vector3.new(1, 0.0105 / 0.2, 1)
147+
local NECKC0 = CF(0, 1, 0) * ANGLES(RAD(-90), RAD(0), RAD(180))
148-
	local Weld = Instance.new("Weld", Part)
148+
local RIGHTSHOULDERC0 = CF(-0.5, 0, 0) * ANGLES(RAD(0), RAD(90), RAD(0))
149-
	Weld.Part0 = Weld.Parent
149+
local LEFTSHOULDERC0 = CF(0.5, 0, 0) * ANGLES(RAD(0), RAD(-90), RAD(0))
150-
	Weld.Part1 = MasterPart2
150+
local DAMAGEMULTIPLIER = 1
151-
	Weld.C0 = CFrame.new(0, 0.1, 0)
151+
local ANIM = "Idle"
152
local ATTACK = false
153-
	local Part = Instance.new("Part")
153+
local EQUIPPED = false
154-
	Part.Material = "SmoothPlastic"
154+
local HOLD = false
155-
	Part.Name = "Hand Center"
155+
local COMBO = 1
156-
	Part.FormFactor = "Custom"
156+
local Rooted = false
157-
	Part.Size = Vector3.new(0.2, 0.2, 0.2)
157+
local SINE = 0
158-
	Part.BrickColor = CenterHandColor
158+
local KEYHOLD = false
159-
	Part.TopSurface = 0
159+
local CHANGE = 2 / Animation_Speed
160-
	Part.BottomSurface = 0
160+
local WALKINGANIM = false
161-
	Part.Parent = Parts
161+
local VALUE1 = false
162-
	Instance.new("CylinderMesh", Part).Scale = Vector3.new(0.035 / 0.2, 0.04 / 0.2, 0.035 / 0.2)
162+
local VALUE2 = false
163-
	local Weld = Instance.new("Weld", Part)
163+
local ROBLOXIDLEANIMATION = IT("Animation")
164-
	Weld.Part0 = Weld.Parent
164+
ROBLOXIDLEANIMATION.Name = "Roblox Idle Animation"
165-
	Weld.Part1 = MasterPart2
165+
ROBLOXIDLEANIMATION.AnimationId = "http://www.roblox.com/asset/?id=180435571"
166-
	Weld.C0 = CFrame.new(0, 0.1, 0)
166+
--ROBLOXIDLEANIMATION.Parent = Humanoid
167
local WEAPONGUI = IT("ScreenGui", PlayerGui)
168-
	for i = 0, 360, 360 / 20 do
168+
WEAPONGUI.Name = "GUNJOURER_GUI_SHACKLUSTER"
169-
		if i % (360 / 4) ~= 0 then
169+
local Effects = IT("Folder", Character)
170-
			local Part = Instance.new("Part")
170+
Effects.Name = "Effects"
171-
			Part.Material = "SmoothPlastic"
171+
local ANIMATOR = Humanoid.Animator
172-
			Part.Name = "Notch 1"
172+
local ANIMATE = Character.Animate
173-
			Part.FormFactor = "Custom"
173+
local UNANCHOR = true
174-
			Part.Size = Vector3.new(0.2, 0.2, 0.2)
174+
local STOCKING = false
175-
			Part.BrickColor = NotchColor1
175+
176-
			Part.TopSurface = 0
176+
local MADNESS = false
177-
			Part.BottomSurface = 0
177+
178-
			Part.Parent = Parts
178+
--//=================================\\
179-
			Instance.new("BlockMesh", Part).Scale = Vector3.new(0.01 / 0.2, 0.01075 / 0.2, 0.03 / 0.2)
179+
--\\=================================//
180-
			local Weld = Instance.new("Weld", Part)
180+
181-
			Weld.Part0 = Weld.Parent
181+
182-
			Weld.Part1 = MasterPart2
182+
--//=================================\\
183-
			Weld.C0 = CFrame.new(0, 0.1, 0.17) * CFrame.fromEulerAnglesXYZ(0, math.rad(i), 0)
183+
--|| SAZERENOS' ARTIFICIAL HEARTBEAT
184
--\\=================================//
185
186
ArtificialHB = Instance.new("BindableEvent", script)
187-
	for i = 0, 360, 360 / 4 do
187+
ArtificialHB.Name = "ArtificialHB"
188-
		local Part = Instance.new("Part")
188+
189-
		Part.Material = "SmoothPlastic"
189+
script:WaitForChild("ArtificialHB")
190-
		Part.Name = "Notch 2"
190+
191-
		Part.FormFactor = "Custom"
191+
frame = Frame_Speed
192-
		Part.Size = Vector3.new(0.2, 0.2, 0.2)
192+
tf = 0
193-
		Part.BrickColor = NotchColor2
193+
allowframeloss = false
194-
		Part.TopSurface = 0
194+
tossremainder = false
195-
		Part.BottomSurface = 0
195+
lastframe = tick()
196-
		Part.Parent = Parts
196+
script.ArtificialHB:Fire()
197-
		Instance.new("BlockMesh", Part).Scale = Vector3.new(0.02 / 0.2, 0.011 / 0.2, 0.05 / 0.2)
197+
198-
		local Weld = Instance.new("Weld", Part)
198+
game:GetService("RunService").Heartbeat:connect(function(s, p)
199-
		Weld.Part0 = Weld.Parent
199+
	tf = tf + s
200-
		Weld.Part1 = MasterPart2
200+
	if tf >= frame then
201-
		Weld.C0 = CFrame.new(0, 0.1, 0.17) * CFrame.fromEulerAnglesXYZ(0, math.rad(i), 0)
201+
		if allowframeloss then
202
			ArtificialHB:Fire()
203
			lastframe = tick()
204-
	local Part = Instance.new("Part")
204+
		else
205-
	Part.Material = "SmoothPlastic"
205+
			for i = 1, math.floor(tf / frame) do
206-
	Part.Name = "Hand Hour"
206+
				ArtificialHB:Fire()
207-
	Part.FormFactor = "Custom"
207+
208-
	Part.Size = Vector3.new(0.2, 0.2, 0.2)
208+
			lastframe = tick()
209-
	Part.BrickColor = HourHandColor
209+
210-
	Part.TopSurface = 0
210+
		if tossremainder then
211-
	Part.BottomSurface = 0
211+
			tf = 0
212-
	Part.Parent = Parts
212+
		else
213-
	Instance.new("BlockMesh", Part).Scale = Vector3.new(0.03 / 0.2, 0.015 / 0.2, 0.1 / 0.2)
213+
			tf = tf - frame * math.floor(tf / frame)
214-
	local Weld = Instance.new("Weld", Part)
214+
215-
	Weld.Part0 = Weld.Parent
215+
216-
	Weld.Part1 = MasterPart2
216+
end)
217-
	Weld.C0 = CFrame.new(0, 0.11, 0.05)
217+
218
--//=================================\\
219-
	local Part = Instance.new("Part")
219+
--\\=================================//
220-
	Part.Material = "SmoothPlastic"
220+
221-
	Part.Name = "Hand Minute"
221+
--//=================================\\
222-
	Part.FormFactor = "Custom"
222+
--|| 	      SOME FUNCTIONS
223-
	Part.Size = Vector3.new(0.2, 0.2, 0.2)
223+
--\\=================================//
224-
	Part.BrickColor = MinuteHandColor
224+
225-
	Part.TopSurface = 0
225+
function Raycast(POSITION, DIRECTION, RANGE, IGNOREDECENDANTS)
226-
	Part.BottomSurface = 0
226+
	return workspace:FindPartOnRay(Ray.new(POSITION, DIRECTION.unit * RANGE), IGNOREDECENDANTS)
227-
	Part.Parent = Parts
227+
228-
	Instance.new("BlockMesh", Part).Scale = Vector3.new(0.02 / 0.2, 0.0125 / 0.2, 0.15 / 0.2)
228+
229-
	local Weld = Instance.new("Weld", Part)
229+
function PositiveAngle(NUMBER)
230-
	Weld.Part0 = Weld.Parent
230+
	if NUMBER >= 0 then
231-
	Weld.Part1 = MasterPart2
231+
		NUMBER = 0
232-
	Weld.C0 = CFrame.new(0, 0.11, 0.075)
232+
233
	return NUMBER
234-
	local Part = Instance.new("Part")
234+
235-
	Part.Material = "SmoothPlastic"
235+
236-
	Part.Name = "Hand Second"
236+
function NegativeAngle(NUMBER)
237-
	Part.FormFactor = "Custom"
237+
	if NUMBER <= 0 then
238-
	Part.Size = Vector3.new(0.2, 0.2, 0.2)
238+
		NUMBER = 0
239-
	Part.BrickColor = SecondHandColor
239+
240-
	Part.TopSurface = 0
240+
	return NUMBER
241-
	Part.BottomSurface = 0
241+
242-
	Part.Parent = Parts
242+
243-
	Instance.new("BlockMesh", Part).Scale = Vector3.new(0.01 / 0.2, 0.01 / 0.2, 0.17 / 0.2)
243+
function Swait(NUMBER)
244-
	local Weld = Instance.new("Weld", Part)
244+
	if NUMBER == 0 or NUMBER == nil then
245-
	Weld.Part0 = Weld.Parent
245+
		ArtificialHB.Event:wait()
246-
	Weld.Part1 = MasterPart2
246+
247-
	Weld.C0 = CFrame.new(0, 0.11, 0.085)
247+
		for i = 1, NUMBER do
248
			ArtificialHB.Event:wait()
249-
	for _, Part in pairs(Parts:GetChildren()) do
249+
250-
		Part.Locked = true
250+
251-
		Part.CanCollide = false
251+
252
253
function CreateMesh(MESH, PARENT, MESHTYPE, MESHID, TEXTUREID, SCALE, OFFSET)
254-
	coroutine.wrap(function()
254+
	local NEWMESH = IT(MESH)
255-
		while Parts.Parent ~= nil do
255+
	if MESH == "SpecialMesh" then
256-
			local Hours, Minutes, Seconds = Time()
256+
		NEWMESH.MeshType = MESHTYPE
257-
			--SoundToServer("Tick", "http://www.roblox.com/Asset/?id=14863866", 5, 0.5, false, Parts:FindFirstChild("Watch"))
257+
		if MESHID ~= "nil" and MESHID ~= "" then
258-
			pcall(function() Parts["Hand Hour"].Weld.C1 = CFrame.fromEulerAnglesXYZ(0, (math.pi * (Hours / 12) * 2) - math.rad(90), 0) end)
258+
			NEWMESH.MeshId = "http://www.roblox.com/asset/?id="..MESHID
259-
			pcall(function() Parts["Hand Minute"].Weld.C1 = CFrame.fromEulerAnglesXYZ(0, (math.pi * (Minutes / 60) * 2) - math.rad(90), 0) end)
259+
260-
			pcall(function() Parts["Hand Second"].Weld.C1 = CFrame.fromEulerAnglesXYZ(0, (math.pi * (Seconds / 60) * 2) - math.rad(90), 0) end)
260+
		if TEXTUREID ~= "nil" and TEXTUREID ~= "" then
261-
			wait(1)
261+
			NEWMESH.TextureId = "http://www.roblox.com/asset/?id="..TEXTUREID
262
		end
263-
	end)()
263+
264
	NEWMESH.Offset = OFFSET or VT(0, 0, 0)
265
	NEWMESH.Scale = SCALE
266
	NEWMESH.Parent = PARENT
267-
function RemoveParts(Parent, Format)
267+
	return NEWMESH
268-
	if Format == 1 then
268+
269-
		pcall(function() Parent[ModelName.. " (Holstered)"]:Remove() end)
269+
270-
	elseif Format == 2 then
270+
function CreatePart(FORMFACTOR, PARENT, MATERIAL, REFLECTANCE, TRANSPARENCY, BRICKCOLOR, NAME, SIZE, ANCHOR)
271-
		pcall(function() Parent[ModelName]:Remove() end)
271+
	local NEWPART = IT("Part")
272
	NEWPART.formFactor = FORMFACTOR
273
	NEWPART.Reflectance = REFLECTANCE
274
	NEWPART.Transparency = TRANSPARENCY
275
	NEWPART.CanCollide = false
276-
function SetAngle(Joint, Angle, Character)
276+
	NEWPART.Locked = true
277-
	if Character == nil then return false end
277+
	NEWPART.Anchored = true
278-
	local Joints = {
278+
	if ANCHOR == false then
279-
		Character.Torso:FindFirstChild("Right Shoulder 2"),
279+
		NEWPART.Anchored = false
280-
		Character.Torso:FindFirstChild("Left Shoulder 2"),
280+
281-
		Character.Torso:FindFirstChild("Right Hip 2"),
281+
	NEWPART.BrickColor = BRICKC(tostring(BRICKCOLOR))
282-
		Character.Torso:FindFirstChild("Left Hip 2")
282+
	NEWPART.Name = NAME
283-
	}
283+
	NEWPART.Size = SIZE
284-
	if Joints[Joint] == nil then return false end
284+
	NEWPART.Position = Torso.Position
285-
	if Joint == 1 or Joint == 3 then
285+
	NEWPART.Material = MATERIAL
286-
		Joints[Joint].DesiredAngle = Angle
286+
	NEWPART:BreakJoints()
287
	NEWPART.Parent = PARENT
288-
	if Joint == 2 or Joint == 4 then
288+
	return NEWPART
289-
		Joints[Joint].DesiredAngle = -Angle
289+
290
291
	local function weldBetween(a, b)
292
	    local weldd = Instance.new("ManualWeld")
293
	    weldd.Part0 = a
294-
function ForceAngle(Joint, Angle, Character)
294+
	    weldd.Part1 = b
295-
	if Character == nil then return false end
295+
	    weldd.C0 = CFrame.new()
296-
	local Joints = {
296+
	    weldd.C1 = b.CFrame:inverse() * a.CFrame
297-
		Character.Torso:FindFirstChild("Right Shoulder 2"),
297+
	    weldd.Parent = a
298-
		Character.Torso:FindFirstChild("Left Shoulder 2"),
298+
	    return weldd
299-
		Character.Torso:FindFirstChild("Right Hip 2"),
299+
300-
		Character.Torso:FindFirstChild("Left Hip 2")
300+
301-
	}
301+
302-
	if Joints[Joint] == nil then return false end
302+
function QuaternionFromCFrame(cf)
303-
	if Joint == 1 or Joint == 3 then
303+
	local mx, my, mz, m00, m01, m02, m10, m11, m12, m20, m21, m22 = cf:components()
304-
		Joints[Joint].DesiredAngle = Angle
304+
	local trace = m00 + m11 + m22
305-
		Joints[Joint].CurrentAngle = Angle
305+
	if trace > 0 then 
306
		local s = math.sqrt(1 + trace)
307-
	if Joint == 2 or Joint == 4 then
307+
		local recip = 0.5 / s
308-
		Joints[Joint].DesiredAngle = -Angle
308+
		return (m21 - m12) * recip, (m02 - m20) * recip, (m10 - m01) * recip, s * 0.5
309-
		Joints[Joint].CurrentAngle = -Angle
309+
310
		local i = 0
311
		if m11 > m00 then
312
			i = 1
313
		end
314-
function SetSpeed(Joint, Speed, Character)
314+
		if m22 > (i == 0 and m00 or m11) then
315-
	if Character == nil then return false end
315+
			i = 2
316-
	local Joints = {
316+
317-
		Character.Torso:FindFirstChild("Right Shoulder 2"),
317+
		if i == 0 then
318-
		Character.Torso:FindFirstChild("Left Shoulder 2"),
318+
			local s = math.sqrt(m00 - m11 - m22 + 1)
319-
		Character.Torso:FindFirstChild("Right Hip 2"),
319+
			local recip = 0.5 / s
320-
		Character.Torso:FindFirstChild("Left Hip 2")
320+
			return 0.5 * s, (m10 + m01) * recip, (m20 + m02) * recip, (m21 - m12) * recip
321-
	}
321+
		elseif i == 1 then
322-
	if Joints[Joint] == nil then return false end
322+
			local s = math.sqrt(m11 - m22 - m00 + 1)
323-
	Joints[Joint].MaxVelocity = Speed
323+
			local recip = 0.5 / s
324
			return (m01 + m10) * recip, 0.5 * s, (m21 + m12) * recip, (m02 - m20) * recip
325
		elseif i == 2 then
326
			local s = math.sqrt(m22 - m00 - m11 + 1)
327-
function DisableLimb(Limb, Character)
327+
			local recip = 0.5 / s return (m02 + m20) * recip, (m12 + m21) * recip, 0.5 * s, (m10 - m01) * recip
328-
	if Character == nil then return false end
328+
329-
	if Character:FindFirstChild("Torso") == nil then return false end
329+
330-
	local Joints = {
330+
331-
		Character.Torso:FindFirstChild("Right Shoulder"),
331+
 
332-
		Character.Torso:FindFirstChild("Left Shoulder"),
332+
function QuaternionToCFrame(px, py, pz, x, y, z, w)
333-
		Character.Torso:FindFirstChild("Right Hip"),
333+
	local xs, ys, zs = x + x, y + y, z + z
334-
		Character.Torso:FindFirstChild("Left Hip")
334+
	local wx, wy, wz = w * xs, w * ys, w * zs
335-
	}
335+
	local xx = x * xs
336-
	local Limbs = {
336+
	local xy = x * ys
337-
		Character:FindFirstChild("Right Arm"),
337+
	local xz = x * zs
338-
		Character:FindFirstChild("Left Arm"),
338+
	local yy = y * ys
339-
		Character:FindFirstChild("Right Leg"),
339+
	local yz = y * zs
340-
		Character:FindFirstChild("Left Leg")
340+
	local zz = z * zs
341-
	}
341+
	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))
342-
	if Joints[Limb] == nil then return false end
342+
343-
	if Limbs[Limb] == nil then return false end
343+
 
344-
	local Joint = Instance.new("Motor6D")
344+
function QuaternionSlerp(a, b, t)
345-
	Joint.Parent = Character.Torso
345+
	local cosTheta = a[1] * b[1] + a[2] * b[2] + a[3] * b[3] + a[4] * b[4]
346-
	Joint.Part0 = Character.Torso
346+
	local startInterp, finishInterp;
347-
	Joint.Part1 = Limbs[Limb]
347+
	if cosTheta >= 0.0001 then
348-
	if Limb == 1 then
348+
		if (1 - cosTheta) > 0.0001 then
349-
		Joint.C0 = CFrame.new(1.5, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0, math.rad(90), 0)
349+
			local theta = ACOS(cosTheta)
350-
		Joint.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0, math.rad(90), 0)
350+
			local invSinTheta = 1 / SIN(theta)
351-
		Joint.Name = "Right Shoulder 2"
351+
			startInterp = SIN((1 - t) * theta) * invSinTheta
352-
	elseif Limb == 2 then
352+
			finishInterp = SIN(t * theta) * invSinTheta
353-
		Joint.C0 = CFrame.new(-1.5, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0, math.rad(-90), 0)
353+
		else
354-
		Joint.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0, math.rad(-90), 0)
354+
			startInterp = 1 - t
355-
		Joint.Name = "Left Shoulder 2"
355+
			finishInterp = t
356-
	elseif Limb == 3 then
356+
357-
		Joint.C0 = CFrame.new(0.5, -1, 0) * CFrame.fromEulerAnglesXYZ(0, math.rad(90), 0)
357+
358-
		Joint.C1 = CFrame.new(0, 1, 0) * CFrame.fromEulerAnglesXYZ(0, math.rad(90), 0)
358+
		if (1 + cosTheta) > 0.0001 then
359-
		Joint.Name = "Right Hip 2"
359+
			local theta = ACOS(-cosTheta)
360-
	elseif Limb == 4 then
360+
			local invSinTheta = 1 / SIN(theta)
361-
		Joint.C0 = CFrame.new(-0.5, -1, 0) * CFrame.fromEulerAnglesXYZ(0, math.rad(-90), 0)
361+
			startInterp = SIN((t - 1) * theta) * invSinTheta
362-
		Joint.C1 = CFrame.new(0, 1, 0) * CFrame.fromEulerAnglesXYZ(0, math.rad(-90), 0)
362+
			finishInterp = SIN(t * theta) * invSinTheta
363-
		Joint.Name = "Left Hip 2"
363+
		else
364
			startInterp = t - 1
365-
	Joint.MaxVelocity = Joints[Limb].MaxVelocity
365+
			finishInterp = t
366-
	Joint.CurrentAngle = Joints[Limb].CurrentAngle
366+
367-
	Joint.DesiredAngle = Joints[Limb].DesiredAngle
367+
368-
	Joints[Limb]:Remove()
368+
	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
369
end
370
371
function Clerp(a, b, t)
372-
function ResetLimbCFrame(Limb, Character)
372+
	local qa = {QuaternionFromCFrame(a)}
373-
	if Character == nil then return false end
373+
	local qb = {QuaternionFromCFrame(b)}
374-
	if Character.Parent == nil then return false end
374+
	local ax, ay, az = a.x, a.y, a.z
375-
	if Character:FindFirstChild("Torso") == nil then return false end
375+
	local bx, by, bz = b.x, b.y, b.z
376-
	local Joints = {
376+
	local _t = 1 - t
377-
		Character.Torso:FindFirstChild("Right Shoulder 2"),
377+
	return QuaternionToCFrame(_t * ax + t * bx, _t * ay + t * by, _t * az + t * bz, QuaternionSlerp(qa, qb, t))
378-
		Character.Torso:FindFirstChild("Left Shoulder 2"),
378+
379-
		Character.Torso:FindFirstChild("Right Hip 2"),
379+
380-
		Character.Torso:FindFirstChild("Left Hip 2")
380+
function CreateFrame(PARENT, TRANSPARENCY, BORDERSIZEPIXEL, POSITION, SIZE, COLOR, BORDERCOLOR, NAME)
381-
	}
381+
	local frame = IT("Frame")
382-
	local Limbs = {
382+
	frame.BackgroundTransparency = TRANSPARENCY
383-
		Character:FindFirstChild("Right Arm"),
383+
	frame.BorderSizePixel = BORDERSIZEPIXEL
384-
		Character:FindFirstChild("Left Arm"),
384+
	frame.Position = POSITION
385-
		Character:FindFirstChild("Right Leg"),
385+
	frame.Size = SIZE
386-
		Character:FindFirstChild("Left Leg")
386+
	frame.BackgroundColor3 = COLOR
387-
	}
387+
	frame.BorderColor3 = BORDERCOLOR
388-
	if Joints[Limb] == nil then return false end
388+
	frame.Name = NAME
389-
	if Limbs[Limb] == nil then return false end
389+
	frame.Parent = PARENT
390-
	if Limb == 1 then
390+
	return frame
391-
		Joints[Limb].C0 = CFrame.new(1.5, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0, math.rad(90), 0)
391+
392-
		Joints[Limb].C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0, math.rad(90), 0)
392+
393-
	elseif Limb == 2 then
393+
function CreateLabel(PARENT, TEXT, TEXTCOLOR, TEXTFONTSIZE, TEXTFONT, TRANSPARENCY, BORDERSIZEPIXEL, STROKETRANSPARENCY, NAME)
394-
		Joints[Limb].C0 = CFrame.new(-1.5, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0, math.rad(-90), 0)
394+
	local label = IT("TextLabel")
395-
		Joints[Limb].C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0, math.rad(-90), 0)
395+
	label.BackgroundTransparency = 1
396-
	elseif Limb == 3 then
396+
	label.Size = UD2(1, 0, 1, 0)
397-
		Joints[Limb].C0 = CFrame.new(0.5, -1, 0) * CFrame.fromEulerAnglesXYZ(0, math.rad(90), 0)
397+
	label.Position = UD2(0, 0, 0, 0)
398-
		Joints[Limb].C1 = CFrame.new(0, 1, 0) * CFrame.fromEulerAnglesXYZ(0, math.rad(90), 0)
398+
	label.TextColor3 = TEXTCOLOR
399-
	elseif Limb == 4 then
399+
	label.TextStrokeTransparency = STROKETRANSPARENCY
400-
		Joints[Limb].C0 = CFrame.new(-0.5, -1, 0) * CFrame.fromEulerAnglesXYZ(0, math.rad(-90), 0)
400+
	label.TextTransparency = TRANSPARENCY
401-
		Joints[Limb].C1 = CFrame.new(0, 1, 0) * CFrame.fromEulerAnglesXYZ(0, math.rad(-90), 0)
401+
	label.FontSize = TEXTFONTSIZE
402
	label.Font = TEXTFONT
403
	label.BorderSizePixel = BORDERSIZEPIXEL
404
	label.TextScaled = false
405
	label.Text = TEXT
406-
function EnableLimb(Limb, Character)
406+
	label.Name = NAME
407-
	if Character == nil then return false end
407+
	label.Parent = PARENT
408-
	if Character:FindFirstChild("Torso") == nil then return false end
408+
	return label
409-
	local Joints = {
409+
410-
		Character.Torso:FindFirstChild("Right Shoulder 2"),
410+
411-
		Character.Torso:FindFirstChild("Left Shoulder 2"),
411+
function NoOutlines(PART)
412-
		Character.Torso:FindFirstChild("Right Hip 2"),
412+
	PART.TopSurface, PART.BottomSurface, PART.LeftSurface, PART.RightSurface, PART.FrontSurface, PART.BackSurface = 10, 10, 10, 10, 10, 10
413-
		Character.Torso:FindFirstChild("Left Hip 2")
413+
414-
	}
414+
415-
	local Limbs = {
415+
function CreateWeldOrSnapOrMotor(TYPE, PARENT, PART0, PART1, C0, C1)
416-
		Character:FindFirstChild("Right Arm"),
416+
	local NEWWELD = IT(TYPE)
417-
		Character:FindFirstChild("Left Arm"),
417+
	NEWWELD.Part0 = PART0
418-
		Character:FindFirstChild("Right Leg"),
418+
	NEWWELD.Part1 = PART1
419-
		Character:FindFirstChild("Left Leg")
419+
	NEWWELD.C0 = C0
420-
	}
420+
	NEWWELD.C1 = C1
421-
	if Joints[Limb] == nil then return false end
421+
	NEWWELD.Parent = PARENT
422-
	if Limbs[Limb] == nil then return false end
422+
	return NEWWELD
423-
	if Limb == 1 then
423+
424-
		Joints[Limb].Name = "Right Shoulder"
424+
425-
	elseif Limb == 2 then
425+
local S = IT("Sound")
426-
		Joints[Limb].Name = "Left Shoulder"
426+
function CreateSound(ID, PARENT, VOLUME, PITCH, DOESLOOP)
427-
	elseif Limb == 3 then
427+
	local NEWSOUND = nil
428-
		Joints[Limb].Name = "Right Hip"
428+
	coroutine.resume(coroutine.create(function()
429-
	elseif Limb == 4 then
429+
		NEWSOUND = S:Clone()
430-
		Joints[Limb].Name = "Left Hip"
430+
		NEWSOUND.Parent = PARENT
431
		NEWSOUND.Volume = VOLUME
432-
	Animate = Character:FindFirstChild("Animate")
432+
		NEWSOUND.Pitch = PITCH
433-
	if Animate == nil then return false end
433+
		NEWSOUND.SoundId = "rbxassetid://"..ID
434-
	Animate = Animate:Clone()
434+
		NEWSOUND:play()
435-
	Character.Animate:Remove()
435+
		if DOESLOOP == true then
436-
	Animate.Parent = Character
436+
			NEWSOUND.Looped = true
437
		else
438
			repeat wait(1) until NEWSOUND.Playing == false
439
			NEWSOUND:remove()
440-
function onButton1Down(Mouse)
440+
441-
	if Button1Down == true then return end
441+
	end))
442-
	Button1Down = true
442+
	return NEWSOUND
443-
	if CheckPlayer() == false then return end
443+
444-
	if CanUse == true then
444+
445-
		CanUse = false
445+
function CFrameFromTopBack(at, top, back)
446-
		DisableLimb(1, Player.Character)
446+
	local right = top:Cross(back)
447-
		SetSpeed(1, 0.5, Player.Character)
447+
	return CF(at.x, at.y, at.z, right.x, top.x, back.x, right.y, top.y, back.y, right.z, top.z, back.z)
448-
		SetAngle(1, 0, Player.Character)
448+
449-
		RemoveParts(Player.Character, 1)
449+
450-
		CreateParts(Player.Character, 2)
450+
--WACKYEFFECT({EffectType = "", Size = VT(1,1,1), Size2 = VT(0,0,0), Transparency = 0, Transparency2 = 1, CFrame = CF(), MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = C3(1,1,1), SoundID = nil, SoundPitch = nil, SoundVolume = nil, UseBoomerangMath = false, Boomerang = 0, SizeBoomerang = 0})
451-
		wait(0.2)
451+
function WACKYEFFECT(Table)
452-
		for i = 0, 1, 0.075 do
452+
	local TYPE = (Table.EffectType or "Sphere")
453-
			pcall(function()
453+
	local SIZE = (Table.Size or VT(1,1,1))
454-
				Player.Character.Torso.Neck.C0 = CFrame.new(0, 1, 0) * CFrame.fromEulerAnglesXYZ(math.rad(-90 - (40 * i)), math.rad(-5 * i), math.rad(180 - (15 * i)))
454+
	local ENDSIZE = (Table.Size2 or VT(0,0,0))
455-
				Player.Character.Torso["Right Shoulder 2"].C0 = CFrame.new(1.5 - (0.15 * i), 0.5, -0.2 * i) * CFrame.fromEulerAnglesXYZ(math.rad(100 * i), math.rad(90 + (130 * i)), math.rad(40 * i))
455+
	local TRANSPARENCY = (Table.Transparency or 0)
456-
			end)
456+
	local ENDTRANSPARENCY = (Table.Transparency2 or 1)
457
	local CFRAME = (Table.CFrame or Torso.CFrame)
458
	local MOVEDIRECTION = (Table.MoveToPos or nil)
459-
		pcall(function()
459+
	local ROTATION1 = (Table.RotationX or 0)
460-
			Player.Character.Torso.Neck.C0 = CFrame.new(0, 1, 0) * CFrame.fromEulerAnglesXYZ(math.rad(-130), math.rad(-5), math.rad(165))
460+
	local ROTATION2 = (Table.RotationY or 0)
461-
			Player.Character.Torso["Right Shoulder 2"].C0 = CFrame.new(1.35, 0.5, -0.2) * CFrame.fromEulerAnglesXYZ(math.rad(100), math.rad(220), math.rad(40))
461+
	local ROTATION3 = (Table.RotationZ or 0)
462-
		end)
462+
	local MATERIAL = (Table.Material or "Neon")
463
	local COLOR = (Table.Color or C3(1,1,1))
464-
		CanUse = true
464+
	local TIME = (Table.Time or 45)
465-
		coroutine.wrap(function()
465+
	local SOUNDID = (Table.SoundID or nil)
466-
			while Selected == true and Button1Down == true do
466+
	local SOUNDPITCH = (Table.SoundPitch or nil)
467
	local SOUNDVOLUME = (Table.SoundVolume or nil)
468
	local USEBOOMERANGMATH = (Table.UseBoomerangMath or false)
469-
			CanUse = false
469+
	local BOOMERANG = (Table.Boomerang or 0)
470-
			for i = 1, 0, -0.075 do
470+
	local SIZEBOOMERANG = (Table.SizeBoomerang or 0)
471-
				pcall(function()
471+
	coroutine.resume(coroutine.create(function()
472-
					Player.Character.Torso.Neck.C0 = CFrame.new(0, 1, 0) * CFrame.fromEulerAnglesXYZ(math.rad(-90 - (40 * i)), math.rad(-5 * i), math.rad(180 - (15 * i)))
472+
		local PLAYSSOUND = false
473-
					Player.Character.Torso["Right Shoulder 2"].C0 = CFrame.new(1.5 - (0.15 * i), 0.5, -0.2 * i) * CFrame.fromEulerAnglesXYZ(math.rad(100 * i), math.rad(90 + (130 * i)), math.rad(40 * i))
473+
		local SOUND = nil
474-
				end)
474+
		local EFFECT = CreatePart(3, Effects, MATERIAL, 0, TRANSPARENCY, BRICKC("Pearl"), "Effect", VT(1,1,1), true)
475
		if SOUNDID ~= nil and SOUNDPITCH ~= nil and SOUNDVOLUME ~= nil then
476
			PLAYSSOUND = true
477-
			pcall(function()
477+
			SOUND = CreateSound(SOUNDID, EFFECT, SOUNDVOLUME, SOUNDPITCH, false)
478-
				Player.Character.Torso.Neck.C0 = CFrame.new(0, 1, 0) * CFrame.fromEulerAnglesXYZ(math.rad(-90), 0, math.rad(180))
478+
479-
			end)
479+
		EFFECT.Color = COLOR
480-
			ResetLimbCFrame(1, Player.Character)
480+
		local MSH = nil
481-
			EnableLimb(1, Player.Character)
481+
		if TYPE == "Sphere" then
482-
			RemoveParts(Player.Character, 2)
482+
			MSH = CreateMesh("SpecialMesh", EFFECT, "Sphere", "", "", SIZE, VT(0,0,0))
483-
			CreateParts(Player.Character, 1)
483+
		elseif TYPE == "Block" or TYPE == "Box" then
484-
			CanUse = true
484+
			MSH = IT("BlockMesh",EFFECT)
485-
		end)()
485+
			MSH.Scale = SIZE
486
		elseif TYPE == "Wave" then
487
			MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "20329976", "", SIZE, VT(0,0,-SIZE.X/8))
488
		elseif TYPE == "Ring" then
489
			MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "559831844", "", VT(SIZE.X,SIZE.X,0.1), VT(0,0,0))
490-
function onButton1Up(Mouse)
490+
		elseif TYPE == "Slash" then
491-
	Button1Down = false
491+
			MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "662586858", "", VT(SIZE.X/10,0,SIZE.X/10), VT(0,0,0))
492
		elseif TYPE == "Round Slash" then
493
			MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "662585058", "", VT(SIZE.X/10,0,SIZE.X/10), VT(0,0,0))
494
		elseif TYPE == "Swirl" then
495-
function onKeyDown(Key, Mouse)
495+
			MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "168892432", "", SIZE, VT(0,0,0))
496-
	if Selected == false then return end
496+
		elseif TYPE == "Skull" then
497-
	Key = Key:lower()
497+
			MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "4770583", "", SIZE, VT(0,0,0))
498-
	if Button1Down == false and CanUse == true and CheckPlayer() == true then
498+
		elseif TYPE == "Crystal" then
499-
		if Key == "q" then
499+
			MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "9756362", "", SIZE, VT(0,0,0))
500-
			if Mouse.Target == nil then return end
500+
501-
			if CheckPlayer() == false then return end
501+
		if MSH ~= nil then
502-
			local NewPlayer = game:GetService("Players"):GetPlayerFromCharacter(Mouse.Target.Parent)
502+
			local BOOMR1 = 1+BOOMERANG/50
503-
			if NewPlayer == nil then return end
503+
			local BOOMR2 = 1+SIZEBOOMERANG/50
504-
			if NewPlayer.Character == nil then return end
504+
			local MOVESPEED = nil
505-
			if NewPlayer.Character:FindFirstChild("Torso") == nil then return end
505+
			if MOVEDIRECTION ~= nil then
506-
			if (NewPlayer.Character.Torso.Position - Player.Character.Torso.Position).magnitude > 10 then return end
506+
				if USEBOOMERANGMATH == true then
507-
			onDeselected(Mouse)
507+
					MOVESPEED = ((CFRAME.p - MOVEDIRECTION).Magnitude/TIME)*BOOMR1
508
				else
509-
			RemoveParts(Player.Character, 1)
509+
					MOVESPEED = ((CFRAME.p - MOVEDIRECTION).Magnitude/TIME)
510-
			script.Parent.Parent = NewPlayer.Backpack
510+
				end
511-
			Player = NewPlayer
511+
512
			local GROWTH = nil
513
			if USEBOOMERANGMATH == true then
514
				GROWTH = (SIZE - ENDSIZE)*(BOOMR2+1)
515
			else
516
				GROWTH = (SIZE - ENDSIZE)
517-
function onSelected(Mouse)
517+
518-
	if Selected == true or CanUse == false then return end
518+
			local TRANS = TRANSPARENCY - ENDTRANSPARENCY
519-
	CanUse = false
519+
			if TYPE == "Block" then
520-
	while true do
520+
				EFFECT.CFrame = CFRAME*ANGLES(RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)))
521-
		if CheckPlayer() == true then
521+
			else
522-
			if Player.Character.Torso:FindFirstChild("Right Shoulder") ~= nil then
522+
				EFFECT.CFrame = CFRAME
523-
				break
523+
524
			if USEBOOMERANGMATH == true then
525
				for LOOP = 1, TIME+1 do
526
					Swait()
527
					MSH.Scale = MSH.Scale - (VT((GROWTH.X)*((1 - (LOOP/TIME)*BOOMR2)),(GROWTH.Y)*((1 - (LOOP/TIME)*BOOMR2)),(GROWTH.Z)*((1 - (LOOP/TIME)*BOOMR2)))*BOOMR2)/TIME
528-
	Selected = true
528+
					if TYPE == "Wave" then
529-
	Mouse.Icon = "rbxasset://textures\\GunCursor.png"
529+
						MSH.Offset = VT(0,0,-MSH.Scale.Z/8)
530-
	Mouse.Button1Down:connect(function() onButton1Down(Mouse) end)
530+
					end
531-
	Mouse.Button1Up:connect(function() onButton1Up(Mouse) end)
531+
					EFFECT.Transparency = EFFECT.Transparency - TRANS/TIME
532-
	Mouse.KeyDown:connect(function(Key) onKeyDown(Key, Mouse) end)
532+
					if TYPE == "Block" then
533-
	CanUse = true
533+
						EFFECT.CFrame = CFRAME*ANGLES(RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)))
534
					else
535
						EFFECT.CFrame = EFFECT.CFrame*ANGLES(RAD(ROTATION1),RAD(ROTATION2),RAD(ROTATION3))
536
					end
537-
function onDeselected(Mouse)
537+
					if MOVEDIRECTION ~= nil then
538-
	if Selected == false then return end
538+
						local ORI = EFFECT.Orientation
539-
	Selected = false
539+
						EFFECT.CFrame = CF(EFFECT.Position,MOVEDIRECTION)*CF(0,0,-(MOVESPEED)*((1 - (LOOP/TIME)*BOOMR1)))
540
						EFFECT.CFrame = CF(EFFECT.Position)*ANGLES(RAD(ORI.X),RAD(ORI.Y),RAD(ORI.Z))
541
					end
542
				end
543-
if script.Parent.ClassName ~= "HopperBin" then
543+
			else
544-
	if Player == nil then print("Error: Player not found!") return end
544+
				for LOOP = 1, TIME+1 do
545-
	Tool = Instance.new("HopperBin")
545+
					Swait()
546-
	Tool.Name = ModelName
546+
					MSH.Scale = MSH.Scale - GROWTH/TIME
547-
	Tool.Parent = Player.Backpack
547+
					if TYPE == "Wave" then
548-
	script.Name = "Main"
548+
						MSH.Offset = VT(0,0,-MSH.Scale.Z/8)
549-
	script.Parent = Tool
549+
					end
550-
elseif script.Parent.ClassName == "HopperBin" and Connected == false then
550+
					EFFECT.Transparency = EFFECT.Transparency - TRANS/TIME
551-
	Connected = true
551+
					if TYPE == "Block" then
552-
	Player = script.Parent.Parent.Parent
552+
						EFFECT.CFrame = CFRAME*ANGLES(RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)))
553-
	end wait() if script.Parent.ClassName == "HopperBin" then
553+
					else
554-
	while script.Parent.Parent.ClassName ~= "Backpack" do
554+
						EFFECT.CFrame = EFFECT.CFrame*ANGLES(RAD(ROTATION1),RAD(ROTATION2),RAD(ROTATION3))
555-
		wait()
555+
					end
556
					if MOVEDIRECTION ~= nil then
557-
	script.Parent.Selected:connect(onSelected)
557+
						local ORI = EFFECT.Orientation
558-
	script.Parent.Deselected:connect(onDeselected)
558+
						EFFECT.CFrame = CF(EFFECT.Position,MOVEDIRECTION)*CF(0,0,-MOVESPEED)
559-
	CreateParts(Player.Character, 1)
559+
						EFFECT.CFrame = CF(EFFECT.Position)*ANGLES(RAD(ORI.X),RAD(ORI.Y),RAD(ORI.Z))
560
					end
561-
end
561+
				end
562
			end
563
			EFFECT.Transparency = 1
564
			if PLAYSSOUND == false then
565
				EFFECT:remove()
566
			else
567
				repeat Swait() until EFFECT:FindFirstChildOfClass("Sound") == nil
568
				EFFECT:remove()
569
			end
570
		else
571
			if PLAYSSOUND == false then
572
				EFFECT:remove()
573
			else
574
				repeat Swait() until EFFECT:FindFirstChildOfClass("Sound") == nil
575
				EFFECT:remove()
576
			end
577
		end
578
	end))
579
end
580
581
function MakeForm(PART,TYPE)
582
	if TYPE == "Cyl" then
583
		local MSH = IT("CylinderMesh",PART)
584
	elseif TYPE == "Ball" then
585
		local MSH = IT("SpecialMesh",PART)
586
		MSH.MeshType = "Sphere"
587
	elseif TYPE == "Wedge" then
588
		local MSH = IT("SpecialMesh",PART)
589
		MSH.MeshType = "Wedge"
590
	end
591
end
592
593
Debris = game:GetService("Debris")
594
595
function CastProperRay(StartPos, EndPos, Distance, Ignore)
596
	local DIRECTION = CF(StartPos,EndPos).lookVector
597
	return Raycast(StartPos, DIRECTION, Distance, Ignore)
598
end
599
600
function OhnoItsAShotgun()
601
	local SHOOTgun = CreatePart(3, Effects, "Fabric", 0, 1, BRICKC("Black"), "OhNoItsAShotgun", VT(0.25, 0.5, 5), true)
602
	CreateMesh("SpecialMesh", SHOOTgun, "FileMesh", "3835506", "", VT(0.9, 1.13, 1), VT(0,-0.3,0))
603
	return SHOOTgun
604
end
605
606
function CamShake(SHAKE,TIMER)
607
	coroutine.resume(coroutine.create(function()
608
		local FADER = SHAKE/TIMER
609
		for i = 1, TIMER do
610
			wait()
611
			Humanoid.CameraOffset = VT(MRANDOM(-(SHAKE-(FADER*i)),(SHAKE-(FADER*i)))/10,MRANDOM(-(SHAKE-(FADER*i)),(SHAKE-(FADER*i)))/10,MRANDOM(-(SHAKE-(FADER*i)),(SHAKE-(FADER*i)))/10)
612
		end
613
		Humanoid.CameraOffset = VT(0,0,0)
614
	end))
615
end
616
617
--//=================================\\
618
--||	    GUIS AND MISC
619
--\\=================================//
620
function createBGCircle(size,parent,color)
621
local bgui = Instance.new("BillboardGui",parent)
622
bgui.Size = UDim2.new(size, 0, size, 0)
623
local imgc = Instance.new("ImageLabel",bgui)
624
imgc.BackgroundTransparency = 1
625
imgc.ImageTransparency = 0
626
imgc.Size = UDim2.new(1,0,1,0)
627
imgc.Image = "rbxassetid://997291547" --997291547,521073910
628
imgc.ImageColor3 = color
629
return bgui,imgc
630
end
631
632
function symbolizeBlink(guipar,size,img,color,bonussize,vol,pit,soundid,spar,rotationenabled,rotsp,delay)
633
local bgui,imgc = createBGCircle(size,guipar,color)
634
bgui.AlwaysOnTop = true
635
imgc.Image = "rbxassetid://" ..img
636
local rrot = math.random(1,2)
637
CreateSound(soundid, spar, vol, pit,false)
638
coroutine.resume(coroutine.create(function()
639
for i = 0, 24*delay do
640
Swait()
641
if rotationenabled == true then
642
if rrot == 1 then
643
imgc.Rotation = imgc.Rotation + rotsp
644
elseif rrot == 2 then
645
imgc.Rotation = imgc.Rotation - rotsp
646
end
647
end
648
bgui.Size = bgui.Size + UDim2.new(1*bonussize/delay,0,1*bonussize/delay,0)
649
imgc.ImageTransparency = imgc.ImageTransparency + 0.04/delay
650
end
651
bgui:Destroy()
652
end))
653
end
654
655
local SKILLTEXTCOLOR = BRICKC"Daisy orange".Color
656
local SKILLFONT = "Arcade"
657
local SKILLTEXTSIZE = 1.5
658
659
local ATTACKS = {"Conjour - C","Aerial AirBlast - V","Suicide Blank - B","GunStock - F","Regain - R"}
660
661
662
for i = 1, #ATTACKS do
663
	local SKILLFRAME = CreateFrame(WEAPONGUI, 1, 2, UD2(0.74, 0, 0.97-(0.04*i), 0), UD2(0.26, 0, 0.07, 0), C3(0,0,0), C3(0, 0, 0), "Skill Frame")
664
	local SKILLTEXT = CreateLabel(SKILLFRAME, "["..ATTACKS[i].."]", SKILLTEXTCOLOR, SKILLTEXTSIZE, SKILLFONT, 0, 2, 0, "Skill text")
665
	SKILLTEXT.TextXAlignment = "Right"
666
	SKILLTEXT.Rotation = i*3
667
end
668
669
670
	local SKILLFRAME2 = CreateFrame(WEAPONGUI, 1, 2, UD2(0.6375, 0, 0.97-0.0375, 0), UD2(0.26, 0, 0.07, 0), C3(0,0,0), C3(0, 0, 0), "Skill Frame2")
671
	local SKILLTEXT2 = CreateLabel(SKILLFRAME2, "[".."GunMadness - G".."]", SKILLTEXTCOLOR, SKILLTEXTSIZE, SKILLFONT, 0, 2, 0, "Skill text2")
672
	SKILLTEXT2.TextXAlignment = "Right"
673
674
local BMUSIC = IT("Sound",RootPart)
675
local VOLUME = 3
676
local PITCH = 1
677
local SONGID = 554435540
678
679
local HEALTHBAR = CreateFrame(WEAPONGUI, 0.5, 1, UD2(1-0.20, 0, 0.75, 0), UD2(0.20, 0, 0.02, 0), C3(0,0,0), C3(0, 0, 0),"Health Bar") 
680
local HEALTHCOVER = CreateFrame(HEALTHBAR, 0, 0, UD2(0, 0, 0, 0), UD2(0, 0, 1, 0), BRICKC"Cool yellow".Color, C3(0, 0, 0),"Health Cover")
681
local HEALTHTEXT = CreateLabel(HEALTHBAR, "Stamina/Health"..Humanoid.Health.."/"..Humanoid.MaxHealth, SKILLTEXTCOLOR, SKILLTEXTSIZE, SKILLFONT, 0, 2, 0, "HP")
682
Character.Health:remove()
683
HEALTHBAR.Rotation = (#ATTACKS*3)+3
684
local WHOAMI = CreateFrame(WEAPONGUI, 1, 1, UD2(1-0.26, 0, 0.69, 0), UD2(0.26, 0, 0.02, 0), C3(0,0,0), C3(0, 0, 0),"Ban") 
685
WHOAMI.Rotation = (#ATTACKS*3)+3
686
CreateLabel(WHOAMI, "Grand - Gunjourer", SKILLTEXTCOLOR, SKILLTEXTSIZE+4, SKILLFONT, 0, 2, 0, "Yes")
687
688
Humanoid.MaxHealth = 2000
689
Humanoid.Health = 2000
690
691
Humanoid.Died:Connect(function()
692
	RootPart:remove()
693
	CreateSound(160718677, Head, 4, 1, false)
694
	BMUSIC:remove()
695
	Effects:remove()
696
	WEAPONGUI:remove()
697
end)
698
local GRUNTS = {1146556975,1146556706,1278006076}
699
700
--//=================================\\
701
--||			DAMAGING
702
--\\=================================//
703
704
function ApplyDamage(Humanoid,Damage)
705
	Damage = Damage * DAMAGEMULTIPLIER
706
	if Humanoid.Health < 2000 then
707
		if Humanoid.Health - Damage > 0 then
708
			Humanoid.Health = Humanoid.Health - Damage
709
		else
710
			Humanoid.Parent:BreakJoints()
711
		end
712
	else
713
		Humanoid.Parent:BreakJoints()
714
	end
715
end
716
717
function PAW_HAHA(LOC,AIMTO,OUCH)
718
	WACKYEFFECT({Time = 25, EffectType = "Block", Size = VT(0,0,0), Size2 = VT(1.4,1.4,1.4), Transparency = 0, Transparency2 = 1, CFrame = CF(LOC), MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = BRICKC"New Yeller".Color, SoundID = 138083993, SoundPitch = MRANDOM(8,12)/13, SoundVolume = 2})
719
	for i = 1, 4 do
720
		local POS1 = CF(LOC,AIMTO)*CF(0,0,-45).p
721
		local AIMPOS = CF(LOC,POS1) * CF(0,0,-45) * ANGLES(RAD(MRANDOM(0,360)), RAD(MRANDOM(0,360)), RAD(MRANDOM(0,360)))*CF(0,0,MRANDOM(5,75)/10).p
722
		local HIT,POS = CastProperRay(LOC,AIMPOS,1000,Character)
723
		local DISTANCE = (POS - LOC).Magnitude
724
		if HIT then
725
			local HUM = nil
726
			if HIT.Parent:FindFirstChildOfClass("Humanoid") then
727
				HUM = HIT.Parent:FindFirstChildOfClass("Humanoid")
728
			elseif HIT.Parent.Parent:FindFirstChildOfClass("Humanoid") then
729
				HUM = HIT.Parent.Parent:FindFirstChildOfClass("Humanoid")
730
			end
731
			if HUM then
732
				ApplyDamage(HUM,OUCH+MRANDOM(-3,3))
733
			end
734
		end
735
		WACKYEFFECT({Time = 20, EffectType = "Block", Size = VT(0,0,0), Size2 = VT(1,1,1), Transparency = 0, Transparency2 = 1, CFrame = CF(POS), MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = BRICKC"New Yeller".Color, SoundID = nil, SoundPitch = 1, SoundVolume = 4})
736
		WACKYEFFECT({Time = 20, EffectType = "Box", Size = VT(0,0,DISTANCE), Size2 = VT(0.7,0.7,DISTANCE), Transparency = 0.6, Transparency2 = 1, CFrame = CF(LOC,POS)*CF(0,0,-DISTANCE/2), MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = BRICKC"New Yeller".Color, SoundID = nil, SoundPitch = nil, SoundVolume = nil})
737
	end
738
end
739
740
--//=================================\\
741
--||	ATTACK FUNCTIONS AND STUFF
742
--\\=================================//
743
744
function Conjour()
745
	local SHOOT = OhnoItsAShotgun()
746
	local CFRAME = CF(RootPart.Position) * ANGLES(RAD(0), RAD(MRANDOM(0,360)), RAD(0))*CF(0,MRANDOM(15,25)/3,MRANDOM(15,25)/3)
747
	local ORI = 90
748
	SHOOT.CFrame = CF(CFRAME.p,Mouse.Hit.p) * ANGLES(RAD(0), RAD(ORI), RAD(0))
749
	local GOODRIDDANCE = false
750
	CreateSound(233856115, SHOOT, 2, (MRANDOM(8,12)/10)+0.3, false)
751
	coroutine.resume(coroutine.create(function()
752
		repeat
753
			SHOOT.CFrame = Clerp(SHOOT.CFrame,CF(CFRAME.p,Mouse.Hit.p) * ANGLES(RAD(ORI), RAD(0), RAD(0)),0.25)
754
			Swait()
755
		until GOODRIDDANCE == true
756
		SHOOT.CFrame = SHOOT.CFrame * ANGLES(RAD(45), RAD(0), RAD(0))
757
		SHOOT.CanCollide = true
758
		SHOOT.Anchored = false
759
		SHOOT.Parent = workspace
760
		local bv = Instance.new("BodyVelocity",SHOOT) 
761
		bv.maxForce = Vector3.new(1e9, 1e9, 1e9)
762
		bv.velocity = CF(SHOOT.Position,SHOOT.CFrame*CF(0,2.5,2).p).lookVector*45
763
		Debris:AddItem(bv,0.1)
764
		wait(5)
765
		for i = 1, 45 do
766
			Swait()
767
			SHOOT.Transparency = SHOOT.Transparency + 1/45
768
		end
769
		SHOOT:remove()
770
	end))
771
	for i = 1, 15 do
772
		Swait()
773
		SHOOT.Transparency = SHOOT.Transparency - 1/15
774
		ORI = ORI - 3
775
	end
776
	for i = 1, 15 do
777
		Swait()
778
		ORI = ORI - 3
779
	end
780
	wait(MRANDOM(2,8)/10)
781
	PAW_HAHA(SHOOT.CFrame*CF(0,0,-SHOOT.Size.Z/2).p,Mouse.Hit.p,14)
782
	CamShake(4,4)
783
	GOODRIDDANCE = true
784
end
785
786
function Conjour2()
787
	local SHOOT = OhnoItsAShotgun()
788
	local CFRAME = CF(RootPart.Position) * ANGLES(RAD(0), RAD(MRANDOM(0,360)), RAD(0))*CF(MRANDOM(-65,65),MRANDOM(20,65),MRANDOM(-65,65))
789
	local ORI = 90
790
	SHOOT.CFrame = CF(CFRAME.p,Mouse.Hit.p) * ANGLES(RAD(0), RAD(ORI), RAD(0))
791
	local GOODRIDDANCE = false
792
	CreateSound(233856115, SHOOT, 2, (MRANDOM(8,12)/10)+0.3, false)
793
	coroutine.resume(coroutine.create(function()
794
		repeat
795
			SHOOT.CFrame = Clerp(SHOOT.CFrame,CF(CFRAME.p,Mouse.Hit.p) * ANGLES(RAD(ORI), RAD(0), RAD(0)),0.25)
796
			Swait()
797
		until GOODRIDDANCE == true
798
		SHOOT.CFrame = SHOOT.CFrame * ANGLES(RAD(45), RAD(0), RAD(0))
799
		SHOOT.CanCollide = true
800
		SHOOT.Anchored = false
801
		SHOOT.Parent = workspace
802
		local bv = Instance.new("BodyVelocity",SHOOT) 
803
		bv.maxForce = Vector3.new(1e9, 1e9, 1e9)
804
		bv.velocity = CF(SHOOT.Position,SHOOT.CFrame*CF(0,2.5,2).p).lookVector*45
805
		Debris:AddItem(bv,0.1)
806
		wait(5)
807
		for i = 1, 45 do
808
			Swait()
809
			SHOOT.Transparency = SHOOT.Transparency + 1/45
810
		end
811
		SHOOT:remove()
812
	end))
813
	for i = 1, 15 do
814
		Swait()
815
		SHOOT.Transparency = SHOOT.Transparency - 1/15
816
		ORI = ORI - 3
817
	end
818
	for i = 1, 15 do
819
		Swait()
820
		ORI = ORI - 3
821
	end
822
	wait(MRANDOM(2,8)/10)
823
	PAW_HAHA(SHOOT.CFrame*CF(0,0,-SHOOT.Size.Z/2).p,Mouse.Hit.p,14)
824
	CamShake(4,4)
825
	GOODRIDDANCE = true
826
end
827
828
function GunMadness()
829
ATTACK = true
830
Rooted = true
831
CreateSound(1278010413, Torso, 9, 1.1, false)
832
coroutine.resume(coroutine.create(function()
833
	MADNESS = true
834
	wait(0.9)
835
		for i = 1, 163 do
836
			Swait(2.5)
837
			coroutine.resume(coroutine.create(function()
838
				Conjour2()
839
			end))
840
		end
841
		MADNESS = false
842
end))
843
		for i=0, 1.85, 0.1 / Animation_Speed do
844
			Swait()
845
			RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0.1, -0.1 + 0.05 * SIN(SINE / 12)) * ANGLES(RAD(5 + 1 * SIN(SINE / 15)), RAD(0), RAD(0)), 1 / Animation_Speed)
846
			Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(2.5 - 5 * SIN(SINE / 3)), RAD(0), RAD(0)), 1 / Animation_Speed)
847
			RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1, 0.5 + 0.05 * SIN(SINE / 12), -0.5) * ANGLES(RAD(0), RAD(0), RAD(-90)) * ANGLES(RAD(20), RAD(0), RAD(0)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
848
			LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1, 0.3 + 0.05 * SIN(SINE / 12), -0.35) * ANGLES(RAD(0), RAD(0), RAD(80)) * ANGLES(RAD(20), RAD(0), RAD(0)) * LEFTSHOULDERC0, 1 / Animation_Speed)
849
			RightHip.C0 = Clerp(RightHip.C0, CF(1, -1 - 0.05 * SIN(SINE / 12), 0) * ANGLES(RAD(5), RAD(80), RAD(0)) * ANGLES(RAD(-3), RAD(0), RAD(0)), 1 / Animation_Speed)
850
			LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1 - 0.05 * SIN(SINE / 12), 0) * ANGLES(RAD(5), RAD(-80), RAD(0)) * ANGLES(RAD(-3), RAD(0), RAD(0)), 1 / Animation_Speed)
851
		end
852
		for i=0, 0.15, 0.1 / Animation_Speed do
853
			Swait()
854
			RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0.1, -0.1 + 0.05 * SIN(SINE / 12)) * ANGLES(RAD(5 + 1 * SIN(SINE / 15)), RAD(0), RAD(0)), 1 / Animation_Speed)
855
			Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(2.5 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed)
856
			RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1, 0.5 + 0.05 * SIN(SINE / 12), -0.5) * ANGLES(RAD(0), RAD(0), RAD(-90)) * ANGLES(RAD(20), RAD(0), RAD(0)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
857
			LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1, 0.3 + 0.05 * SIN(SINE / 12), -0.35) * ANGLES(RAD(0), RAD(0), RAD(80)) * ANGLES(RAD(20), RAD(0), RAD(0)) * LEFTSHOULDERC0, 1 / Animation_Speed)
858
			RightHip.C0 = Clerp(RightHip.C0, CF(1, -1 - 0.05 * SIN(SINE / 12), 0) * ANGLES(RAD(5), RAD(80), RAD(0)) * ANGLES(RAD(-3), RAD(0), RAD(0)), 1 / Animation_Speed)
859
			LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1 - 0.05 * SIN(SINE / 12), 0) * ANGLES(RAD(5), RAD(-80), RAD(0)) * ANGLES(RAD(-3), RAD(0), RAD(0)), 1 / Animation_Speed)
860
		end
861
symbolizeBlink(RootPart,0,2109052855,BrickColor.new("Daisy orange").Color,25,0,0,0,RootPart,false,0,1)
862
863
		Humanoid.Health = Humanoid.Health - 675
864
        WACKYEFFECT({Time = 60, EffectType = "Sphere", Size = VT(0.25,0.55,0.25), Size2 = VT(0.175,4,0.175), Transparency = 0, Transparency2 = 1, CFrame = Head.CFrame*CF(0.175, 0.2, -0.65), MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = C3(255/255, 255/255, 0/255), SoundID = 743521450, SoundPitch = 1.15, SoundVolume = 6})
865
        WACKYEFFECT({Time = 60, EffectType = "Sphere", Size = VT(0.55,0.25,0.25), Size2 = VT(4,0.175,0.175), Transparency = 0, Transparency2 = 1, CFrame = Head.CFrame*CF(0.175, 0.2, -0.65), MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = C3(255/255, 255/255, 0/255), SoundID = 743521450, SoundPitch = 0.95, SoundVolume = 6})
866
		for i=0, 1, 0.1 / Animation_Speed do
867
			Swait()
868
			RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0.1, -0.1 + 0.05 * SIN(SINE / 12)) * ANGLES(RAD(5 + 1 * SIN(SINE / 15)), RAD(0), RAD(0)), 1 / Animation_Speed)
869
			Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(2.5 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed)
870
			RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1, 0.5 + 0.05 * SIN(SINE / 12), -0.5) * ANGLES(RAD(0), RAD(0), RAD(-90)) * ANGLES(RAD(20), RAD(0), RAD(0)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
871
			LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1, 0.3 + 0.05 * SIN(SINE / 12), -0.35) * ANGLES(RAD(0), RAD(0), RAD(80)) * ANGLES(RAD(20), RAD(0), RAD(0)) * LEFTSHOULDERC0, 1 / Animation_Speed)
872
			RightHip.C0 = Clerp(RightHip.C0, CF(1, -1 - 0.05 * SIN(SINE / 12), 0) * ANGLES(RAD(5), RAD(80), RAD(0)) * ANGLES(RAD(-3), RAD(0), RAD(0)), 1 / Animation_Speed)
873
			LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1 - 0.05 * SIN(SINE / 12), 0) * ANGLES(RAD(5), RAD(-80), RAD(0)) * ANGLES(RAD(-3), RAD(0), RAD(0)), 1 / Animation_Speed)
874
		end
875
ATTACK = false
876
Rooted = false
877
end
878
879
function Aerial_AirBlast()
880
	local HITFLOOR,HITPOS = Raycast(RootPart.Position, (CF(RootPart.Position, RootPart.Position + VT(0, -1, 0))).lookVector, 4, Character)
881
	if HITFLOOR then
882
		ATTACK = true
883
		Rooted = true
884
		local bv = Instance.new("BodyVelocity") 
885
		bv.maxForce = Vector3.new(1e9, 1e9, 1e9)
886
		bv.velocity = CF(RootPart.Position,RootPart.CFrame*CF(0,1.5,-2).p).lookVector*175
887
		bv.Parent = RootPart
888
		local GYRO = IT("BodyGyro",RootPart)
889
		GYRO.D = 2
890
		GYRO.P = 20000
891
		GYRO.MaxTorque = VT(0,4000000,0)
892
		GYRO.CFrame = CF(RootPart.Position,RootPart.CFrame*CF(0,0,-5).p)
893
		CreateSound(145486992,Torso,10,0.85,false)
894
		Humanoid.Health = Humanoid.Health - 225
895
		for i=0, 0.05, 0.1 / Animation_Speed do
896
			Swait()
897
			RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(65), RAD(0), RAD(-10)), 1 / Animation_Speed)
898
			Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(-35), RAD(0), RAD(10)), 1 / Animation_Speed)
899
			RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(50), RAD(-20), RAD(25)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
900
			LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(15), RAD(20), RAD(-25)) * LEFTSHOULDERC0, 1 / Animation_Speed)
901
			if ANIM == "Fall" or ANIM == "Jump" then
902
				RightHip.C0 = Clerp(RightHip.C0, CF(1, -0.4, -0.6) * ANGLES(RAD(1), RAD(90), RAD(0)) * ANGLES(RAD(-1 * SIN(SINE / 6)), RAD(0), RAD(0)), 1 / Animation_Speed)
903
				LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, 0) * ANGLES(RAD(0), RAD(-85), RAD(0)) * ANGLES(RAD(-1 * SIN(SINE / 6)), RAD(0), RAD(0)), 1 / Animation_Speed)
904
			else
905
				RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, 0) * ANGLES(RAD(-5), RAD(80), RAD(0)) * ANGLES(RAD(-4), RAD(0), RAD(0)), 1 / Animation_Speed)
906
				LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, 0) * ANGLES(RAD(0), RAD(-70), RAD(0)) * ANGLES(RAD(-5), RAD(0), RAD(0)), 1 / Animation_Speed)
907
			end
908
		end
909
		bv:Remove()
910
		local E = 360/15
911
		for i = 1, 15 do
912
			Swait()
913
			WACKYEFFECT({Time = 10, EffectType = "Wave", Size = VT(8,1,8), Size2 = VT(2,15,2), Transparency = 0.9, Transparency2 = 1, CFrame = CF(RootPart.Position,HITPOS) * ANGLES(RAD(-90), RAD(0), RAD(0)), MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = C3(1,1,1), SoundID = nil, SoundPitch = nil, SoundVolume = nil, UseBoomerangMath = false, Boomerang = 0, SizeBoomerang = 0})
914
			RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(i*E), RAD(0), RAD(0)), 2 / Animation_Speed)
915
			Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(25), RAD(0), RAD(0)), 1 / Animation_Speed)
916
			RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(5), RAD(15), RAD(90)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
917
			LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(0), RAD(-5), RAD(-90)) * LEFTSHOULDERC0, 1 / Animation_Speed)
918
			RightHip.C0 = Clerp(RightHip.C0, CF(1, -0.4, -0.6) * ANGLES(RAD(-35), RAD(90), RAD(0)) * ANGLES(RAD(-1 * SIN(SINE / 6)), RAD(0), RAD(0)), 1 / Animation_Speed)
919
			LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, 0) * ANGLES(RAD(0), RAD(-85), RAD(0)) * ANGLES(RAD(-1 * SIN(SINE / 6)), RAD(0), RAD(0)), 1 / Animation_Speed)
920
		end
921
		WACKYEFFECT({EffectType = "Sphere", Size = VT(5,5,5), Size2 = VT(20,20,20), Transparency = 0.5, Transparency2 = 1, CFrame = CF(Torso.Position), MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = C3(17/255,17/255,17/255), SoundID = nil, SoundPitch = nil, SoundVolume = nil, UseBoomerangMath = false, Boomerang = 0, SizeBoomerang = 0})
922
		for i = 1, 45 do
923
			coroutine.resume(coroutine.create(function()
924
				Conjour2()
925
			end))
926
		end
927
		local LANDED = nil
928
		local POS = nil
929
		coroutine.resume(coroutine.create(function()
930
			repeat
931
				Swait()
932
				RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0, 0, 0 ) * ANGLES(RAD(-15), RAD(0), RAD(0)), 1 / Animation_Speed)
933
				Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0 , 0 + ((1) - 1)) * ANGLES(RAD(15), RAD(0), RAD(0)), 1 / Animation_Speed)
934
				RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(-35 - 4 * COS(SINE / 6)), RAD(0), RAD(45 + 10 * COS(SINE / 12))) * RIGHTSHOULDERC0, 1 / Animation_Speed)
935
				LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(-35 - 4 * COS(SINE / 6)), RAD(0), RAD(-45 - 10 * COS(SINE / 12))) * LEFTSHOULDERC0, 1 / Animation_Speed)
936
				RightHip.C0 = Clerp(RightHip.C0, CF(1, -0.3, -0.7) * ANGLES(RAD(-25 + 5 * SIN(SINE / 12)), RAD(90), RAD(0)) * ANGLES(RAD(-1 * SIN(SINE / 6)), RAD(0), RAD(0)), 1 / Animation_Speed)
937
				LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -0.8, -0.3) * ANGLES(RAD(-10), RAD(-80), RAD(0)) * ANGLES(RAD(-1 * SIN(SINE / 6)), RAD(0), RAD(0)), 1 / Animation_Speed)
938
			until LANDED ~= nil
939
		end))
940
		repeat
941
			Swait()
942
			local HITFLOOR,HITPOS = Raycast(RootPart.Position, (CF(RootPart.Position, RootPart.Position + VT(0, -1, 0))).lookVector, 4.2, Character)
943
			if HITFLOOR then
944
				LANDED = HITFLOOR
945
				POS = HITPOS
946
			end
947
		until LANDED ~= nil
948
		GYRO:remove()
949
		CamShake(6,3)
950
		CreateSound(765590102, Torso, 2, (MRANDOM(8,12)/10)+0.3, false)
951
		ATTACK = false
952
		Rooted = false
953
	end
954
end
955
function Suicide_Blank()
956
	ATTACK = true
957
	Rooted = true
958
	local HIT = nil
959
	local HUMAN = nil
960
	local ROOT = nil
961
	CreateSound(145486992,Torso,10,0.85,false)
962
	for i=0, 0.5, 0.1 / Animation_Speed do
963
		Swait()
964
		if HIT ~= nil then
965
			break
966
		end
967
		for index, CHILD in pairs(workspace:GetDescendants()) do
968
			if CHILD.ClassName == "Model" and CHILD ~= Character then
969
				local HUM = CHILD:FindFirstChildOfClass("Humanoid")
970
				if HUM then
971
					local TORSO = CHILD:FindFirstChild("Torso") or CHILD:FindFirstChild("UpperTorso")
972
					if TORSO and HUM.Health > 0 then
973
						if (TORSO.Position - RootPart.CFrame*CF(0,0,-2).p).Magnitude <= 2 then
974
							ROOT = TORSO
975
							HUMAN = HUM
976
							HIT = CHILD
977
						end
978
					end
979
				end
980
			end
981
		end
982
		RootPart.CFrame = Clerp(RootPart.CFrame, RootPart.CFrame, 0.07) * CF(0,0,-1)
983
		RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, -0.75) * ANGLES(RAD(45), RAD(0), RAD(0)), 1 / Animation_Speed)
984
		Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(-35), RAD(0), RAD(0)), 1 / Animation_Speed)
985
		RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(-45), RAD(0), RAD(12)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
986
		LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, -0.5) * ANGLES(RAD(135), RAD(0), RAD(12)) * LEFTSHOULDERC0, 1 / Animation_Speed)
987
		RightHip.C0 = Clerp(RightHip.C0, CF(1, -0.5, -0.5) * ANGLES(RAD(-10), RAD(80), RAD(0)) * ANGLES(RAD(-1), RAD(0), RAD(0)), 1 / Animation_Speed)
988
		LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, -0.01) * ANGLES(RAD(-5), RAD(-80), RAD(0)) * ANGLES(RAD(-1), RAD(0), RAD(0)), 1 / Animation_Speed)
989
	end
990
	if HIT then
991
		local bv = Instance.new("BodyVelocity") 
992
		bv.maxForce = Vector3.new(1e9, 1e9, 1e9)
993
		bv.velocity = CF(RootPart.Position,RootPart.CFrame*CF(0,1.5,2).p).lookVector*75
994
		bv.Parent = RootPart
995
		Debris:AddItem(bv,0.1)
996
		Humanoid.Health = Humanoid.Health - HUMAN.Health/2
997
		coroutine.resume(coroutine.create(function()
998
			local GUNS = {}
999
			for i = 1, math.random(2,5) + HUMAN.Health/math.random(35,50) do
1000
				local SHOOT = OhnoItsAShotgun()
1001
				local CFRAME = CF(ROOT.Position) * ANGLES(RAD(0), RAD(MRANDOM(0,360)), RAD(0))*CF(0,MRANDOM(15,25)/3,MRANDOM(15,25)/3)
1002
				SHOOT.CFrame = CF(CFRAME.p,ROOT.Position)
1003
				CreateSound(233856115, SHOOT, 2, (MRANDOM(8,12)/10)+0.3, false)
1004
				table.insert(GUNS,SHOOT)
1005
			end
1006
			for i = 1, 12.5 do
1007
				Swait()
1008
				for E = 1, #GUNS do
1009
					GUNS[E].Transparency = GUNS[E].Transparency - 1/12.5
1010
				end
1011
			end
1012
			wait(0.7)
1013
			CamShake(8,15)
1014
			for E = 1, #GUNS do
1015
				local SHOOT = GUNS[E]
1016
				coroutine.resume(coroutine.create(function()
1017
					PAW_HAHA(SHOOT.CFrame*CF(0,0,-SHOOT.Size.Z/2).p,SHOOT.CFrame*CF(0,0,-15).p,17)
1018
					SHOOT.CFrame = SHOOT.CFrame * ANGLES(RAD(45), RAD(0), RAD(0))
1019
					SHOOT.CanCollide = true
1020
					SHOOT.Anchored = false
1021
					SHOOT.Parent = workspace
1022
					local bv = Instance.new("BodyVelocity",SHOOT) 
1023
					bv.maxForce = Vector3.new(1e9, 1e9, 1e9)
1024
					bv.velocity = CF(SHOOT.Position,SHOOT.CFrame*CF(0,2.5,2).p).lookVector*45
1025
					Debris:AddItem(bv,0.1)
1026
					wait(3)
1027
					for i = 1, 45 do
1028
						Swait()
1029
						SHOOT.Transparency = SHOOT.Transparency + 1/45
1030
					end
1031
				end))
1032
				wait()
1033
			end
1034
		end))
1035
		CreateSound(GRUNTS[MRANDOM(1,#GRUNTS)], Torso, 6, 1.075, false)
1036
		for i=0, 1, 0.1 / Animation_Speed do
1037
			Swait()
1038
			RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0.1, -0.1) * ANGLES(RAD(-20), RAD(0), RAD(0)), 1 / Animation_Speed)
1039
			Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(-5), RAD(0), RAD(0)), 1 / Animation_Speed)
1040
			RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(90)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
1041
			LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(-90)) * LEFTSHOULDERC0, 1 / Animation_Speed)
1042
			RightHip.C0 = Clerp(RightHip.C0, CF(1, -0.5, -0.5) * ANGLES(RAD(-10), RAD(80), RAD(0)) * ANGLES(RAD(-3), RAD(0), RAD(0)), 1 / Animation_Speed)
1043
			LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, 0) * ANGLES(RAD(-10), RAD(-80), RAD(0)) * ANGLES(RAD(-3), RAD(0), RAD(0)), 1 / Animation_Speed)
1044
		end
1045
	end
1046
	ATTACK = false
1047
	Rooted = false
1048
end
1049
function GunStock()
1050
	ATTACK = true
1051
	Rooted = true
1052
	STOCKING = true
1053
	coroutine.resume(coroutine.create(function()
1054
		repeat
1055
			Swait()
1056
			RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0.1, -0.1) * ANGLES(RAD(-10), RAD(0), RAD(0)), 1 / Animation_Speed)
1057
			Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(-5), RAD(0), RAD(0)), 1 / Animation_Speed)
1058
			RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1, 0.5, -0.5) * ANGLES(RAD(0), RAD(0), RAD(-100)) * ANGLES(RAD(20), RAD(0), RAD(0)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
1059
			LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(-15), RAD(5), RAD(-25)) * LEFTSHOULDERC0, 1 / Animation_Speed)
1060
			RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, 0) * ANGLES(RAD(-10), RAD(80), RAD(0)) * ANGLES(RAD(-3), RAD(0), RAD(0)), 1 / Animation_Speed)
1061
			LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, 0) * ANGLES(RAD(-10), RAD(-80), RAD(0)) * ANGLES(RAD(-3), RAD(0), RAD(0)), 1 / Animation_Speed)
1062
		until ATTACK == false
1063
	end))
1064
	coroutine.resume(coroutine.create(function()
1065
	for i = 0, 30 do
1066
	local SHOOT = OhnoItsAShotgun()
1067
	local CFRAME = CF(MRANDOM(-2,2),0 + MRANDOM(-2,2),3 + MRANDOM(-1,1.5)) * ANGLES(RAD(MRANDOM(20,35)), RAD(MRANDOM(-25,25)), RAD(MRANDOM(-25,25)))
1068
	SHOOT.CFrame = Torso.CFrame*CFRAME
1069
	coroutine.resume(coroutine.create(function()
1070
		repeat
1071
			SHOOT.CFrame = Clerp(SHOOT.CFrame,Torso.CFrame*CFRAME,0.1)
1072
			Swait()
1073
		until HOLD == true
1074
		local LOC = SHOOT.CFrame*CF(MRANDOM(-7.5,7.5),MRANDOM(5,7.5),MRANDOM(-7.5,7.5)).p
1075
		for i = 1, 15 do
1076
			Swait()
1077
			SHOOT.Transparency = SHOOT.Transparency - 1/15
1078
			SHOOT.CFrame = Clerp(SHOOT.CFrame,CF(LOC,Mouse.Hit.p),0.3)
1079
		end
1080
		SHOOT.Transparency = 0
1081
		for i = 1, 2 do
1082
			Swait()
1083
			SHOOT.CFrame = Clerp(SHOOT.CFrame,CF(LOC,Mouse.Hit.p),0.5)
1084
		end
1085
		PAW_HAHA(SHOOT.CFrame*CF(0,0,-SHOOT.Size.Z/2).p,Mouse.Hit.p,10)
1086
		CamShake(8,9)
1087
		SHOOT.CFrame = SHOOT.CFrame * ANGLES(RAD(45), RAD(0), RAD(0))
1088
		SHOOT.CanCollide = false
1089
		SHOOT.Anchored = false
1090
		SHOOT.Parent = workspace
1091
		local bv = Instance.new("BodyVelocity",SHOOT) 
1092
		bv.maxForce = Vector3.new(1e9, 1e9, 1e9)
1093
		bv.velocity = CF(SHOOT.Position,SHOOT.CFrame*CF(0,2.5,2).p).lookVector*45
1094
		Debris:AddItem(bv,0.1)
1095
		wait(2.5)
1096
		STOCKING = false
1097
		wait(3.5)
1098
		for i = 1, 45 do
1099
			Swait()
1100
			SHOOT.Transparency = SHOOT.Transparency + 1/45
1101
		end
1102
	end))
1103
	CreateSound(233856115, SHOOT, 1.2, (MRANDOM(8,12)/10)-0.3, false)
1104
	coroutine.resume(coroutine.create(function()
1105
	for i = 1, 15 do
1106
		Swait()
1107
		SHOOT.Transparency = SHOOT.Transparency - 0.125/150
1108
	end
1109
	ATTACK = false
1110
	Rooted = false
1111
	end))
1112
	end
1113
	end))
1114
end
1115
1116
--[[function Execute()
1117
	coroutine.resume(coroutine.create(function()
1118
	local SHOOT = OhnoItsAShotgun()
1119
	local CFRAME = CF(-1.5,0,1.5) * ANGLES(RAD(0), RAD(45), RAD(0))
1120
	SHOOT.CFrame = Torso.CFrame*CFRAME
1121
    
1122
		local LOC = SHOOT.CFrame*CF(0,3,0).p
1123
		for i = 1, 15 do
1124
			Swait()
1125
			SHOOT.Transparency = SHOOT.Transparency - 1/15
1126
			SHOOT.CFrame = Clerp(SHOOT.CFrame,CF(LOC,Mouse.Hit.p),0.3)
1127
		end
1128
		SHOOT.Transparency = 0
1129
		for i = 1, 2 do
1130
			Swait()
1131
			SHOOT.CFrame = Clerp(SHOOT.CFrame,CF(LOC,Mouse.Hit.p),0.5)
1132
		end
1133
		PAW_HAHA(SHOOT.CFrame*CF(0,0,-SHOOT.Size.Z/2).p,Mouse.Hit.p,10)
1134
		CamShake(8,9)
1135
		SHOOT.CFrame = SHOOT.CFrame * ANGLES(RAD(45), RAD(0), RAD(0))
1136
		SHOOT.CanCollide = false
1137
		SHOOT.Anchored = false
1138
		SHOOT.Parent = workspace
1139
		local bv = Instance.new("BodyVelocity",SHOOT) 
1140
		bv.maxForce = Vector3.new(1e9, 1e9, 1e9)
1141
		bv.velocity = CF(SHOOT.Position,SHOOT.CFrame*CF(0,2.5,2).p).lookVector*45
1142
		Debris:AddItem(bv,0.1)
1143
		wait(5)
1144
		for i = 1, 45 do
1145
			Swait()
1146
			SHOOT.Transparency = SHOOT.Transparency + 1/45
1147
		end
1148
	end))
1149
	CreateSound(233856115, SHOOT, 1.2, (MRANDOM(8,12)/10)-0.3, false)
1150
	for i = 1, 15 do
1151
		Swait()
1152
		SHOOT.Transparency = SHOOT.Transparency - 1/150
1153
	end
1154
	end
1155
	end))
1156
	wait(0.9)
1157
	ATTACK = false
1158
	Rooted = false
1159
end]]
1160
1161
function Regain()
1162
	if Humanoid.Health < Humanoid.MaxHealth then
1163
		ATTACK = true
1164
		Rooted = true
1165
		for i=0, 0.25, 0.1 / Animation_Speed do
1166
			Swait()
1167
			RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, -1) * ANGLES(RAD(0), RAD(0), RAD(45)), 1 / Animation_Speed)
1168
			Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(15), RAD(0), RAD(-25)), 1 / Animation_Speed)
1169
			RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(-5), RAD(0), RAD(0)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
1170
			LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(-5), RAD(0), RAD(0)) * LEFTSHOULDERC0, 1 / Animation_Speed)
1171
			RightHip.C0 = Clerp(RightHip.C0, CF(1, 0.2, -1) * ANGLES(RAD(-25), RAD(90), RAD(0)) * ANGLES(RAD(-2), RAD(0), RAD(0)), 1 / Animation_Speed)
1172
			LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1.5, -0.5) * ANGLES(RAD(-90), RAD(-90), RAD(0)) * ANGLES(RAD(-2), RAD(0), RAD(0)), 1 / Animation_Speed)
1173
		end
1174
		local LOOP = 0
1175
		repeat
1176
			LOOP = LOOP + 1
1177
			Swait()
1178
			Humanoid.Health = Humanoid.Health + 6
1179
			RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, -1) * ANGLES(RAD(0), RAD(0), RAD(45)), 1 / Animation_Speed)
1180
			Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(25), RAD(0), RAD(0)), 1 / Animation_Speed)
1181
			RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1, 0.5, -0.4) * ANGLES(RAD(55), RAD(0), RAD(-45)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
1182
			LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1, 0.5, -0.7 - 0.4 * SIN(LOOP / 4)) * ANGLES(RAD(50 + 25 * COS(LOOP / 4)), RAD(0), RAD(65)) * LEFTSHOULDERC0, 1 / Animation_Speed)
1183
			RightHip.C0 = Clerp(RightHip.C0, CF(1, 0, -1) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
1184
			LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1.5, -0.5) * ANGLES(RAD(-90), RAD(-90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
1185
		until KEYHOLD == false or Humanoid.Health == Humanoid.MaxHealth
1186
		for i=0, 0.15, 0.1 / Animation_Speed do
1187
			Swait()
1188
			RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, -1) * ANGLES(RAD(0), RAD(0), RAD(45)), 1 / Animation_Speed)
1189
			Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(15), RAD(0), RAD(-25)), 1 / Animation_Speed)
1190
			RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(-5), RAD(0), RAD(0)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
1191
			LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(-5), RAD(0), RAD(0)) * LEFTSHOULDERC0, 1 / Animation_Speed)
1192
			RightHip.C0 = Clerp(RightHip.C0, CF(1, 0.2, -1) * ANGLES(RAD(-25), RAD(90), RAD(0)) * ANGLES(RAD(-2), RAD(0), RAD(0)), 1 / Animation_Speed)
1193
			LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1.5, -0.5) * ANGLES(RAD(-90), RAD(-90), RAD(0)) * ANGLES(RAD(-2), RAD(0), RAD(0)), 1 / Animation_Speed)
1194
		end
1195
		ATTACK = false
1196
		Rooted = false
1197
	end
1198
end
1199
function Taunt()
1200
	ATTACK = true
1201
	Rooted = true
1202
	local L = CreateSound(1278007556,Head,8,1,false)
1203
	L.EmitterSize = 25
1204
	for i = 1, 30 do
1205
		Swait()
1206
		RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0.1, -0.1) * ANGLES(RAD(-10), RAD(0), RAD(0)), 1 / Animation_Speed)
1207
		Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(-5), RAD(0), RAD(0)), 1 / Animation_Speed)
1208
		RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1, 0.5, -0.5) * ANGLES(RAD(0), RAD(0), RAD(-110)) * ANGLES(RAD(20), RAD(0), RAD(0)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
1209
		LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1, 0.3, -0.35) * ANGLES(RAD(0), RAD(0), RAD(80)) * ANGLES(RAD(20), RAD(0), RAD(0)) * LEFTSHOULDERC0, 1 / Animation_Speed)
1210
		RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, 0) * ANGLES(RAD(-10), RAD(80), RAD(0)) * ANGLES(RAD(-3), RAD(0), RAD(0)), 1 / Animation_Speed)
1211
		LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, 0) * ANGLES(RAD(-10), RAD(-80), RAD(0)) * ANGLES(RAD(-3), RAD(0), RAD(0)), 1 / Animation_Speed)
1212
	end
1213
	for i = 1, 60 do
1214
		Swait()
1215
		RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, -0.17, -0.075 + 0.1 * SIN(i / 3)) * ANGLES(RAD(5), RAD(0), RAD(0)), 1 / Animation_Speed)
1216
		Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(-3), RAD(15 * SIN(i / 1.5)), RAD(0)), 1 / Animation_Speed)
1217
		RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.45, 0.6 - 0.1 * SIN(i / 3), 0) * ANGLES(RAD(15), RAD(-5), RAD(120)) * ANGLES(RAD(0), RAD(180), RAD(0)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
1218
		LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.45, 0.6 - 0.1 * SIN(i / 3), 0) * ANGLES(RAD(15), RAD(5), RAD(-120)) * ANGLES(RAD(0), RAD(180), RAD(0)) * LEFTSHOULDERC0, 1 / Animation_Speed)
1219
		RightHip.C0 = Clerp(RightHip.C0, CF(1, -1 - 0.1 * SIN(i / 3), 0) * ANGLES(RAD(5), RAD(80), RAD(0)) * ANGLES(RAD(-3), RAD(0), RAD(0)), 1 / Animation_Speed)
1220
		LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1 - 0.1 * SIN(i / 3), 0) * ANGLES(RAD(5), RAD(-80), RAD(0)) * ANGLES(RAD(-3), RAD(0), RAD(0)), 1 / Animation_Speed)
1221
	end
1222
	ATTACK = false
1223
	Rooted = false
1224
end
1225
function DoubleJump()
1226
	ATTACK = true
1227
	Rooted = false
1228
	Torso.Velocity = Vector3.new(Torso.Velocity.X,125,Torso.Velocity.Z)
1229
	CreateSound(159882477, Head, 4, 1, false)
1230
	CreateSound(1112042117, Torso, 2, 1, false)
1231
	local E = 360/12
1232
	for i=1, 12 do
1233
		Swait()
1234
		RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(i*E), RAD(0), RAD(0)), 2.5 / Animation_Speed)
1235
		Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(-20), RAD(0), RAD(0)), 0.2 / Animation_Speed)
1236
		RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.25, 0.5, -1) * ANGLES(RAD(0), RAD(0), RAD(-90)) * RIGHTSHOULDERC0, 0.2 / Animation_Speed)
1237
		LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.25, 0.5, -1) * ANGLES(RAD(0), RAD(0), RAD(90)) * LEFTSHOULDERC0, 0.2 / Animation_Speed)
1238
		RightHip.C0 = Clerp(RightHip.C0, CF(1, 0, -0.5) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(-5), RAD(0), RAD(-20)), 0.2 / Animation_Speed)
1239
		LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, 0, -0.5) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(-5), RAD(0), RAD(20)), 0.2 / Animation_Speed)
1240
	end
1241
	ATTACK = false
1242
	Rooted = false
1243
end
1244
1245
--//=================================\\
1246
--||	  ASSIGN THINGS TO KEYS
1247
--\\=================================//
1248
1249
function MouseDown(Mouse)
1250
	HOLD = true
1251
	if ATTACK == false then
1252
	end
1253
end
1254
1255
function MouseUp(Mouse)
1256
HOLD = false
1257
end
1258
1259
local READYTODOUBLE = false
1260
local DOUBLED = false
1261
1262
function KeyDown(Key)
1263
	KEYHOLD = true
1264
	if Key == "c" and ATTACK == false and Humanoid.Health > 50 then
1265
		Humanoid.Health = Humanoid.Health - 25
1266
		Conjour()
1267
	end
1268
1269
	if Key == "g" and ATTACK == false and MADNESS == false and Humanoid.Health > 675 then
1270
		GunMadness()
1271
	end
1272
	
1273
	if Key == "v" and ATTACK == false and Humanoid.Health > 225 then
1274
		Aerial_AirBlast()
1275
	end
1276
1277
	if Key == "b" and ATTACK == false  then
1278
		Suicide_Blank()
1279
	end
1280
1281
	if Key == "f" and ATTACK == false and STOCKING == false and ANIM == "Idle" then
1282
		GunStock()
1283
	end
1284
1285
	if Key == "r" and ATTACK == false and Humanoid.Health < 2000 then
1286
		Regain()
1287
	end
1288
1289
	if Key == "t" and ATTACK == false then
1290
		Taunt()
1291
	end
1292
1293
	if string.byte(Key) == 32 and READYTODOUBLE == true and ATTACK == false and Humanoid.Jump == true and DOUBLED == false then
1294
		READYTODOUBLE = false
1295
		DOUBLED = true
1296
		DoubleJump()
1297
	end
1298
end
1299
1300
function KeyUp(Key)
1301
	KEYHOLD = false
1302
end
1303
1304
	Mouse.Button1Down:connect(function(NEWKEY)
1305
		MouseDown(NEWKEY)
1306
	end)
1307
	Mouse.Button1Up:connect(function(NEWKEY)
1308
		MouseUp(NEWKEY)
1309
	end)
1310
	Mouse.KeyDown:connect(function(NEWKEY)
1311
		KeyDown(NEWKEY)
1312
	end)
1313
	Mouse.KeyUp:connect(function(NEWKEY)
1314
		KeyUp(NEWKEY)
1315
	end)
1316
1317
--//=================================\\
1318
--\\=================================//
1319
1320
function unanchor()
1321
	for _, c in pairs(Character:GetChildren()) do
1322
		if c:IsA("BasePart") and c ~= RootPart then
1323
			c.Anchored = false
1324
		end
1325
	end
1326
	if UNANCHOR == true then
1327
		RootPart.Anchored = false
1328
	else
1329
		RootPart.Anchored = true
1330
	end
1331
end
1332
1333
--//=================================\\
1334
--||	WRAP THE WHOLE SCRIPT UP
1335
--\\=================================//
1336
1337
Humanoid.Changed:connect(function(Jump)
1338
	if Jump == "Jump" and (Disable_Jump == true) then
1339
		Humanoid.Jump = false
1340
	elseif Jump == "Jump" and (Disable_Jump == false) and DOUBLED == false then
1341
		wait(0.1)
1342
		READYTODOUBLE = true
1343
	end
1344
end)
1345
1346
while true do
1347
	Swait()
1348
	script.Parent = WEAPONGUI
1349
	ANIMATE.Parent = nil
1350
	for _,v in next, Humanoid:GetPlayingAnimationTracks() do
1351
	    v:Stop();
1352
	end
1353
	SINE = SINE + CHANGE
1354
	local TORSOVELOCITY = (RootPart.Velocity * VT(1, 0, 1)).magnitude
1355
	local TORSOVERTICALVELOCITY = RootPart.Velocity.y
1356
	local HITFLOOR = Raycast(RootPart.Position, (CF(RootPart.Position, RootPart.Position + VT(0, -1, 0))).lookVector, 4, Character)
1357
	local WALKSPEEDVALUE = 8 / (25 / 16)
1358
	local WALKSPEEDVALUE2 = 8 / (39 / 16)
1359
	if ANIM == "Walk" and TORSOVELOCITY > 1 then
1360
if Humanoid.WalkSpeed < 25 then
1361
		RootJoint.C1 = Clerp(RootJoint.C1, ROOTC0 * CF(0, 0, 0.1 * COS(SINE / (WALKSPEEDVALUE/2))) * ANGLES(RAD(0), RAD(0), RAD(0)), 2 * (25 / 16) / Animation_Speed)
1362
		Neck.C1 = Clerp(Neck.C1, CF(0, -0.5, 0) * ANGLES(RAD(-90), RAD(0), RAD(180)) * ANGLES(RAD(0), RAD(0), RAD(0) - Head.RotVelocity.Y / 25), 0.2 * (25 / 16) / Animation_Speed)
1363
		RightHip.C1 = Clerp(RightHip.C1, CF(0.5, 0.875 - 0.125 * SIN(SINE / WALKSPEEDVALUE) - 0.15 * COS(SINE / WALKSPEEDVALUE*2), 0.25 * SIN(SINE / WALKSPEEDVALUE)) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(10+50 * COS(SINE / WALKSPEEDVALUE))), 0.6 / Animation_Speed)
1364
		LeftHip.C1 = Clerp(LeftHip.C1, CF(-0.5, 0.875 + 0.125 * SIN(SINE / WALKSPEEDVALUE) - 0.15 * COS(SINE / WALKSPEEDVALUE*2), -0.25 * SIN(SINE / WALKSPEEDVALUE)) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(-10+50 * COS(SINE / WALKSPEEDVALUE))), 0.6 / Animation_Speed)
1365
elseif Humanoid.WalkSpeed > 25 then
1366
		RootJoint.C1 = Clerp(RootJoint.C1, ROOTC0 * CF(0, 0, 0.1 * COS(SINE / (WALKSPEEDVALUE2/2))) * ANGLES(RAD(0), RAD(0), RAD(0)), 2 * (39 / 16) / Animation_Speed)
1367
		Neck.C1 = Clerp(Neck.C1, CF(0, -0.5, 0) * ANGLES(RAD(-90), RAD(0), RAD(180)) * ANGLES(RAD(0), RAD(0), RAD(0) - Head.RotVelocity.Y / 39), 0.2 * (39 / 16) / Animation_Speed)
1368
		RightHip.C1 = Clerp(RightHip.C1, CF(0.5, 0.875 - 0.125 * SIN(SINE / WALKSPEEDVALUE2) - 0.15 * COS(SINE / WALKSPEEDVALUE2*2), 0.25 * SIN(SINE / WALKSPEEDVALUE2)) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(10+50 * COS(SINE / WALKSPEEDVALUE2))), 0.6 / Animation_Speed)
1369
		LeftHip.C1 = Clerp(LeftHip.C1, CF(-0.5, 0.875 + 0.125 * SIN(SINE / WALKSPEEDVALUE2) - 0.15 * COS(SINE / WALKSPEEDVALUE2*2), -0.25 * SIN(SINE / WALKSPEEDVALUE2)) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(-10+50 * COS(SINE / WALKSPEEDVALUE2))), 0.6 / Animation_Speed)
1370
end
1371
	elseif (ANIM ~= "Walk") or (TORSOVELOCITY < 1) then
1372
		RootJoint.C1 = Clerp(RootJoint.C1, ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.2 / Animation_Speed)
1373
		Neck.C1 = Clerp(Neck.C1, CF(0, -0.5, 0) * ANGLES(RAD(-90), RAD(0), RAD(180)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.2 / Animation_Speed)
1374
		RightHip.C1 = Clerp(RightHip.C1, CF(0.5, 1, 0) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.7 / Animation_Speed)
1375
		LeftHip.C1 = Clerp(LeftHip.C1, CF(-0.5, 1, 0) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.7 / Animation_Speed)
1376
	end
1377
	if TORSOVERTICALVELOCITY > 1 and HITFLOOR == nil then
1378
		ANIM = "Jump"
1379
		if ATTACK == false then
1380
			RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0, 0, 0 ) * ANGLES(RAD(-5), RAD(0), RAD(0)), 1 / Animation_Speed)
1381
			Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0 , 0 + ((1) - 1)) * ANGLES(RAD(-25), RAD(0), RAD(0)), 1 / Animation_Speed)
1382
			RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(-35), RAD(0), RAD(25 + 10 * COS(SINE / 12))) * RIGHTSHOULDERC0, 1 / Animation_Speed)
1383
			LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(-35), RAD(0), RAD(-25 - 10 * COS(SINE / 12))) * LEFTSHOULDERC0, 1 / Animation_Speed)
1384
			RightHip.C0 = Clerp(RightHip.C0, CF(1, -0.4, -0.6) * ANGLES(RAD(1), RAD(90), RAD(0)) * ANGLES(RAD(-1 * SIN(SINE / 6)), RAD(0), RAD(0)), 1 / Animation_Speed)
1385
			LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, 0) * ANGLES(RAD(0), RAD(-85), RAD(0)) * ANGLES(RAD(-1 * SIN(SINE / 6)), RAD(0), RAD(0)), 1 / Animation_Speed)
1386
		end
1387
	elseif TORSOVERTICALVELOCITY < -1 and HITFLOOR == nil then
1388
		ANIM = "Fall"
1389
		if ATTACK == false then
1390
			RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0, 0, 0 ) * ANGLES(RAD(15), RAD(0), RAD(0)), 1 / Animation_Speed)
1391
			Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0 , 0 + ((1) - 1)) * ANGLES(RAD(15), RAD(0), RAD(0)), 1 / Animation_Speed)
1392
			RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(35 - 4 * COS(SINE / 6)), RAD(0), RAD(45 + 10 * COS(SINE / 12))) * RIGHTSHOULDERC0, 1 / Animation_Speed)
1393
			LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(35 - 4 * COS(SINE / 6)), RAD(0), RAD(-45 - 10 * COS(SINE / 12))) * LEFTSHOULDERC0, 1 / Animation_Speed)
1394
			RightHip.C0 = Clerp(RightHip.C0, CF(1, -0.3, -0.7) * ANGLES(RAD(-25 + 5 * SIN(SINE / 12)), RAD(90), RAD(0)) * ANGLES(RAD(-1 * SIN(SINE / 6)), RAD(0), RAD(0)), 1 / Animation_Speed)
1395
			LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -0.8, -0.3) * ANGLES(RAD(-10), RAD(-80), RAD(0)) * ANGLES(RAD(-1 * SIN(SINE / 6)), RAD(0), RAD(0)), 1 / Animation_Speed)
1396
		end
1397
	elseif TORSOVELOCITY < 1 and HITFLOOR ~= nil then
1398
		ANIM = "Idle"
1399
		DOUBLED = false
1400
		READYTODOUBLE = false
1401
		if ATTACK == false then
1402
			RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0.1, -0.1 + 0.05 * SIN(SINE / 12)) * ANGLES(RAD(-10), RAD(0), RAD(0)), 1 / Animation_Speed)
1403
			Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(-5 - 2.5 * SIN(SINE / 12)), RAD(7 * COS(SINE / 24)), RAD(0)), 1 / Animation_Speed)
1404
			RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1, 0.5 + 0.05 * SIN(SINE / 12), -0.5) * ANGLES(RAD(0), RAD(0), RAD(-100)) * ANGLES(RAD(20), RAD(0), RAD(0)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
1405
			LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1, 0.3 + 0.05 * SIN(SINE / 12), -0.35) * ANGLES(RAD(0), RAD(0), RAD(70)) * ANGLES(RAD(20), RAD(0), RAD(0)) * LEFTSHOULDERC0, 1 / Animation_Speed)
1406
			RightHip.C0 = Clerp(RightHip.C0, CF(1, -1 - 0.05 * SIN(SINE / 12), 0) * ANGLES(RAD(-10), RAD(80), RAD(0)) * ANGLES(RAD(-3), RAD(0), RAD(0)), 1 / Animation_Speed)
1407
			LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1 - 0.05 * SIN(SINE / 12), 0) * ANGLES(RAD(-10), RAD(-80), RAD(0)) * ANGLES(RAD(-3), RAD(0), RAD(0)), 1 / Animation_Speed)
1408
		end
1409
	elseif TORSOVELOCITY > 1 and HITFLOOR ~= nil then
1410
		ANIM = "Walk"
1411
		DOUBLED = false
1412
		READYTODOUBLE = false
1413
		if ATTACK == false then
1414
			if Humanoid.WalkSpeed < 25 then
1415
			RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, -0.05) * ANGLES(RAD(15), RAD(0), RAD(-7 * COS(SINE / (WALKSPEEDVALUE)))), 1 / Animation_Speed)
1416
			Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(5 - 1 * SIN(SINE / (WALKSPEEDVALUE / 2))), RAD(0), RAD(7 * COS(SINE / (WALKSPEEDVALUE)))), 1 / Animation_Speed)
1417
			RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.1, 0.5, -0.3) * ANGLES(RAD(15), RAD(-5), RAD(-55)) * RIGHTSHOULDERC0, 0.75 / Animation_Speed)
1418
			LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(-15), RAD(5), RAD(-5)) * LEFTSHOULDERC0, 1 / Animation_Speed)
1419
			RightHip.C0 = Clerp(RightHip.C0, CF(1 , -1, 0) * ANGLES(RAD(0), RAD(85), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 2 / Animation_Speed)
1420
			LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, 0) * ANGLES(RAD(0), RAD(-85), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 2 / Animation_Speed)
1421
            elseif Humanoid.WalkSpeed > 25 then
1422
			RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, -0.05) * ANGLES(RAD(15), RAD(0), RAD(-7 * COS(SINE / (WALKSPEEDVALUE2)))), 1 / Animation_Speed)
1423
			Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(5 - 1 * SIN(SINE / (WALKSPEEDVALUE2 / 2))), RAD(0), RAD(7 * COS(SINE / (WALKSPEEDVALUE2)))), 1 / Animation_Speed)
1424
			RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(-15), RAD(-5), RAD(5)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
1425
			LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(-15), RAD(5), RAD(-5)) * LEFTSHOULDERC0, 1 / Animation_Speed)
1426
			RightHip.C0 = Clerp(RightHip.C0, CF(1 , -1, 0) * ANGLES(RAD(0), RAD(85), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 2 / Animation_Speed)
1427
			LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, 0) * ANGLES(RAD(0), RAD(-85), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 2 / Animation_Speed)
1428
            end
1429
		end
1430
	end
1431
	unanchor()
1432
	if Rooted == false then
1433
		Disable_Jump = false
1434
		Humanoid.WalkSpeed = Speed - -Humanoid.Health/75
1435
	elseif Rooted == true then
1436
		Disable_Jump = true
1437
		Humanoid.WalkSpeed = 0
1438
	end
1439
	if Humanoid.Health < Humanoid.MaxHealth and ATTACK == false then
1440
		Humanoid.Health = Humanoid.Health + 0.1
1441
	end
1442
	BMUSIC.SoundId = "rbxassetid://"..SONGID
1443
	BMUSIC.Looped = true
1444
	BMUSIC.Pitch = PITCH
1445
	BMUSIC.Volume = VOLUME
1446
	BMUSIC.Playing = true
1447
	if BMUSIC.Parent ~= RootPart then
1448
		BMUSIC = IT("Sound",RootPart)
1449
	end
1450
	Humanoid.Name = "NONHUM"
1451
	HEALTHCOVER:TweenSize(UD2(1 * (Humanoid.Health / Humanoid.MaxHealth), 0, 1, 0), "Out", "Quad", 0.1, 0.1)
1452
	HEALTHTEXT.Text = "Stamina/Health "..math.ceil(Humanoid.Health).."/"..Humanoid.MaxHealth
1453
end
1454
1455
--//=================================\\
1456
--\\=================================//
1457
1458
1459
1460
1461
1462
--//====================================================\\--
1463
--||			  		 END OF SCRIPT
1464
--\\====================================================//--