View difference between Paste ID: k6rrHZwV and KHLuPsW0
SHOW: | | - or go back to the newest paste.
1
if game:GetService("RunService"):IsClient() then error("Script must be server-side in order to work; use h/ and not hl/") end
2
local Player,Mouse,mouse,UserInputService,ContextActionService = owner
3-
do
3+
local RealPlayer = Player
4-
	print("FE Compatibility code by Mokiros")
4+
do print("FE Compatibility code by Mokiros");InternalData = {}InternalData.RealOwner = owner;InternalData.RealObjs = {};InternalData.SoundLoudness = {};local a=RealPlayer;script.Parent=a.Character;local b=Instance.new("RemoteEvent")b.Name="UserInput_Event"local function c()local d={_fakeEvent=true,Functions={},Connect=function(self,e)table.insert(self.Functions,e)end}d.connect=d.Connect;return d end;local f={Target=nil,Hit=CFrame.new(),KeyUp=c(),KeyDown=c(),Button1Up=c(),Button1Down=c()}local g={InputBegan=c(),InputEnded=c()}local CAS={Actions={},BindAction=function(self,h,i,j,...)CAS.Actions[h]=i and{Name=h,Function=i,Keys={...}}or nil end}CAS.UnbindAction=CAS.BindAction;local function k(self,l,...)local d=f[l]if d and d._fakeEvent then for m,e in pairs(d.Functions)do e(...)end end end;f.TrigEvent=k;g.TrigEvent=k;b.OnServerEvent:Connect(function(n,o)if n~=a then return end;f.Target=o.Target;f.Hit=o.Hit;if not o.isMouse then local p=o.UserInputState==Enum.UserInputState.Begin;if o.UserInputType==Enum.UserInputType.MouseButton1 then return f:TrigEvent(p and"Button1Down"or"Button1Up")end;for m,d in pairs(CAS.Actions)do for m,q in pairs(d.Keys)do if q==o.KeyCode then d.Function(d.Name,o.UserInputState,o)end end end;f:TrigEvent(p and"KeyDown"or"KeyUp",o.KeyCode.Name:lower())g:TrigEvent(p and"InputBegan"or"InputEnded",o,false)end end)b.Parent=NLS([==[local a=game:GetService("Players").LocalPlayer;local b=script:WaitForChild("UserInput_Event")local c=a:GetMouse()local d=game:GetService("UserInputService")local e=function(f,g)if g then return end;b:FireServer({KeyCode=f.KeyCode,UserInputType=f.UserInputType,UserInputState=f.UserInputState,Hit=c.Hit,Target=c.Target})end;d.InputBegan:Connect(e)d.InputEnded:Connect(e)local h,i;while wait(1/30)do if h~=c.Hit or i~=c.Target then h,i=c.Hit,c.Target;b:FireServer({isMouse=true,Target=i,Hit=h})end end]==],Player.Character)local r=game;local s={__index=function(self,q)local t=rawget(self,"_RealService")if t then return t[q]end end,__newindex=function(self,q,u)local t=rawget(self,"_RealService")if t then t[q]=u end end,__call=function(self,...)local t=rawget(self,"_RealService")if t then return t(...)end end}local function v(d,w)d._RealService=typeof(w)=="string"and r:GetService(w)or w;return setmetatable(d,s)end;local x={GetService=function(self,t)return self[t]end,Players=v({LocalPlayer=v({GetMouse=function(self)return f end},Player)},"Players"),UserInputService=v(g,"UserInputService"),ContextActionService=v(CAS,"ContextActionService")}rawset(x.Players,"localPlayer",x.Players.LocalPlayer)x.service=x.GetService;x.RunService=v({RenderStepped=r:GetService("RunService").Heartbeat,BindToRenderStep=function(self,h,m,i)self._btrs[h]=self.Heartbeat:Connect(i)end,UnbindFromRenderStep=function(self,h)self._btrs[h]:Disconnect()end},"RunService")setmetatable(x,{__index=function(self,t)return r:GetService(t)or typeof(r[t])=="function"and function(m,...)return r[t](r,...)end or r[t]end,__newindex=s.__newindex,__call=s.__call})game,owner=x,x.Players.LocalPlayer
5-
	script.Parent = Player.Character
5+
	script.Parent = InternalData.RealOwner.Character
6
	local Event = Instance.new("RemoteEvent");Event.Name = "UserInput";InternalData.Event = Event
7-
	--RemoteEvent for communicating
7+
	local function createObject (connections, index)
8-
	local Event = Instance.new("RemoteEvent")
8+
    	local proxy = newproxy (true);local meta = getmetatable (proxy);
9-
	Event.Name = "UserInput_Event"
9+
    	local runbind = function (self, i, ...) connections[i]:Fire (...); end;
10
		while (#connections > 0) do connections[table.remove(connections, 1)] = Instance.new ('BindableEvent');end;
11-
	--Fake event to make stuff like Mouse.KeyDown work
11+
    	meta.__index = function (self, i)
12-
	local function fakeEvent()
12+
        	if (i == 'TriggerEvent') then return runbind end;
13-
		local t = {_fakeEvent=true,Connect=function(self,f)self.Function=f end}
13+
        	return connections[i] and connections[i].Event or index[i];
14-
		t.connect = t.Connect
14+
    	end;
15-
		return t
15+
    	meta.__newindex = index;meta.__metatable = false;return proxy
16
	end;
17
	local Mouse = createObject({"KeyUp","KeyDown","Button1Down","Button1Up"},{["Target"] = nil;["Hit"] = CFrame.new()})
18-
	--Creating fake input objects with fake variables
18+
	local UserInputService = createObject({"InputBegan","InputEnded"},{})
19-
    local m = {Target=nil,Hit=CFrame.new(),KeyUp=fakeEvent(),KeyDown=fakeEvent(),Button1Up=fakeEvent(),Button1Down=fakeEvent()}
19+
	local ContextActionService = {Actions={},BindAction = function(self,actionName,Func,touch,...)
20-
	local UIS = {InputBegan=fakeEvent(),InputEnded=fakeEvent()}
20+
		self.Actions[actionName] = Func and {Name=actionName,Function=Func,Keys={...}} or nil
21-
	local CAS = {Actions={},BindAction=function(self,name,fun,touch,...)
21+
	end};ContextActionService.UnBindAction = ContextActionService.BindAction
22-
		CAS.Actions[name] = fun and {Name=name,Function=fun,Keys={...}} or nil
22+
	Event.OnServerEvent:Connect(function(FiredBy,Input)
23-
	end}
23+
		if FiredBy ~= InternalData.RealOwner then return end
24-
	--Merged 2 functions into one by checking amount of arguments
24+
		if Input.MouseEvent then
25-
	CAS.UnbindAction = CAS.BindAction
25+
			Mouse.Target = Input.Target;Mouse.Hit = Input.Hit
26
		elseif Input.Sound then
27-
	--This function will trigger the events that have been :Connect()'ed
27+
			if InternalData.SoundLoudness[Input.Sound] then InternalData.SoundLoudness[Input.Sound] = Input.Loudness end
28-
	local function te(self,ev,...)
28+
29-
		local t = m[ev]
29+
			local Begin = Input.UserInputState == Enum.UserInputState.Begin
30-
		if t and t._fakeEvent and t.function then
30+
			if Input.UserInputType == Enum.UserInputType.MouseButton1 then return Mouse:TriggerEvent(Begin and "Button1Down" or "Button1Up") end
31-
			t.Function(...)
31+
			for _,Action in pairs(ContextActionService.Actions) do
32
				for _,Key in pairs(Action.Keys) do if Key==Input.KeyCode then Action.Function(Action.Name,Input.UserInputState,Input) end end
33
			end
34-
	m.TrigEvent = te
34+
			Mouse:TriggerEvent(Begin and "KeyDown" or "KeyUp",Input.KeyCode.Name:lower());UserInputService:TriggerEvent(Begin and "InputBegan" or "InputEnded",Input,false)
35-
	UIS.TrigEvent = te
35+
36
	end)
37-
	Event.OnServerEvent:Connect(function(plr,io)
37+
	InternalData["Mouse"] = Mouse;InternalData["ContextActionService"] = ContextActionService;InternalData["UserInputService"] = UserInputService
38-
	    if plr~=Player then return end
38+
	Event.Parent = NLS([[
39-
		if io.isMouse then
39+
		local Player = owner;
40-
			m.Target = io.Target
40+
		local Sounds = {};
41-
			m.Hit = io.Hit
41+
		local Event = script:WaitForChild("UserInput");
42
		local UserInputService = game:GetService("UserInputService");
43-
			local b = io.UserInputState == Enum.UserInputState.Begin
43+
		local Mouse = Player:GetMouse();
44-
			if io.UserInputType == Enum.UserInputType.MouseButton1 then
44+
		local Input = function(Input,gameProcessedEvent)
45-
				return m:TrigEvent(b and "Button1Down" or "Button1Up")
45+
			if gameProcessedEvent then return end
46
			Event:FireServer({KeyCode=Input.KeyCode,UserInputType=Input.UserInputType,UserInputState=Input.UserInputState})
47-
			for _,t in pairs(CAS.Actions) do
47+
48-
				for _,k in pairs(t.Keys) do
48+
		Event.OnClientEvent:connect(function(Args)
49-
					if k==io.KeyCode then
49+
			if Args[1] == "NewSound" then table.insert(Sounds,Args[2]) end
50-
						t.Function(t.Name,io.UserInputState,io)
50+
51
		UserInputService.InputBegan:Connect(Input);UserInputService.InputEnded:Connect(Input)
52
		local Hit,Target
53
		while wait(1/30) do
54-
			m:TrigEvent(b and "KeyDown" or "KeyUp",io.KeyCode.Name:lower())
54+
			for x,Sound in pairs(Sounds) do
55-
			UIS:TrigEvent(b and "InputBegan" or "InputEnded",io,false)
55+
				if Sound.Parent then Event:FireServer({["Sound"]=Sound,["Loudness"]=Sound.PlaybackLoudness}) end
56
			end
57
			if Hit ~= Mouse.Hit or Target ~= Mouse.Target then
58-
	Event.Parent = NLS([==[
58+
				Hit = Mouse.Hit;Target = Mouse.Target;
59-
	local Player = game:GetService("Players").LocalPlayer
59+
				Event:FireServer({["MouseEvent"]=true,["Target"]=Target,["Hit"]=Hit})
60-
	local Event = script:WaitForChild("UserInput_Event")
60+
61
		end
62-
	local UIS = game:GetService("UserInputService")
62+
	]],InternalData.RealOwner.Character)
63-
	local input = function(io,a)
63+
64-
		if a then return end
64+
InternalData.NewOwner = setmetatable({},{
65-
		--Since InputObject is a client-side instance, we create and pass table instead
65+
	__index = function (self,Index)
66-
		Event:FireServer({KeyCode=io.KeyCode,UserInputType=io.UserInputType,UserInputState=io.UserInputState})
66+
			local Type = type(InternalData.RealOwner[Index])
67
			if Type == "function" then
68-
	UIS.InputBegan:Connect(input)
68+
				if Index:lower() == "getmouse" or Index:lower() == "mouse" then
69-
	UIS.InputEnded:Connect(input)
69+
				return function (self)return InternalData["Mouse"] end
70
				end
71-
	local Mouse = Player:GetMouse()
71+
			return function (self,...)return InternalData.RealOwner[Index](InternalData.RealOwner,...) end
72-
	local h,t
72+
		elseif Index == "FakePlayer" then
73-
	--Give the server mouse data 30 times every second, but only if the values changed
73+
			return true
74-
	--If player is not moving their mouse, client won't fire events
74+
75-
	while wait(1/30) do
75+
		return InternalData.RealOwner[Index]
76-
		if h~=Mouse.Hit or t~=Mouse.Target then
76+
	end;
77-
			h,t=Mouse.Hit,Mouse.Target
77+
	__tostring = function(self) return tostring(InternalData.RealOwner) end
78-
			Event:FireServer({isMouse=true,Target=t,Hit=h})
78+
})
79
--LoadLibrary("RbxUtility").Create
80-
	end]==],Player.Character)
80+
InternalData.LoadLibrary = LoadLibrary;LoadLibrary = function(Library)
81-
	Mouse,mouse,UserInputService,ContextActionService = m,m,UIS,CAS
81+
	if Library == "RbxUtility" then
82
		return setmetatable({},{
83
			__tostring = function() return "RbxUtility" end;
84
			__index = function(self, Index)
85
				if Index:lower() == "create" then
86
					return function(Type)
87
						return function(Data)
88
							Data = Data or {}
89
							local Inst = Instance.new(Type)
90
							for x,y in pairs(Data) do
91
								if InternalData.RealObjs[y] then y = InternalData.RealObjs[y] end
92
								if y == owner then y = InternalData.RealOwner end
93
								Inst[x] = y
94
							end
95
							return Inst
96
						end
97
					end
98
				end
99
				return InternalData.LoadLibrary(Library)[Index]
100
			end
101
		})
102
	end
103
	return InternalData.LoadLibrary(Library)
104
end
105
InternalData.RealInstance = Instance;Instance = setmetatable({},{
106
	__index = function (self,Index)
107
		if Index:lower() == 'new' then
108
			return function (Type, Parent)
109
				if Parent == owner then Parent = InternalData.RealOwner end
110
				if InternalData.RealObjs[Parent] then Parent = InternalData.RealObjs[Parent] end
111
				local Real = InternalData.RealInstance.new(Type,Parent)
112
				if not Type then return end
113
				if Type == "BillboardGui" then
114
					local ToReturn = setmetatable({},{
115
						__index = function (self,Index)
116
							if type(Real[Index]) == "function" then
117
								if Index:lower() == "clone" then
118
									return function (self)
119
										local Real = Real:Clone()
120
										local ToReturn = setmetatable({RealObject = Real},{
121
											__index = function (self,Index)
122
												if type(Real[Index]) == "function" then return function (self,...) return Real[Index](Real,...)end end
123
												return Real[Index]
124
											end;
125
											__newindex = function (self,Index,Value)
126
												if InternalData.RealObjs[Value] then Value = InternalData.RealObjs[Value] end
127
												if Value == owner then Value = InternalData.RealOwner end
128
												Real[Index] = Value
129
											end;
130
											__tostring = function(self) return tostring(Real) end;
131
										})
132
										InternalData.RealObjs[ToReturn] = Real;return ToReturn;
133
									end
134
								end
135
								return function (self,...) return Real[Index](Real,...)end
136
							end
137
							return Real[Index]
138
						end;
139
						__newindex = function (self,Index,Value)
140
							if InternalData.RealObjs[Value] then Value = InternalData.RealObjs[Value] end
141
							if Value == owner then Value = InternalData.RealOwner end
142
							Real[Index] = Value
143
						end;
144
						__tostring = function(self) return tostring(Real) end;
145
					})
146
					InternalData.RealObjs[ToReturn] = Real;return ToReturn;
147
				elseif Type:lower() == "sound" then
148
					Real.Parent = owner.Character;
149
					local ToReturn = setmetatable({RealObject = Real},{
150
						__index = function (self,Index)
151
							if Index:lower() == "playbackloudness" then
152
								return InternalData.SoundLoudness[Real] or 0
153
							elseif type(Real[Index]) == "function" then
154
								if Index:lower() == "clone" then
155
									return function (self)
156
										local Real = Real:Clone()
157
										local ToReturn = setmetatable({},{
158
											__index = function (self,Index)
159
												if type(Real[Index]) == "function" then return function (self,...) return Real[Index](Real,...)end end
160
												return Real[Index]
161
											end;
162
											__newindex = function (self,Index,Value)
163
												if InternalData.RealObjs[Value] then Value = InternalData.RealObjs[Value] end
164
												if Value == owner then Value = InternalData.RealOwner end
165
												Real[Index] = Value
166
											end;
167
											__tostring = function(self) return tostring(Real) end;
168
										})
169
										InternalData.RealObjs[ToReturn] = Real;return ToReturn;
170
									end
171
								end
172
								return function (self,...) return Real[Index](Real,...)end
173
							end
174
							return Real[Index]
175
						end;
176
						__newindex = function (self,Index,Value)
177
							if InternalData.RealObjs[Value] then Value = InternalData.RealObjs[Value] end
178
							if Value == owner then Value = InternalData.RealOwner end
179
							Real[Index] = Value
180
						end;
181
						__tostring = function(self) return tostring(Real) end;
182
					})
183
					InternalData.RealObjs[ToReturn] = Real;InternalData.SoundLoudness[Real] = 0;repeat wait() until InternalData.Event.Parent InternalData.Event:FireClient(InternalData.RealOwner,{"NewSound",Real}) return ToReturn;
184
				else
185
					local ToReturn = setmetatable({RealObject = Real},{
186
						__index = function (self,Index)
187
							if type(Real[Index]) == "function" then
188
								if Index:lower() == "clone" then
189
									return function (self)
190
										local Real = Real:Clone()
191
										local ToReturn = setmetatable({},{
192
											__index = function (self,Index)
193
												if type(Real[Index]) == "function" then return function (self,...) return Real[Index](Real,...)end end
194
												return Real[Index]
195
											end;
196
											__newindex = function (self,Index,Value)
197
												if InternalData.RealObjs[Value] then Value = InternalData.RealObjs[Value] end
198
												if Value == owner then Value = InternalData.RealOwner end
199
												Real[Index] = Value
200
											end;
201
											__tostring = function(self) return tostring(Real) end;
202
										})
203
										InternalData.RealObjs[ToReturn] = Real;return ToReturn;
204
									end
205
								end
206
								return function (self,...) return Real[Index](Real,...)end
207
							end
208
							return Real[Index]
209
						end;
210
						__newindex = function (self,Index,Value)
211
							if InternalData.RealObjs[Value] then Value = InternalData.RealObjs[Value] end
212
							if Value == owner then Value = InternalData.RealOwner end
213
							Real[Index] = Value
214
						end;
215
						__tostring = function(self) return tostring(Real) end;
216
					})
217
					InternalData.RealObjs[ToReturn] = Real;return ToReturn;
218
				end
219
			end
220
		end
221
		return InternalData.RealInstance[Index]
222
	end;
223
	__tostring = function(self) return tostring(InternalData.RealInstance) end;
224
});
225
InternalData.RealGame = game;game = setmetatable({},{
226
	__index = function (self,Index)
227
		if InternalData.RealGame[Index] then
228
			local Type = type(InternalData.RealGame[Index])
229
			if Type == "function" then
230
				if Index:lower() == "getservice" or Index:lower() == "service" then
231
					return function (self,Service)
232
						local FakeServices = {
233
							["players"] = function()
234
								return setmetatable({},{
235
									__index = function (self2,Index2)
236
										local RealService = InternalData.RealGame:GetService(Service)
237
										local Type2 = type(RealService[Index2])
238
										if Type2 == "function" then
239
											return function (self,...) return RealService[Index2](RealService,...)end
240
										else
241
											if Index2:lower() == "localplayer" then return InternalData.NewOwner end
242
											return RealService[Index2]
243
										end
244
									end;
245
									__tostring = function(self) return tostring(InternalData.RealGame:GetService(Service)) end
246
								})
247
							end;
248
							["contextactionservice"] = function() return InternalData["ContextActionService"] end;
249
							["userinputservice"] = function() return InternalData["UserInputService"] end;
250
							["debris"] = function()
251
								return setmetatable({},{
252
									__index = function(self2,Index2)
253
										local RealService = InternalData.RealGame:GetService(Service)
254
										local Type2 = type(RealService[Index2])
255
										if Type2 == "function" then
256
											if Index2:lower() == "additem" then
257
												return function (self,Item,Time)
258
													if InternalData.RealObjs[Item] then Item = InternalData.RealObjs[Item] end
259
													return RealService:AddItem(Item,Time)
260
												end
261
											end
262
											return function (self,...) return RealService[Index2](RealService,...) end
263
										end
264
										return RealService[Index2]
265
									end;
266
									__tostring = function(self) return tostring(InternalData.RealGame:GetService("Debris")) end
267
								})
268
							end;
269
							["runservice"] = function()
270
								return setmetatable({},{
271
									__index = function(self2,Index2)
272
										local RealService = InternalData.RealGame:GetService(Service)
273
										local Type2 = type(RealService[Index2])
274
										if Type2 == "function" then
275
											return function (self,...) return RealService[Index2](RealService,...) end
276
										else
277
											local RunServices = {
278
												["bindtorenderstep"] = function() return function (self,Name,Priority,Function) return InternalData.RealGame:GetService("RunService").Stepped:Connect(Function) end end;
279
												["renderstepped"] = function() return RealService["Stepped"] end
280
											}
281
											if RunServices[Index2:lower()] then return RunServices[Index2:lower()]() end
282
											return RealService[Index2]
283
										end
284
									end;
285
									__tostring = function(self) return tostring(InternalData.RealGame:GetService("RunService")) end
286
								})
287
							end
288
						}
289
						if FakeServices[Service:lower()] then return FakeServices[Service:lower()]() end
290
						return InternalData.RealGame:GetService(Service)
291
					end
292
				end
293
				return function (self,...) return InternalData.RealGame[Index](InternalData.RealGame,...) end
294
			else
295
				if game:GetService(Index) then return game:GetService(Index) end
296
				return InternalData.RealGame[Index]
297
			end
298
		end
299
		return nil
300
	end;
301
	__tostring = function(self) return tostring(InternalData.game) end
302
});Game = game;owner = game:GetService("Players").LocalPlayer;script = Instance.new("Script");print("Complete!")
303
wait(2)
304
305
local p = game:GetService("Players").LocalPlayer
306
local plr = game:GetService("Players").LocalPlayer
307
local player = game:GetService("Players").LocalPlayer
308
local char = p.Character
309
local mouse = p:GetMouse()
310
local larm = char:WaitForChild("Left Arm")
311
local rarm = char:WaitForChild("Right Arm")
312
local lleg = char:WaitForChild("Left Leg")
313
local rleg = char:WaitForChild("Right Leg")
314
local hed = char:WaitForChild("Head")
315
local torso = char:WaitForChild("Torso")
316
local root = char:WaitForChild("HumanoidRootPart")
317
local hum = char:FindFirstChildOfClass("Humanoid")
318
local debris = game:GetService("Debris")
319
local run = game:GetService("RunService")
320
local rs = run.RenderStepped
321
local cam = workspace.CurrentCamera
322
local movement = 4
323
local change = 0.4
324
local DebrisModel = Instance.new("Model",char)
325
local stealth = false
326
local debounce = false
327
-------------------------------------------------------
328
local Player_Size = 4
329
if Player_Size ~= 4 then
330
root.Size = root.Size * Player_Size
331
torso.Size = torso.Size * Player_Size
332
hed.Size = hed.Size * Player_Size
333
rarm.Size = rarm.Size * Player_Size
334
larm.Size = larm.Size * Player_Size
335
rleg.Size = rleg.Size * Player_Size
336
lleg.Size = lleg.Size * Player_Size
337
end
338
----------------------------------------------------------------------------------
339
it = Instance.new
340
hum.MaxHealth = 500000000000000000000000000000000000000000000000
341
hum.Health = hum.MaxHealth
342
themeid = 0
343
themepitch = 1
344
TorsoColor = torso.BrickColor
345
RightLeg = CFrame.new(0.5,-1,0)
346
	LeftLeg = CFrame.new(-0.5,-1,0)
347
RunService = game:service'RunService'
348
	lefth = (torso.CFrame*LeftLeg)
349
	righth = (torso.CFrame*RightLeg)
350
speed = Vector3.new(torso.Velocity.X,0,torso.Velocity.Z)
351
local Lighty = game:GetService"Lighting"
352
EffectModel = Instance.new("Model", char)
353
Effects = {
354
  Block = {
355
    Create = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay, Type)
356
      local prt = CFuncs.Part.Create(EffectModel, "SmoothPlastic", 0, 0, brickcolor, "Effect", Vector3.new())
357
      prt.Anchored = true
358
      prt.CFrame = cframe
359
      local msh = CFuncs.Mesh.Create("BlockMesh", prt, "", "", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
360
      game:GetService("Debris"):AddItem(prt, 10)
361
      if Type == 1 or Type == nil then
362
        table.insert(Effects, {
363
          prt,
364
          "Block1",
365
          delay,
366
          x3,
367
          y3,
368
          z3,
369
          msh
370
        })
371
      elseif Type == 2 then
372
        table.insert(Effects, {
373
          prt,
374
          "Block2",
375
          delay,
376
          x3,
377
          y3,
378
          z3,
379
          msh
380
        })
381
      else
382
        table.insert(Effects, {
383
          prt,
384
          "Block3",
385
          delay,
386
          x3,
387
          y3,
388
          z3,
389
          msh
390
        })
391
      end
392
    end
393
  },
394
  Sphere = {
395
    Create = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay)
396
      local prt = CFuncs.Part.Create(EffectModel, "Neon", 0, 0, brickcolor, "Effect", Vector3.new())
397
      prt.Anchored = true
398
      prt.CFrame = cframe
399
      local msh = CFuncs.Mesh.Create("SpecialMesh", prt, "Sphere", "", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
400
      game:GetService("Debris"):AddItem(prt, 10)
401
      table.insert(Effects, {
402
        prt,
403
        "Cylinder",
404
        delay,
405
        x3,
406
        y3,
407
        z3,
408
        msh
409
      })
410
    end
411
  },
412
  Cylinder = {
413
    Create = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay)
414
      local prt = CFuncs.Part.Create(EffectModel, "SmoothPlastic", 0, 0, brickcolor, "Effect", Vector3.new())
415
      prt.Anchored = true
416
      prt.CFrame = cframe
417
      local msh = CFuncs.Mesh.Create("CylinderMesh", prt, "", "", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
418
      game:GetService("Debris"):AddItem(prt, 10)
419
      table.insert(Effects, {
420
        prt,
421
        "Cylinder",
422
        delay,
423
        x3,
424
        y3,
425
        z3,
426
        msh
427
      })
428
    end
429
  },
430
  Wave = {
431
    Create = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay)
432
      local prt = CFuncs.Part.Create(EffectModel, "Neon", 0, 0, brickcolor, "Effect", Vector3.new())
433
      prt.Anchored = true
434
      prt.CFrame = cframe
435
      local msh = CFuncs.Mesh.Create("SpecialMesh", prt, "FileMesh", "rbxassetid://20329976", Vector3.new(0, 0, 0), Vector3.new(x1 / 60, y1 / 60, z1 / 60))
436
      game:GetService("Debris"):AddItem(prt, 10)
437
      table.insert(Effects, {
438
        prt,
439
        "Cylinder",
440
        delay,
441
        x3 / 60,
442
        y3 / 60,
443
        z3 / 60,
444
        msh
445
      })
446
    end
447
  },
448
  Ring = {
449
    Create = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay)
450
      local prt = CFuncs.Part.Create(EffectModel, "SmoothPlastic", 0, 0, brickcolor, "Effect", Vector3.new())
451
      prt.Anchored = true
452
      prt.CFrame = cframe
453
      local msh = CFuncs.Mesh.Create("SpecialMesh", prt, "FileMesh", "rbxassetid://3270017", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
454
      game:GetService("Debris"):AddItem(prt, 10)
455
      table.insert(Effects, {
456
        prt,
457
        "Cylinder",
458
        delay,
459
        x3,
460
        y3,
461
        z3,
462
        msh
463
      })
464
    end
465
  },
466
  Break = {
467
    Create = function(brickcolor, cframe, x1, y1, z1)
468
      local prt = CFuncs.Part.Create(EffectModel, "Neon", 0, 0, brickcolor, "Effect", Vector3.new(0.5, 0.5, 0.5))
469
      prt.Anchored = true
470
      prt.CFrame = cframe * CFrame.fromEulerAnglesXYZ(math.random(-50, 50), math.random(-50, 50), math.random(-50, 50))
471
      local msh = CFuncs.Mesh.Create("SpecialMesh", prt, "Sphere", "", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
472
      local num = math.random(10, 50) / 1000
473
      game:GetService("Debris"):AddItem(prt, 10)
474
      table.insert(Effects, {
475
        prt,
476
        "Shatter",
477
        num,
478
        prt.CFrame,
479
        math.random() - math.random(),
480
        0,
481
        math.random(50, 100) / 100
482
      })
483
    end
484
  },
485
Spiral = {
486
    Create = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay)
487
      local prt = CFuncs.Part.Create(EffectModel, "SmoothPlastic", 0, 0, brickcolor, "Effect", Vector3.new())
488
      prt.Anchored = true
489
      prt.CFrame = cframe
490
      local msh = CFuncs.Mesh.Create("SpecialMesh", prt, "FileMesh", "rbxassetid://1051557", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
491
      game:GetService("Debris"):AddItem(prt, 10)
492
      table.insert(Effects, {
493
        prt,
494
        "Cylinder",
495
        delay,
496
        x3,
497
        y3,
498
        z3,
499
        msh
500
      })
501
    end
502
  },
503
Push = {
504
    Create = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay)
505
      local prt = CFuncs.Part.Create(EffectModel, "SmoothPlastic", 0, 0, brickcolor, "Effect", Vector3.new())
506
      prt.Anchored = true
507
      prt.CFrame = cframe
508
      local msh = CFuncs.Mesh.Create("SpecialMesh", prt, "FileMesh", "rbxassetid://437347603", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
509
      game:GetService("Debris"):AddItem(prt, 10)
510
      table.insert(Effects, {
511
        prt,
512
        "Cylinder",
513
        delay,
514
        x3,
515
        y3,
516
        z3,
517
        msh
518
      })
519
    end
520
  }
521
}
522
local NeckS = Instance.new("Part",char)
523
NeckS.Size = Vector3.new(1.2,1,1.2)
524
NeckS.Material = "SmoothPlastic"
525
NeckS.BrickColor = BrickColor.new("Bright yellow")
526
NeckS.CanCollide = false
527
local Neck3 = Instance.new("Weld",NeckS)
528
Neck3.Part0 = larm
529
Neck3.Part1 = NeckS
530
Neck3.C0 = CFrame.new(0,-0.62,0)*CFrame.Angles(math.rad(0),math.rad(-180),math.rad(0))
531
local Black = Instance.new("Part",NeckS)--First Stone, Yellow
532
Black.Size = Vector3.new(0.3,0.3,0.3)
533
Black.Material = "Neon"
534
Black.BrickColor = BrickColor.new("New Yeller")
535
Black.CanCollide = false
536
local BlackM = Instance.new("SpecialMesh",Black)
537
BlackM.MeshType = 3
538
local Black1 = Instance.new("Weld",Black)
539
Black1.Part0 = NeckS
540
Black1.Part1 = Black
541
Black1.C0 = CFrame.new(0.54,0,0)*CFrame.Angles(math.rad(0),math.rad(0),math.rad(0))
542
local Stone2 = Instance.new("Part",NeckS)--First Circle
543
Stone2.Size = Vector3.new(0.2,0.2,0.2)
544
Stone2.Material = "Neon"
545
Stone2.BrickColor = BrickColor.new("Magenta")
546
Stone2.CanCollide = false
547
local Stone22 = Instance.new("SpecialMesh",Stone2)
548
Stone22.MeshType = 3
549
local Stone222 = Instance.new("Weld",Stone2)
550
Stone222.Part0 = NeckS
551
Stone222.Part1 = Stone2
552
Stone222.C0 = CFrame.new(0.23,-0.47,0.4)*CFrame.Angles(math.rad(0),math.rad(0),math.rad(0))
553
local Stone3 = Instance.new("Part",NeckS)--First Circle
554
Stone3.Size = Vector3.new(0.2,0.2,0.2)
555
Stone3.Material = "Neon"
556
Stone3.BrickColor = BrickColor.new("Lapis")
557
Stone3.CanCollide = false
558
local Stone33 = Instance.new("SpecialMesh",Stone3)
559
Stone33.MeshType = 3
560
local Stone333 = Instance.new("Weld",Stone3)
561
Stone333.Part0 = NeckS
562
Stone333.Part1 = Stone3
563
Stone333.C0 = CFrame.new(0.23,-0.47,0.08)*CFrame.Angles(math.rad(0),math.rad(0),math.rad(0))
564
local Stone4 = Instance.new("Part",NeckS)--First Circle
565
Stone4.Size = Vector3.new(0.2,0.2,0.2)
566
Stone4.Material = "Neon"
567
Stone4.BrickColor = BrickColor.new("Really red")
568
Stone4.CanCollide = false
569
local Stone44 = Instance.new("SpecialMesh",Stone4)
570
Stone44.MeshType = 3
571
local Stone444 = Instance.new("Weld",Stone4)
572
Stone444.Part0 = NeckS
573
Stone444.Part1 = Stone4
574
Stone444.C0 = CFrame.new(0.23,-0.47,-0.2)*CFrame.Angles(math.rad(0),math.rad(0),math.rad(0))
575
local Stone5 = Instance.new("Part",NeckS)--First Circle
576
Stone5.Size = Vector3.new(0.2,0.2,0.2)
577
Stone5.Material = "Neon"
578
Stone5.BrickColor = BrickColor.new("CGA brown")
579
Stone5.CanCollide = false
580
local Stone55 = Instance.new("SpecialMesh",Stone5)
581
Stone55.MeshType = 3
582
local Stone555 = Instance.new("Weld",Stone5)
583
Stone555.Part0 = NeckS
584
Stone555.Part1 = Stone5
585
Stone555.C0 = CFrame.new(0.23,-0.47,-0.5)*CFrame.Angles(math.rad(0),math.rad(0),math.rad(0))
586
587
local Stone6 = Instance.new("Part",NeckS)--First Circle
588
Stone6.Size = Vector3.new(0.2,0.2,0.2)
589
Stone6.Material = "Neon"
590
Stone6.BrickColor = BrickColor.new("Lime green")
591
Stone6.CanCollide = false
592
local Stone66 = Instance.new("SpecialMesh",Stone6)
593
Stone66.MeshType = 3
594
local Stone666 = Instance.new("Weld",Stone6)
595
Stone666.Part0 = NeckS
596
Stone666.Part1 = Stone6
597
Stone666.C0 = CFrame.new(0,-0.3,0.6)*CFrame.Angles(math.rad(0),math.rad(0),math.rad(0))
598
599
local Grab = Instance.new("Part",hed)
600
	Grab.Size = Vector3.new(4.9,5,4.9)
601
	Grab.CanCollide = false
602
	Grab.BrickColor = BrickColor.new("Deep orange")
603
	Grab.Transparency = 1
604
	local Grabo = Instance.new("Weld",Grab)
605
	Grabo.Part0 = hed
606
	Grabo.Part1 = Grab
607
	Grabo.C0 = CFrame.new(0,-1.5,0)
608
	
609
local AuraB = Instance.new("Part",hed)
610
	AuraB.Size = Vector3.new(2,1,2)
611
	AuraB.CanCollide = false
612
	AuraB.BrickColor = BrickColor.new("Deep orange")
613
	AuraB.Transparency = 1
614
	local AuraBo = Instance.new("Weld",AuraB)
615
	AuraBo.Part0 = hed
616
	AuraBo.Part1 = AuraB
617
	AuraBo.C0 = CFrame.new(0,-3.6,0)
618
	
619
	local FZcharge3 = Instance.new("ParticleEmitter",Grab)
620
FZcharge3.Texture = "rbxassetid://249481494"
621
FZcharge3.Color = ColorSequence.new(Color3.fromRGB(0, 0, 255))
622
FZcharge3.EmissionDirection = "Top"
623
FZcharge3.Speed = NumberRange.new(8)
624
FZcharge3.Size = NumberSequence.new(8,0)
625
FZcharge3.Transparency = NumberSequence.new(0,1)
626
FZcharge3.Drag = 1.2
627
FZcharge3.LockedToPart = true
628
FZcharge3.Lifetime = NumberRange.new(1)
629
FZcharge3.Rate = 195
630
FZcharge3.LightEmission = 0
631
FZcharge3.Rotation = NumberRange.new(-360,360)
632
FZcharge3.VelocitySpread = 100.2	
633
FZcharge3.ZOffset = 2.5
634
hed:FindFirstChildOfClass("Decal").Texture = "rbxassetid://254640655"
635
wait(0.001)
636
	hed:FindFirstChildOfClass("Decal").Texture = "rbxassetid://"
637
for i,v in pairs(char:GetChildren()) do
638
if v ~= root then
639
if v:IsA("Part") then
640
v.Transparency = 1
641
elseif v:IsA("Accoutrement") then
642
v:FindFirstChildOfClass("Part").Transparency = 1
643
end
644
end
645
end
646
for i,v in pairs(NeckS:GetChildren()) do
647
if v ~= root then
648
if v:IsA("Part") then
649
v.Transparency = 1
650
elseif v:IsA("Accoutrement") then
651
v:FindFirstChildOfClass("Part").Transparency = 1
652
end
653
end
654
end
655
wait(5)	
656
FZcharge3.Rate = 0
657
for i,v in pairs(char:GetChildren()) do
658
if v ~= root then
659
if v:IsA("Part") then
660
v.Transparency = 0
661
elseif v:IsA("Accoutrement") then
662
v:FindFirstChildOfClass("Part").Transparency = 0
663
end
664
end
665
end
666
for i,v in pairs(NeckS:GetChildren()) do
667
if v ~= root then
668
if v:IsA("Part") then
669
v.Transparency = 0
670
elseif v:IsA("Accoutrement") then
671
v:FindFirstChildOfClass("Part").Transparency = 0
672
end
673
end
674
end
675
hed:FindFirstChildOfClass("Decal").Texture = "rbxassetid://254640655"
676
local SFXZ = Instance.new("Sound",torso)
677
			SFXZ.SoundId = "rbxassetid://915686003"
678
			SFXZ.Volume = 3
679
			SFXZ.Pitch = 1
680
			SFXZ.Looped = false
681
			wait(0.01)
682
			SFXZ:Play()
683
nooutline = function(part)
684
  part.TopSurface = 10
685
end
686
local Mode = false
687
part = function(formfactor, parent, material, reflectance, transparency, brickcolor, name, size)
688
  local fp = it("Part")
689
  fp.formFactor = formfactor
690
  fp.Parent = parent
691
  fp.Reflectance = reflectance
692
  fp.Transparency = transparency
693
  fp.CanCollide = false
694
  fp.Locked = true
695
  fp.BrickColor = BrickColor.new(tostring(brickcolor))
696
  fp.Name = name
697
  fp.Size = size
698
  fp.Position = char.Torso.Position
699
  nooutline(fp)
700
  fp.Material = material
701
  fp:BreakJoints()
702
  return fp
703
end
704
705
mesh = function(Mesh, part, meshtype, meshid, offset, scale)
706
  local mesh = it(Mesh)
707
  mesh.Parent = part
708
  if Mesh == "SpecialMesh" then
709
    mesh.MeshType = meshtype
710
    mesh.MeshId = meshid
711
  end
712
  mesh.Offset = offset
713
  mesh.Scale = scale
714
  return mesh
715
end
716
717
weld = function(parent, part0, part1, c0, c1)
718
  local weld = it("Weld")
719
  weld.Parent = parent
720
  weld.Part0 = part0
721
  weld.Part1 = part1
722
  weld.C0 = c0
723
  weld.C1 = c1
724
  return weld
725
end
726
local Create = LoadLibrary("RbxUtility").Create
727
ArtificialHB = Create("BindableEvent", script){
728
	Parent = script,
729
	Name = "Heartbeat",
730
}
731
732
function RemoveOutlines(part)
733
	part.TopSurface, part.BottomSurface, part.LeftSurface, part.RightSurface, part.FrontSurface, part.BackSurface = 10, 10, 10, 10, 10, 10
734
end
735
CFuncs = {	
736
	Part = {
737
		Create = function(Parent, Material, Reflectance, Transparency, BColor, Name, Size)
738
			local Part = Create("Part"){
739
				Parent = Parent,
740
				Reflectance = Reflectance,
741
				Transparency = Transparency,
742
				CanCollide = false,
743
				Locked = true,
744
				BrickColor = BrickColor.new(tostring(BColor)),
745
				Name = Name,
746
				Size = Size,
747
				Material = Material,
748
			}
749
			RemoveOutlines(Part)
750
			return Part
751
		end;
752
	};
753
	
754
	Mesh = {
755
		Create = function(Mesh, Part, MeshType, MeshId, OffSet, Scale)
756
			local Msh = Create(Mesh){
757
				Parent = Part,
758
				Offset = OffSet,
759
				Scale = Scale,
760
			}
761
			if Mesh == "SpecialMesh" then
762
				Msh.MeshType = MeshType
763
				Msh.MeshId = MeshId
764
			end
765
			return Msh
766
		end;
767
	};
768
769
	Weld = {
770
		Create = function(Parent, Part0, Part1, C0, C1)
771
			local Weld = Create("Weld"){
772
				Parent = Parent,
773
				Part0 = Part0,
774
				Part1 = Part1,
775
				C0 = C0,
776
				C1 = C1,
777
			}
778
			return Weld
779
		end;
780
	};
781
782
	Sound = {
783
		Create = function(id, par, vol, pit) 
784
			local Sound = Create("Sound"){
785
				Volume = vol,
786
				Pitch = pit or 1,
787
				SoundId = "rbxassetid://" .. id,
788
				Parent = par or workspace,
789
			}
790
			Sound:play() 
791
			return Sound
792
		end;
793
	};
794
	
795
	Decal = {
796
		Create = function(Color, Texture, Transparency, Name, Parent)
797
			local Decal = Create("Decal"){
798
				Color3 = Color,
799
				Texture = "rbxassetid://" .. Texture,
800
				Transparency = Transparency,
801
				Name = Name,
802
				Parent = Parent,
803
			}
804
			return Decal
805
		end;
806
	};
807
	
808
	BillboardGui = {
809
		Create = function(Parent, Image, Position, Size)
810
			local BillPar = CFuncs.Part.Create(Parent, "SmoothPlastic", 0, 1, BrickColor.new("Black"), "BillboardGuiPart", Vector3.new(1, 1, 1))
811
			BillPar.CFrame = CFrame.new(Position)
812
			local Bill = Create("BillboardGui"){
813
				Parent = BillPar,
814
				Adornee = BillPar,
815
				Size = UDim2.new(1, 0, 1, 0),
816
				SizeOffset = Vector2.new(Size, Size),
817
			}
818
			local d = Create("ImageLabel", Bill){
819
				Parent = Bill,
820
				BackgroundTransparency = 1,
821
				Size = UDim2.new(1, 0, 1, 0),
822
				Image = "rbxassetid://" .. Image,
823
			}
824
			return BillPar
825
		end
826
	};
827
	
828
	ParticleEmitter = {
829
		Create = function(Parent, Color1, Color2, LightEmission, Size, Texture, Transparency, ZOffset, Accel, Drag, LockedToPart, VelocityInheritance, EmissionDirection, Enabled, LifeTime, Rate, Rotation, RotSpeed, Speed, VelocitySpread)
830
			local Particle = Create("ParticleEmitter"){
831
				Parent = Parent,
832
				Color = ColorSequence.new(Color1, Color2),
833
				LightEmission = LightEmission,
834
				Size = Size,
835
				Texture = Texture,
836
				Transparency = Transparency,
837
				ZOffset = ZOffset,
838
				Acceleration = Accel,
839
				Drag = Drag,
840
				LockedToPart = LockedToPart,
841
				VelocityInheritance = VelocityInheritance,
842
				EmissionDirection = EmissionDirection,
843
				Enabled = Enabled,
844
				Lifetime = LifeTime,
845
				Rate = Rate,
846
				Rotation = Rotation,
847
				RotSpeed = RotSpeed,
848
				Speed = Speed,
849
				VelocitySpread = VelocitySpread,
850
			}
851
			return Particle
852
		end;
853
	};
854
	
855
	CreateTemplate = {
856
		
857
	};
858
}
859
NewInstance = function(instance,parent,properties)
860
	local inst = Instance.new(instance)
861
	inst.Parent = parent
862
	if(properties)then
863
		for i,v in next, properties do
864
			pcall(function() inst[i] = v end)
865
		end
866
	end
867
	return inst;
868
end
869
870
function rayCast(Position, Direction, Range, Ignore)
871
	return game:service("Workspace"):FindPartOnRay(Ray.new(Position, Direction.unit * (Range or 999.999)), Ignore) 
872
end 
873
local m = Create("Model"){
874
	Parent = char,
875
	Name = "WeaponModel",
876
}
877
HandleL = CFuncs.Part.Create(m, Enum.Material.SmoothPlastic, 0, 1, "Bright yellow", "HandleL", Vector3.new(0.403949469, 0.000020112, 0.425030977))
878
HandleLWeld = CFuncs.Weld.Create(m, char["Left Arm"], HandleL, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-0.637853563, -0.00000000000, 0.00182324648, 0, -1, 0, 1, 0, 0, 0, -0, 1))
879
HitboxL = CFuncs.Part.Create(m, Enum.Material.SmoothPlastic, 0, 1, "Bright yellow", "HitboxL", Vector3.new(1.00394952, 0.05222011, 1.02503109))
880
HitboxLWeld = CFuncs.Weld.Create(m, HandleL, HitboxL, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(0.0999999642, 3.81469727e-006, 5.96046448e-008, 1, 0, 0, 0, 1, 0, 0, 0, 1))
881
Part = CFuncs.Part.Create(m, Enum.Material.Metal, 0, 0, "Gold", "Part", Vector3.new(0.401974738, 1.08532834, 0.40197292))
882
PartWeld = CFuncs.Weld.Create(m, HandleL, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(0.098050952, 0.00573730469, 0.171247482, 1, 0, 0, 0, 0, -1, 0, 1, 0))
883
CFuncs.Mesh.Create("CylinderMesh", Part, "", "", Vector3.new(0, 0, 0), Vector3.new(1, 1, 1))
884
Part = CFuncs.Part.Create(m, Enum.Material.Neon, 0, 0, "New Yeller", "Part", Vector3.new(0.206172049, 0.206172079, 0.206172064))
885
PartWeld = CFuncs.Weld.Create(m, HandleL, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-0.335890889, -0.251642227, 0.414461493, 0, 0, -1, 0, -1, -0, -1, 0, -0))
886
CFuncs.Mesh.Create("SpecialMesh", Part, Enum.MeshType.Sphere, "", Vector3.new(0, 0, 0), Vector3.new(0.779882133, 0.77987963, 0.292454481))
887
Part = CFuncs.Part.Create(m, Enum.Material.Neon, 0, 0, "New Yeller", "Part", Vector3.new(0, 0, 0))
888
PartWeld = CFuncs.Weld.Create(m, HandleL, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(0.171247482, -0.548431277, 0.098050952, 0, 1, 0, 0, 0, 1, 1, 0, 0))
889
CFuncs.Mesh.Create("SpecialMesh", Part, Enum.MeshType.Sphere, "", Vector3.new(0, 0, 0), Vector3.new(1, 0.194969907, 1))
890
Part = CFuncs.Part.Create(m, Enum.Material.Neon, 0, 0, "New Yeller", "Part", Vector3.new(0.281382293, 0.206172079, 0.281381041))
891
PartWeld = CFuncs.Weld.Create(m, HandleL, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(0.171247482, 0.536894917, 0.098050952, 0, 1, 0, 0, 0, 1, 1, 0, 0))
892
CFuncs.Mesh.Create("SpecialMesh", Part, Enum.MeshType.Sphere, "", Vector3.new(0, 0, 0), Vector3.new(1, 0.194969907, 1))
893
Part = CFuncs.Part.Create(m, Enum.Material.Neon, 0, 0, "New Yeller", "Part", Vector3.new(0.206172049, 0.206172079, 0.206172064))
894
PartWeld = CFuncs.Weld.Create(m, HandleL, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(0.00573730469, -0.251634598, 0.414469123, 0, 0, -1, 0, -1, -0, -1, 0, -0))
895
CFuncs.Mesh.Create("SpecialMesh", Part, Enum.MeshType.Sphere, "", Vector3.new(0, 0, 0), Vector3.new(0.779882133, 0.77987963, 0.292454481))
896
Part = CFuncs.Part.Create(m, Enum.Material.SmoothPlastic, 0, 0, "Bright yellow", "Part", Vector3.new(0.206172049, 0.206172079, 0.206172064))
897
PartWeld = CFuncs.Weld.Create(m, HandleL, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(0.52296257, -0.166549563, 0.881902456, 0, 1, 0, 0, 0, 1, 1, 0, 0))
898
CFuncs.Mesh.Create("SpecialMesh", Part, Enum.MeshType.Wedge, "", Vector3.new(0, 0, 0), Vector3.new(0.292455852, 0.389939725, 0.389939249))
899
Part = CFuncs.Part.Create(m, Enum.Material.SmoothPlastic, 0, 0, "Bright yellow", "Part", Vector3.new(0.206172049, 0.206172079, 0.206172064))
900
PartWeld = CFuncs.Weld.Create(m, HandleL, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(0.502866745, -0.447936893, 0.208598971, 0, 1, 0, 0, 0, 1, 1, 0, 0))
901
CFuncs.Mesh.Create("SpecialMesh", Part, Enum.MeshType.Wedge, "", Vector3.new(0, 0, 0), Vector3.new(0.292455852, 0.974849463, 0.877363384))
902
Part = CFuncs.Part.Create(m, Enum.Material.Metal, 0, 0, "Gold", "Part", Vector3.new(0.206172049, 0.206172079, 0.206172064))
903
PartWeld = CFuncs.Weld.Create(m, HandleL, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-0.335906148, -0.251642227, 0.404413581, 0, 0, -1, 0, -1, -0, -1, 0, -0))
904
CFuncs.Mesh.Create("SpecialMesh", Part, Enum.MeshType.Sphere, "", Vector3.new(0, 0, 0), Vector3.new(0.974852681, 0.974849463, 0.194969654))
905
Part = CFuncs.Part.Create(m, Enum.Material.SmoothPlastic, 0, 0, "Bright yellow", "Part", Vector3.new(0.206172049, 0.206172079, 0.206172064))
906
PartWeld = CFuncs.Weld.Create(m, HandleL, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-0.5229702, -0.155028343, 0.881904364, 0, -1, -0, 0, 0, -1, 1, 0, 0))
907
CFuncs.Mesh.Create("SpecialMesh", Part, Enum.MeshType.Wedge, "", Vector3.new(0, 0, 0), Vector3.new(0.292455852, 0.389939725, 0.389939249))
908
Part = CFuncs.Part.Create(m, Enum.Material.Metal, 0, 0, "Gold", "Part", Vector3.new(0.206172049, 0.206172079, 0.206172064))
909
PartWeld = CFuncs.Weld.Create(m, HandleL, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(0.00573730469, -0.251642227, 0.404413581, 0, 0, -1, 0, -1, -0, -1, 0, -0))
910
CFuncs.Mesh.Create("SpecialMesh", Part, Enum.MeshType.Sphere, "", Vector3.new(0, 0, 0), Vector3.new(0.974852681, 0.974849463, 0.194969654))
911
Part = CFuncs.Part.Create(m, Enum.Material.SmoothPlastic, 0, 0, "New Yeller", "Part", Vector3.new(1.01297641, 0.562762797, 0.361775607))
912
PartWeld = CFuncs.Weld.Create(m, HandleL, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-0.00271511078, -0.231538773, 0.72112453, 0, 0, 1, 0, -1, -0, 1, 0, 0))
913
CFuncs.Mesh.Create("SpecialMesh", Part, Enum.MeshType.Wedge, "", Vector3.new(0, 0, 0), Vector3.new(1, 1, 1))
914
Part = CFuncs.Part.Create(m, Enum.Material.Metal, 0, 0, "Gold", "Part", Vector3.new(0.206172049, 0.206172079, 0.206172064))
915
PartWeld = CFuncs.Weld.Create(m, HandleL, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(0.347427249, -0.251642227, 0.404413581, 0, 0, -1, 0, -1, -0, -1, 0, -0))
916
CFuncs.Mesh.Create("SpecialMesh", Part, Enum.MeshType.Sphere, "", Vector3.new(0, 0, 0), Vector3.new(0.974852681, 0.974849463, 0.194969654))
917
Part = CFuncs.Part.Create(m, Enum.Material.SmoothPlastic, 0, 0, "Bright yellow", "Part", Vector3.new(0.206172049, 0.206172079, 0.206172064))
918
PartWeld = CFuncs.Weld.Create(m, HandleL, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-0.50287056, -0.436416715, 0.208604693, 0, -1, -0, 0, 0, -1, 1, 0, 0))
919
CFuncs.Mesh.Create("SpecialMesh", Part, Enum.MeshType.Wedge, "", Vector3.new(0, 0, 0), Vector3.new(0.292455852, 0.974849463, 0.877363384))
920
Part = CFuncs.Part.Create(m, Enum.Material.SmoothPlastic, 0, 0, "Bright yellow", "Part", Vector3.new(1.0853318, 0.206172079, 0.261282384))
921
PartWeld = CFuncs.Weld.Create(m, HandleL, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(0.00573730469, -0.0196914673, -0.273781061, 0, 0, -1, 0, 1, 0, 1, 0, 0))
922
CFuncs.Mesh.Create("SpecialMesh", Part, Enum.MeshType.Wedge, "", Vector3.new(0, 0, 0), Vector3.new(1, 0.292454839, 1))
923
Part = CFuncs.Part.Create(m, Enum.Material.Neon, 0, 0, "New Yeller", "Part", Vector3.new(0.206172049, 0.206172079, 0.206172064))
924
PartWeld = CFuncs.Weld.Create(m, HandleL, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(0.347427249, -0.251634598, 0.414469123, 0, 0, -1, 0, -1, -0, -1, 0, -0))
925
CFuncs.Mesh.Create("SpecialMesh", Part, Enum.MeshType.Sphere, "", Vector3.new(0, 0, 0), Vector3.new(0.779882133, 0.77987963, 0.292454481))
926
Part2 = CFuncs.Part.Create(m, Enum.Material.Neon, 0, 0, "New Yeller", "Part2", Vector3.new(0.206172049, 0.683354914, 0.254247904))
927
Part2Weld = CFuncs.Weld.Create(m, HandleL, Part2, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(0.638334274, 0.120502472, -0.377624631, 0.866025984, 0.499998987, 0, 0.499998987, -0.866025984, 0, 0, 0, -1))
928
CFuncs.Mesh.Create("BlockMesh", Part2, "", "", Vector3.new(0, 0, 0), Vector3.new(0.389941067, 1, 1))
929
Part2 = CFuncs.Part.Create(m, Enum.Material.Neon, 0, 0, "New Yeller", "Part2", Vector3.new(0.206172049, 0.683354914, 0.254247904))
930
Part2Weld = CFuncs.Weld.Create(m, HandleL, Part2, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(0.516500473, 0.0501613617, -0.377654195, 0.866025984, 0.499998987, 0, 0.499998987, -0.866025984, 0, 0, 0, -1))
931
CFuncs.Mesh.Create("BlockMesh", Part2, "", "", Vector3.new(0, 0, 0), Vector3.new(0.389941067, 1, 1))
932
Part2 = CFuncs.Part.Create(m, Enum.Material.Neon, 0, 0, "New Yeller", "Part2", Vector3.new(0.206172049, 0.683354914, 0.254247904))
933
Part2Weld = CFuncs.Weld.Create(m, HandleL, Part2, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(0.39466095, -0.0201816559, -0.377624631, 0.866025984, 0.499998987, 0, 0.499998987, -0.866025984, 0, 0, 0, -1))
934
CFuncs.Mesh.Create("BlockMesh", Part2, "", "", Vector3.new(0, 0, 0), Vector3.new(0.389941067, 1, 1))
935
Part2 = CFuncs.Part.Create(m, Enum.Material.SmoothPlastic, 0, 0, "New Yeller", "Part2", Vector3.new(0.401974738, 0.572812021, 0.252237976))
936
Part2Weld = CFuncs.Weld.Create(m, HandleL, Part2, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(0.339231372, -0.236558914, 0.383117557, 1, 0, 0, 0, -1, -0, 0, 0, -1))
937
Part2 = CFuncs.Part.Create(m, Enum.Material.SmoothPlastic, 0, 0, "Bright yellow", "Part2", Vector3.new(0.803949475, 0.452220112, 1.02503097))
938
Part2Weld = CFuncs.Weld.Create(m, HandleL, Part2, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(0.500019014, 0.275951385, 0.00573730469, 1, 0, 0, 0, -1, -0, 0, 0, -1))
939
Part2 = CFuncs.Part.Create(m, Enum.Material.SmoothPlastic, 0, 0, "New Yeller", "Part2", Vector3.new(0.401974738, 0.572812021, 0.258267611))
940
Part2Weld = CFuncs.Weld.Create(m, HandleL, Part2, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(0.339231372, -0.236558914, -0.374602437, 1, 0, 0, 0, -1, -0, 0, 0, -1))
941
Part2 = CFuncs.Part.Create(m, Enum.Material.Neon, 0, 0, "New Yeller", "Part2", Vector3.new(0.206172049, 0.683354914, 0.254247904))
942
Part2Weld = CFuncs.Weld.Create(m, HandleL, Part2, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(0.63834095, 0.120515823, 0.384124637, 0.866025984, 0.499998987, 0, 0.499998987, -0.866025984, 0, 0, 0, -1))
943
CFuncs.Mesh.Create("BlockMesh", Part2, "", "", Vector3.new(0, 0, 0), Vector3.new(0.389941067, 1, 1))
944
Part2 = CFuncs.Part.Create(m, Enum.Material.SmoothPlastic, 0, 0, "New Yeller", "Part2", Vector3.new(0.206172049, 0.562762797, 0.206172064))
945
Part2Weld = CFuncs.Weld.Create(m, HandleL, Part2, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-0.364218116, -0.110958099, -0.496704191, 1, 0, 0, 0, -1, -0, 0, 0, -1))
946
CFuncs.Mesh.Create("CylinderMesh", Part2, "", "", Vector3.new(0, 0, 0), Vector3.new(0.194970533, 1, 0.194969654))
947
Part2 = CFuncs.Part.Create(m, Enum.Material.SmoothPlastic, 0, 0, "New Yeller", "Part2", Vector3.new(0.206172049, 0.562762797, 0.206172064))
948
Part2Weld = CFuncs.Weld.Create(m, HandleL, Part2, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-0.364216208, -0.11095047, 0.508239627, 1, 0, 0, 0, -1, -0, 0, 0, -1))
949
CFuncs.Mesh.Create("CylinderMesh", Part2, "", "", Vector3.new(0, 0, 0), Vector3.new(0.194970533, 1, 0.194969654))
950
Part2 = CFuncs.Part.Create(m, Enum.Material.SmoothPlastic, 0, 0, "New Yeller", "Part2", Vector3.new(0.206172049, 0.206172079, 1.0049324))
951
Part2Weld = CFuncs.Weld.Create(m, HandleL, Part2, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-0.374262214, 0.100086212, 0.00573730469, 1, 0, 0, 0, -1, -0, 0, 0, -1))
952
CFuncs.Mesh.Create("BlockMesh", Part2, "", "", Vector3.new(0, 0, 0), Vector3.new(0.0974852666, 0.682394505, 1))
953
Part2 = CFuncs.Part.Create(m, Enum.Material.Neon, 0, 0, "New Yeller", "Part2", Vector3.new(0.206172049, 0.683354914, 0.254247904))
954
Part2Weld = CFuncs.Weld.Create(m, HandleL, Part2, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(0.39466095, -0.0201721191, 0.384109378, 0.866025984, 0.499998987, 0, 0.499998987, -0.866025984, 0, 0, 0, -1))
955
CFuncs.Mesh.Create("BlockMesh", Part2, "", "", Vector3.new(0, 0, 0), Vector3.new(0.389941067, 1, 1))
956
Part2 = CFuncs.Part.Create(m, Enum.Material.Neon, 0, 0, "New Yeller", "Part2", Vector3.new(0.206172049, 0.683354914, 0.254247904))
957
Part2Weld = CFuncs.Weld.Create(m, HandleL, Part2, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(0.516500473, 0.0501708984, 0.384094119, 0.866025984, 0.499998987, 0, 0.499998987, -0.866025984, 0, 0, 0, -1))
958
CFuncs.Mesh.Create("BlockMesh", Part2, "", "", Vector3.new(0, 0, 0), Vector3.new(0.389941067, 1, 1))
959
Part2 = CFuncs.Part.Create(m, Enum.Material.SmoothPlastic, 0, 0, "Gold", "Part2", Vector3.new(0.663258314, 0.643157542, 1.04512966))
960
Part2Weld = CFuncs.Weld.Create(m, HandleL, Part2, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-0.0325930119, -0.151147842, 0.00573730469, 1, 0, 0, 0, -1, -0, 0, 0, -1))
961
Part3 = CFuncs.Part.Create(m, Enum.Material.Neon, 0, 0, "New Yeller", "Part3", Vector3.new(0.206172049, 0.206172079, 0.206172064))
962
Part3Weld = CFuncs.Weld.Create(m, HandleL, Part3, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(0.357483745, -0.5254879, -0.640716434, 0, 0, -1, 0, -1, -0, -1, 0, -0))
963
CFuncs.Mesh.Create("CylinderMesh", Part3, "", "", Vector3.new(0, 0, 0), Vector3.new(0.292455643, 0.121856183, 0.292453945))
964
Part3 = CFuncs.Part.Create(m, Enum.Material.Neon, 0, 0, "New Yeller", "Part3", Vector3.new(0.361777306, 0.206172079, 0.206172064))
965
Part3Weld = CFuncs.Weld.Create(m, HandleL, Part3, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-0.062738657, -0.505384445, 0.00573730469, 1, 0, 0, 0, -1, -0, 0, 0, -1))
966
CFuncs.Mesh.Create("BlockMesh", Part3, "", "", Vector3.new(0, 0, 0), Vector3.new(1, 0.316826075, 0.779878199))
967
Part3 = CFuncs.Part.Create(m, Enum.Material.Neon, 0, 0, "New Yeller", "Part3", Vector3.new(0.206172049, 0.206172079, 0.206172064))
968
Part3Weld = CFuncs.Weld.Create(m, HandleL, Part3, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-0.35468328, -0.435037613, -0.335906148, 1, 0, 0, 0, -1, -0, 0, 0, -1))
969
CFuncs.Mesh.Create("BlockMesh", Part3, "", "", Vector3.new(0, 0, 0), Vector3.new(0.492300361, 0.999220669, 0.38993907))
970
Part3 = CFuncs.Part.Create(m, Enum.Material.Neon, 0, 0, "New Yeller", "Part3", Vector3.new(0.206172049, 0.206172079, 0.643156648))
971
Part3Weld = CFuncs.Weld.Create(m, HandleL, Part3, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-0.273779154, -0.50538826, 0.00573730469, 1, 0, 0, 0, -1, -0, 0, 0, -1))
972
CFuncs.Mesh.Create("BlockMesh", Part3, "", "", Vector3.new(0, 0, 0), Vector3.new(0.292455524, 0.316826075, 1))
973
Part3 = CFuncs.Part.Create(m, Enum.Material.SmoothPlastic, 0, 0, "New Yeller", "Part3", Vector3.new(0.206172049, 0.206172079, 0.206172064))
974
Part3Weld = CFuncs.Weld.Create(m, HandleL, Part3, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-0.508239627, 0.364208579, 0.17042923, 0, 0, 1, -1, 0, -0, 0, -1, 0))
975
CFuncs.Mesh.Create("SpecialMesh", Part3, Enum.MeshType.Sphere, "", Vector3.new(0, 0, 0), Vector3.new(0.194970533, 0.194969699, 0.194969684))
976
Part3 = CFuncs.Part.Create(m, Enum.Material.SmoothPlastic, 0, 0, "New Yeller", "Part3", Vector3.new(0.206172049, 1.0049336, 0.206172064))
977
Part3Weld = CFuncs.Weld.Create(m, HandleL, Part3, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(0.364208579, 0.00576782227, 0.17042923, -1, 0, -0, 0, 0, -1, 0, -1, -0))
978
CFuncs.Mesh.Create("CylinderMesh", Part3, "", "", Vector3.new(0, 0, 0), Vector3.new(0.194970533, 1, 0.194969684))
979
Part3 = CFuncs.Part.Create(m, Enum.Material.SmoothPlastic, 0, 0, "Gold", "Part3", Vector3.new(0.206172049, 0.663256168, 0.206172064))
980
Part3Weld = CFuncs.Weld.Create(m, HandleL, Part3, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-0.508239627, 0.0325796604, 0.17042923, 0, 0, 1, -1, 0, -0, 0, -1, 0))
981
CFuncs.Mesh.Create("CylinderMesh", Part3, "", "", Vector3.new(0, 0, 0), Vector3.new(0.194970533, 1, 0.194969684))
982
Part3 = CFuncs.Part.Create(m, Enum.Material.Neon, 0, 0, "New Yeller", "Part3", Vector3.new(0.80495441, 0.206172079, 0.206172064))
983
Part3Weld = CFuncs.Weld.Create(m, HandleL, Part3, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(0.520616472, -0.525484085, 0.00572109222, 1, 0, 0, 0, -1, -0, 0, 0, -1))
984
CFuncs.Mesh.Create("BlockMesh", Part3, "", "", Vector3.new(0, 0, 0), Vector3.new(1, 0.316826075, 0.779878199))
985
Part3 = CFuncs.Part.Create(m, Enum.Material.Neon, 0, 0, "New Yeller", "Part3", Vector3.new(0.206172049, 0.206172079, 0.206172064))
986
Part3Weld = CFuncs.Weld.Create(m, HandleL, Part3, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(0.515432358, 0.00573730469, -0.120672107, 0, 1, 0, 0, 0, -1, -1, 0, 0))
987
CFuncs.Mesh.Create("CylinderMesh", Part3, "", "", Vector3.new(0, 0, 0), Vector3.new(0.414312303, 0.779879749, 0.414309978))
988
Part3 = CFuncs.Part.Create(m, Enum.Material.SmoothPlastic, 0, 0, "Gold", "Part3", Vector3.new(0.206172049, 0.663256109, 0.206172064))
989
Part3Weld = CFuncs.Weld.Create(m, HandleL, Part3, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(0.496704191, 0.0325872898, 0.17042923, 0, 0, 1, -1, 0, -0, 0, -1, 0))
990
CFuncs.Mesh.Create("CylinderMesh", Part3, "", "", Vector3.new(0, 0, 0), Vector3.new(0.194970533, 1, 0.194969684))
991
Part3 = CFuncs.Part.Create(m, Enum.Material.SmoothPlastic, 0, 0, "Bright yellow", "Part3", Vector3.new(0.206172049, 0.502466798, 0.206172064))
992
Part3Weld = CFuncs.Weld.Create(m, HandleL, Part3, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(0.255522728, -0.409584224, -0.512922287, 0, 0, 1, -1, 0, -0, 0, -1, 0))
993
CFuncs.Mesh.Create("CylinderMesh", Part3, "", "", Vector3.new(0, 0, 0), Vector3.new(0.194970533, 1, 0.194969684))
994
Part3 = CFuncs.Part.Create(m, Enum.Material.SmoothPlastic, 0, 0, "Bright yellow", "Part3", Vector3.new(0.462270945, 0.206172079, 0.206172064))
995
Part3Weld = CFuncs.Weld.Create(m, HandleL, Part3, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(0.409576595, -0.502866745, 0.357467532, 1, 0, 0, 0, -1, -0, 0, 0, -1))
996
CFuncs.Mesh.Create("BlockMesh", Part3, "", "", Vector3.new(0, 0, 0), Vector3.new(1, 0.292454839, 0.877363086))
997
Part3 = CFuncs.Part.Create(m, Enum.Material.SmoothPlastic, 0, 0, "Bright yellow", "Part3", Vector3.new(0.206172049, 0.502466798, 0.206172064))
998
Part3Weld = CFuncs.Weld.Create(m, HandleL, Part3, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-0.267042994, -0.40958041, -0.512926102, 0, 0, 1, -1, 0, -0, 0, -1, 0))
999
CFuncs.Mesh.Create("CylinderMesh", Part3, "", "", Vector3.new(0, 0, 0), Vector3.new(0.194970533, 1, 0.194969684))
1000
Part3 = CFuncs.Part.Create(m, Enum.Material.SmoothPlastic, 0, 0, "Bright yellow", "Part3", Vector3.new(0.261283636, 0.462269485, 1.08532703))
1001
Part3Weld = CFuncs.Weld.Create(m, HandleL, Part3, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-0.273779154, -0.241586685, 0.00573730469, 1, 0, 0, 0, -1, -0, 0, 0, -1))
1002
Part3 = CFuncs.Part.Create(m, Enum.Material.SmoothPlastic, 0, 0, "Bright yellow", "Part3", Vector3.new(0.206172049, 0.206172079, 0.206172064))
1003
Part3Weld = CFuncs.Weld.Create(m, HandleL, Part3, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(0.357467532, -0.522974014, -0.640716434, 0, 0, -1, 0, -1, -0, -1, 0, -0))
1004
CFuncs.Mesh.Create("CylinderMesh", Part3, "", "", Vector3.new(0, 0, 0), Vector3.new(0.877367318, 0.0974849537, 0.877362907))
1005
Part3 = CFuncs.Part.Create(m, Enum.Material.SmoothPlastic, 0, 0, "Bright yellow", "Part3", Vector3.new(0.206172049, 0.401973516, 0.206172064))
1006
Part3Weld = CFuncs.Weld.Create(m, HandleL, Part3, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(0.512922287, 0.00572109222, -0.118150592, 0, 1, 0, 0, 0, -1, -1, 0, 0))
1007
CFuncs.Mesh.Create("CylinderMesh", Part3, "", "", Vector3.new(0, 0, 0), Vector3.new(0.389940947, 1, 0.389938712))
1008
Part3 = CFuncs.Part.Create(m, Enum.Material.SmoothPlastic, 0, 0, "Gold", "Part3", Vector3.new(0.206172049, 0.442170709, 0.206172064))
1009
Part3Weld = CFuncs.Weld.Create(m, HandleL, Part3, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-0.508209109, -0.0779570341, -0.472719193, 0, 0, 1, -1, 0, -0, 0, -1, 0))
1010
CFuncs.Mesh.Create("CylinderMesh", Part3, "", "", Vector3.new(0, 0, 0), Vector3.new(0.194970533, 1, 0.194969684))
1011
Part3 = CFuncs.Part.Create(m, Enum.Material.SmoothPlastic, 0, 0, "Bright yellow", "Part3", Vector3.new(0.723554611, 0.206172079, 0.40197283))
1012
Part3Weld = CFuncs.Weld.Create(m, HandleL, Part3, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(0.479927242, -0.512914658, 0.00573730469, 1, 0, 0, 0, -1, -0, 0, 0, -1))
1013
CFuncs.Mesh.Create("BlockMesh", Part3, "", "", Vector3.new(0, 0, 0), Vector3.new(1, 0.389939815, 1))
1014
Part3 = CFuncs.Part.Create(m, Enum.Material.SmoothPlastic, 0, 0, "New Yeller", "Part3", Vector3.new(0.206172049, 0.206172079, 0.206172064))
1015
Part3Weld = CFuncs.Weld.Create(m, HandleL, Part3, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(0.496718496, 0.364208579, 0.17042923, 0, 0, 1, -1, 0, -0, 0, -1, 0))
1016
CFuncs.Mesh.Create("SpecialMesh", Part3, Enum.MeshType.Sphere, "", Vector3.new(0, 0, 0), Vector3.new(0.194970533, 0.194969699, 0.194969684))
1017
Part3 = CFuncs.Part.Create(m, Enum.Material.SmoothPlastic, 0, 0, "Bright yellow", "Part3", Vector3.new(0.206172049, 0.206172079, 0.206172064))
1018
Part3Weld = CFuncs.Weld.Create(m, HandleL, Part3, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-0.345976949, -0.52296257, -0.640722156, 0, 0, -1, 0, -1, -0, -1, 0, -0))
1019
CFuncs.Mesh.Create("CylinderMesh", Part3, "", "", Vector3.new(0, 0, 0), Vector3.new(0.877367318, 0.0974849537, 0.877362907))
1020
Part3 = CFuncs.Part.Create(m, Enum.Material.SmoothPlastic, 0, 0, "Gold", "Part3", Vector3.new(0.206172049, 0.442170709, 0.206172064))
1021
Part3Weld = CFuncs.Weld.Create(m, HandleL, Part3, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(0.496718496, -0.0779646635, -0.472719193, 0, 0, 1, -1, 0, -0, 0, -1, 0))
1022
CFuncs.Mesh.Create("CylinderMesh", Part3, "", "", Vector3.new(0, 0, 0), Vector3.new(0.194970533, 1, 0.194969684))
1023
Part3 = CFuncs.Part.Create(m, Enum.Material.SmoothPlastic, 0, 0, "Bright yellow", "Part3", Vector3.new(0.206172049, 0.502466798, 0.206172064))
1024
Part3Weld = CFuncs.Weld.Create(m, HandleL, Part3, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(0.436416715, -0.40958041, -0.512926102, 0, 0, 1, -1, 0, -0, 0, -1, 0))
1025
CFuncs.Mesh.Create("CylinderMesh", Part3, "", "", Vector3.new(0, 0, 0), Vector3.new(0.194970533, 1, 0.194969684))
1026
Part3 = CFuncs.Part.Create(m, Enum.Material.SmoothPlastic, 0, 0, "Bright yellow", "Part3", Vector3.new(0.206172049, 0.206172079, 0.683353961))
1027
Part3Weld = CFuncs.Weld.Create(m, HandleL, Part3, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(0.208598971, -0.502866745, 0.00576782227, 1, 0, 0, 0, -1, -0, 0, 0, -1))
1028
CFuncs.Mesh.Create("BlockMesh", Part3, "", "", Vector3.new(0, 0, 0), Vector3.new(0.877367556, 0.292454839, 1))
1029
Part3 = CFuncs.Part.Create(m, Enum.Material.SmoothPlastic, 0, 0, "Bright yellow", "Part3", Vector3.new(0.206172049, 0.206172079, 0.241183683))
1030
Part3Weld = CFuncs.Weld.Create(m, HandleL, Part3, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(0.881908178, -0.512926102, 0.00573730469, 1, 0, 0, 0, -1, -0, 0, 0, -1))
1031
CFuncs.Mesh.Create("BlockMesh", Part3, "", "", Vector3.new(0, 0, 0), Vector3.new(0.389940947, 0.389939815, 1))
1032
Part3 = CFuncs.Part.Create(m, Enum.Material.SmoothPlastic, 0, 0, "Bright yellow", "Part3", Vector3.new(0.522567213, 0.206172079, 1.08532703))
1033
Part3Weld = CFuncs.Weld.Create(m, HandleL, Part3, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-0.143131495, -0.502866745, 0.00573730469, 1, 0, 0, 0, -1, -0, 0, 0, -1))
1034
CFuncs.Mesh.Create("BlockMesh", Part3, "", "", Vector3.new(0, 0, 0), Vector3.new(1, 0.292454839, 1))
1035
Part3 = CFuncs.Part.Create(m, Enum.Material.SmoothPlastic, 0, 0, "Bright yellow", "Part3", Vector3.new(0.206172049, 0.502466798, 0.206172064))
1036
Part3Weld = CFuncs.Weld.Create(m, HandleL, Part3, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-0.447936893, -0.409574687, -0.512914658, 0, 0, 1, -1, 0, -0, 0, -1, 0))
1037
CFuncs.Mesh.Create("CylinderMesh", Part3, "", "", Vector3.new(0, 0, 0), Vector3.new(0.194970533, 1, 0.194969684))
1038
Part3 = CFuncs.Part.Create(m, Enum.Material.Neon, 0, 0, "New Yeller", "Part3", Vector3.new(0.944640577, 0.206172079, 0.206172064))
1039
Part3Weld = CFuncs.Weld.Create(m, HandleL, Part3, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(0.168390095, -0.50538826, 0.357513309, 1, 0, 0, 0, -1, -0, 0, 0, -1))
1040
CFuncs.Mesh.Create("BlockMesh", Part3, "", "", Vector3.new(0, 0, 0), Vector3.new(1, 0.316826075, 0.292454064))
1041
Part3 = CFuncs.Part.Create(m, Enum.Material.SmoothPlastic, 0, 0, "Bright yellow", "Part3", Vector3.new(0.462270945, 0.206172079, 0.206172064))
1042
Part3Weld = CFuncs.Weld.Create(m, HandleL, Part3, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(0.40957278, -0.502866745, -0.345976949, 1, 0, 0, 0, -1, -0, 0, 0, -1))
1043
CFuncs.Mesh.Create("BlockMesh", Part3, "", "", Vector3.new(0, 0, 0), Vector3.new(1, 0.292454839, 0.877363086))
1044
Part3 = CFuncs.Part.Create(m, Enum.Material.Neon, 0, 0, "New Yeller", "Part3", Vector3.new(0.206172049, 0.206172079, 0.206172064))
1045
Part3Weld = CFuncs.Weld.Create(m, HandleL, Part3, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-0.354666114, -0.435037613, 0.00573730469, 1, 0, 0, 0, -1, -0, 0, 0, -1))
1046
CFuncs.Mesh.Create("BlockMesh", Part3, "", "", Vector3.new(0, 0, 0), Vector3.new(0.492300361, 0.999220669, 0.38993907))
1047
Part3 = CFuncs.Part.Create(m, Enum.Material.Neon, 0, 0, "New Yeller", "Part3", Vector3.new(0.944640577, 0.206172079, 0.206172064))
1048
Part3Weld = CFuncs.Weld.Create(m, HandleL, Part3, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(0.168390095, -0.50538826, -0.345976949, 1, 0, 0, 0, -1, -0, 0, 0, -1))
1049
CFuncs.Mesh.Create("BlockMesh", Part3, "", "", Vector3.new(0, 0, 0), Vector3.new(1, 0.316826075, 0.292454064))
1050
Part3 = CFuncs.Part.Create(m, Enum.Material.Neon, 0, 0, "New Yeller", "Part3", Vector3.new(0.206172049, 0.206172079, 0.206172064))
1051
Part3Weld = CFuncs.Weld.Create(m, HandleL, Part3, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-0.35468328, -0.435037613, 0.347427249, 1, 0, 0, 0, -1, -0, 0, 0, -1))
1052
CFuncs.Mesh.Create("BlockMesh", Part3, "", "", Vector3.new(0, 0, 0), Vector3.new(0.492300361, 0.999220669, 0.38993907))
1053
Part3 = CFuncs.Part.Create(m, Enum.Material.Neon, 0, 0, "New Yeller", "Part3", Vector3.new(0.206172049, 0.206172079, 0.206172064))
1054
Part3Weld = CFuncs.Weld.Create(m, HandleL, Part3, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-0.345976949, -0.525484085, -0.640727878, 0, 0, -1, 0, -1, -0, -1, 0, -0))
1055
CFuncs.Mesh.Create("CylinderMesh", Part3, "", "", Vector3.new(0, 0, 0), Vector3.new(0.292455643, 0.121856183, 0.292453945))
1056
Part4 = CFuncs.Part.Create(m, Enum.Material.SmoothPlastic, 0, 0, "Gold", "Part4", Vector3.new(1.04513443, 0.206172079, 0.206172064))
1057
Part4Weld = CFuncs.Weld.Create(m, HandleL, Part4, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(0.00573730469, -0.120185852, 0.349273562, 0, 0, -1, 0, 1, 0, 1, 0, 0))
1058
CFuncs.Mesh.Create("SpecialMesh", Part4, Enum.MeshType.Wedge, "", Vector3.new(0, 0, 0), Vector3.new(1, 0.487424731, 0.487424105))
1059
Part5 = CFuncs.Part.Create(m, Enum.Material.SmoothPlastic, 0, 0, "Gold", "Part5", Vector3.new(1.04513443, 0.206172079, 0.206172064))
1060
Part5Weld = CFuncs.Weld.Create(m, HandleL, Part5, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-0.00573730469, -0.42247963, 0.349279284, 0, 0, 1, 0, -1, -0, 1, 0, 0))
1061
CFuncs.Mesh.Create("SpecialMesh", Part5, Enum.MeshType.Wedge, "", Vector3.new(0, 0, 0), Vector3.new(1, 0.487424731, 0.487424105))
1062
Part6 = CFuncs.Part.Create(m, Enum.Material.SmoothPlastic, 0, 0, "Gold", "Part6", Vector3.new(0.206172049, 0.442170829, 1.04512966))
1063
Part6Weld = CFuncs.Weld.Create(m, HandleL, Part6, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(0.349294543, -0.151140213, 0.00573730469, 1, 0, 0, 0, -1, -0, 0, 0, -1))
1064
CFuncs.Mesh.Create("BlockMesh", Part6, "", "", Vector3.new(0, 0, 0), Vector3.new(0.48742649, 1, 1))
1065
sref = CFuncs.Part.Create(char, "Neon", 0, 1, BrickColor.new("Black"), "Reference", Vector3.new())
1066
sref.Anchored = true
1067
1068
ACOS = math.acos
1069
  ang = CFrame.Angles
1070
SIN = math.sin
1071
cf = CFrame.new
1072
COS = math.cos
1073
  rd = math.rad
1074
  rd2 = math.random
1075
 Heartbeat = Instance.new("BindableEvent")
1076
  Heartbeat.Name = "Heartbeat"
1077
  Heartbeat.Parent = script
1078
local LeftShoulder = torso["Left Shoulder"] 
1079
local Left_Hip = torso["Left Hip"] 
1080
local RightShoulder = torso["Right Shoulder"] 
1081
local Right_Hip = torso["Right Hip"] 
1082
1083
 RSC0 = CFrame.new(1, 0.5, 0, 0, 0, 1, 0, 1, 0, -1, 0, 0)
1084
  RSC1 = CFrame.new(-0.5, 0.5, 0, 0, 0, 1, 0, 1, 0, -1, 0, 0)
1085
  LSC0 = CFrame.new(-1, 0.5, 0, 0, 0, -1, 0, 1, 0, 1, 0, 0)
1086
  LSC1 = CFrame.new(0.5, 0.5, 0, 0, 0, -1, 0, 1, 0, 1, 0, 0)
1087
  RHC0 = CFrame.new(1, -1, 0, 0, 0, 1, 0, 1, 0, -1, 0, 0)
1088
  RHC1 = CFrame.new(0.5, 1, 0, 0, 0, 1, 0, 1, 0, -1, 0, 0)
1089
  LHC0 = CFrame.new(-1, -1, 0, 0, 0, -1, 0, 1, 0, 1, 0, 0)
1090
  LHC1 = CFrame.new(-0.5, 1, 0, 0, 0, -1, 0, 1, 0, 1, 0, 0)
1091
  NC0 = CFrame.new(0, 1, 0, -1, 0, 0, 0, 0, 1, 0, 1, 0)
1092
  NC1 = CFrame.new(0, -0.5, 0, -1, 0, 0, 0, 0, 1, 0, 1, 0)
1093
  RJC0 = CFrame.new(0, 0, 0, -1, 0, 0, 0, 0, 1, 0, 1, 0)
1094
  RJC1 = CFrame.new(0, 0, 0, -1, 0, 0, 0, 0, 1, 0, 1, 0)
1095
  RS = torso:FindFirstChild("Right Shoulder")
1096
  LS = torso:FindFirstChild("Left Shoulder")
1097
  RH = torso:FindFirstChild("Right Hip")
1098
  LH = torso:FindFirstChild("Left Hip")
1099
  RJ = root:FindFirstChild("RootJoint")
1100
  N = torso:FindFirstChild("Neck")
1101
1102
1103
local UltimateBattle = Instance.new("Sound",hed)
1104
		UltimateBattle.SoundId = "rbxassetid://1333021608"
1105
		UltimateBattle.Pitch = 1
1106
		UltimateBattle.Looped = true
1107
		UltimateBattle.Volume = 5
1108
	UltimateBattle:Play()
1109
		
1110
		
1111
		
1112
		
1113
1114
		
1115
	function QuaternionFromCFrame(cf)
1116
	local mx, my, mz, m00, m01, m02, m10, m11, m12, m20, m21, m22 = cf:components()
1117
	local trace = m00 + m11 + m22
1118
	if trace > 0 then 
1119
		local s = math.sqrt(1 + trace)
1120
		local recip = 0.5 / s
1121
		return (m21 - m12) * recip, (m02 - m20) * recip, (m10 - m01) * recip, s * 0.5
1122
	else
1123
		local i = 0
1124
		if m11 > m00 then
1125
			i = 1
1126
		end
1127
		if m22 > (i == 0 and m00 or m11) then
1128
			i = 2
1129
		end
1130
		if i == 0 then
1131
			local s = math.sqrt(m00 - m11 - m22 + 1)
1132
			local recip = 0.5 / s
1133
			return 0.5 * s, (m10 + m01) * recip, (m20 + m02) * recip, (m21 - m12) * recip
1134
		elseif i == 1 then
1135
			local s = math.sqrt(m11 - m22 - m00 + 1)
1136
			local recip = 0.5 / s
1137
			return (m01 + m10) * recip, 0.5 * s, (m21 + m12) * recip, (m02 - m20) * recip
1138
		elseif i == 2 then
1139
			local s = math.sqrt(m22 - m00 - m11 + 1)
1140
			local recip = 0.5 / s return (m02 + m20) * recip, (m12 + m21) * recip, 0.5 * s, (m10 - m01) * recip
1141
		end
1142
	end
1143
end
1144
 
1145
function QuaternionToCFrame(px, py, pz, x, y, z, w)
1146
	local xs, ys, zs = x + x, y + y, z + z
1147
	local wx, wy, wz = w * xs, w * ys, w * zs
1148
	local xx = x * xs
1149
	local xy = x * ys
1150
	local xz = x * zs
1151
	local yy = y * ys
1152
	local yz = y * zs
1153
	local zz = z * zs
1154
	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))
1155
end
1156
 
1157
function QuaternionSlerp(a, b, t)
1158
	local cosTheta = a[1] * b[1] + a[2] * b[2] + a[3] * b[3] + a[4] * b[4]
1159
	local startInterp, finishInterp;
1160
	if cosTheta >= 0.0001 then
1161
		if (1 - cosTheta) > 0.0001 then
1162
			local theta = ACOS(cosTheta)
1163
			local invSinTheta = 1 / SIN(theta)
1164
			startInterp = SIN((1 - t) * theta) * invSinTheta
1165
			finishInterp = SIN(t * theta) * invSinTheta
1166
		else
1167
			startInterp = 1 - t
1168
			finishInterp = t
1169
		end
1170
	else
1171
		if (1 + cosTheta) > 0.0001 then
1172
			local theta = ACOS(-cosTheta)
1173
			local invSinTheta = 1 / SIN(theta)
1174
			startInterp = SIN((t - 1) * theta) * invSinTheta
1175
			finishInterp = SIN(t * theta) * invSinTheta
1176
		else
1177
			startInterp = t - 1
1178
			finishInterp = t
1179
		end
1180
	end
1181
	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
1182
end
1183
1184
function Clerp(a, b, t)
1185
	local qa = {QuaternionFromCFrame(a)}
1186
	local qb = {QuaternionFromCFrame(b)}
1187
	local ax, ay, az = a.x, a.y, a.z
1188
	local bx, by, bz = b.x, b.y, b.z
1189
	local _t = 1 - t
1190
	return QuaternionToCFrame(_t * ax + t * bx, _t * ay + t * by, _t * az + t * bz, QuaternionSlerp(qa, qb, t))
1191
end
1192
1193
main = {r = 0;g = 100;b = 255;v = 1}
1194
if p:FindFirstChild("rcolor") then main.r = p.rcolor.Value else local string = Instance.new("StringValue",p) string.Name = "rcolor" end
1195
if p:FindFirstChild("gcolor") then main.g = p.gcolor.Value else local string = Instance.new("StringValue",p) string.Name = "gcolor" end
1196
if p:FindFirstChild("bcolor") then main.b = p.bcolor.Value else local string = Instance.new("StringValue",p) string.Name = "bcolor" end
1197
if p:FindFirstChild("vcolor") then main.v = p.vcolor.Value else local string = Instance.new("StringValue",p) string.Name = "vcolor" end
1198
if p:FindFirstChild("idtheme") then themeid = p.idtheme.Value else local string = Instance.new("StringValue",p) string.Name = "idtheme" end
1199
if p:FindFirstChild("pitchtheme") then themepitch = p.pitchtheme.Value else local string = Instance.new("StringValue",p) string.Name = "pitchtheme" end
1200
pr = p:FindFirstChild("rcolor")
1201
pg = p:FindFirstChild("gcolor")
1202
pb = p:FindFirstChild("bcolor")
1203
pv = p:FindFirstChild("vcolor")
1204
idth = p:FindFirstChild("idtheme")
1205
pith = p:FindFirstChild("pitchtheme")
1206
main_color = Color3.fromRGB(main.r,main.g,main.b)
1207
explosionid = {144699494,144699494}
1208
punch = {545219984}
1209
--919941001
1210
Prefix = "/"
1211
p.Chatted:connect(function(msg)
1212
 
1213
    if msg:lower():sub(1,#Prefix+#'color r ')==Prefix..'color r ' then
1214
    local v = tonumber(msg:sub(#Prefix+#'color r '+1))
1215
    main.r = v
1216
    elseif msg:lower():sub(1,#Prefix+#'color g ')==Prefix..'color g ' then
1217
    local v = tonumber(msg:sub(#Prefix+#'color g '+1))
1218
    main.g = v
1219
    elseif msg:lower():sub(1,#Prefix+#'color b ')==Prefix..'color b ' then
1220
    local v = tonumber(msg:sub(#Prefix+#'color b '+1))
1221
    main.b = v
1222
    elseif msg:lower():sub(1,#Prefix+#'color v ')==Prefix..'color v ' then
1223
    local v = tonumber(msg:sub(#Prefix+#'color v '+1))
1224
    if v > 1 then main.v = 1 elseif v < -1 then main.v = -1 else main.v = v end
1225
1226
    elseif msg:lower():sub(1,#Prefix+#'theme ')==Prefix..'theme ' then
1227
    local v = tonumber(msg:sub(#Prefix+#'theme '+1))
1228
    themeid = v
1229
    music(themeid,themepitch)
1230
1231
    elseif msg:lower():sub(1,#Prefix+#'pitch ')==Prefix..'pitch ' then
1232
    local v = tonumber(msg:sub(#Prefix+#'pitch '+1))
1233
    themepitch = v
1234
    music(themeid,themepitch)
1235
1236
    elseif msg:lower():sub(1,#Prefix+#'prefix ')==Prefix..'prefix ' then
1237
    local v = msg:sub(#Prefix+#'prefix '+1)
1238
    Prefix = v
1239
 
1240
    elseif msg:lower():sub(1,#Prefix+#'reset')==Prefix..'reset' then
1241
    main.r = 0
1242
    main.g = 100
1243
    main.b = 255
1244
    main.v = 1
1245
    themeid = 556122490
1246
    themepitch = 1
1247
    music(themeid,themepitch)
1248
1249
    end
1250
1251
end)
1252
----------------------------------------------------------------------------
1253
no_anim = false
1254
attack = false
1255
attacking = false
1256
canjump = true
1257
aiming_anim = false
1258
animid = math.random(0,1)
1259
timer = 0
1260
bg = Instance.new("BodyGyro",root)
1261
bg.P = 100000
1262
bg.D = 100
1263
----------------------------------------------------------------------------
1264
 
1265
----
1266
function rswait(value)
1267
  if value ~= nil and value ~= 0 then
1268
    for i=1,value do
1269
     rs:wait()
1270
    end
1271
  else
1272
	rs:wait()
1273
  end
1274
end
1275
1276
----
1277
local maincolor = BrickColor.new("Really red")
1278
function Eviscerate(dude)
1279
	if dude.Name ~= char then
1280
	
1281
		local val = Instance.new("BoolValue", dude)
1282
		val.Name = "IsHit"
1283
		local ds = coroutine.wrap(function()
1284
			dude:BreakJoints()
1285
			wait(0)
1286
			local Vanish = Instance.new("Sound",dude)
1287
			Vanish.SoundId = "rbxassetid://427025525"
1288
			Vanish.Volume = 0.5
1289
			Vanish.Pitch = 0.6
1290
			Vanish.Looped = false
1291
			wait(0.01)
1292
			Vanish:Play()
1293
			coroutine.resume(coroutine.create(function()
1294
				for i, v in pairs(dude:GetChildren()) do
1295
					if v:IsA("Accessory") then
1296
						v:Destroy()
1297
					end
1298
					
1299
					if v:IsA("CharacterMesh") then
1300
						v:Destroy()
1301
					end
1302
					if v:IsA("Model") then
1303
						v:Destroy()
1304
					end
1305
					if v:IsA("Part") or v:IsA("MeshPart") then
1306
						for x, o in pairs(v:GetChildren()) do
1307
							if o:IsA("Decal") then
1308
								o:Destroy()
1309
							end
1310
						end
1311
						coroutine.resume(coroutine.create(function()
1312
							v.Material = "Grass"
1313
							v.CanCollide = false
1314
							
1315
			coroutine.resume(coroutine.create(function()
1316
			for i = 1,45 do
1317
			v.Transparency = v.Transparency + 0.04
1318
			wait(0.00000000001)
1319
			end
1320
			
1321
				
1322
			end))
1323
			
1324
						local Aura = Instance.new("ParticleEmitter",v)
1325
Aura.Texture = "rbxassetid://1084976679"
1326
Aura.Color = ColorSequence.new(BrickColor.new("Dirt brown").Color)
1327
Aura.EmissionDirection = "Top"
1328
Aura.Speed = NumberRange.new(0)
1329
Aura.Size = NumberSequence.new(2.5)
1330
Aura.Transparency = NumberSequence.new(0,1)
1331
Aura.Drag = 0.4
1332
Aura.LightInfluence = 0
1333
Aura.LockedToPart = true
1334
Aura.Lifetime = NumberRange.new(0.9)
1335
Aura.Rate = 260
1336
Aura.LightEmission = 1
1337
Aura.Rotation = NumberRange.new(-360,360)
1338
Aura.VelocitySpread = 0
1339
Aura.Acceleration = Vector3.new(0,10,0)	
1340
Aura.ZOffset = 0.2
1341
							local BodPoss = Instance.new("BodyPosition", v)
1342
							BodPoss.P = 3000
1343
							BodPoss.D = 1000
1344
							BodPoss.maxForce = Vector3.new(500, 5000, 500)
1345
							BodPoss.position = v.Position + Vector3.new(rd2(-2, 0), rd2(-0, 0), rd2(-0, 0))
1346
							v.BrickColor = BrickColor.new("Dirt brown")
1347
							
1348
								wait(1.3)
1349
								Aura.Enabled = false
1350
								wait(1.5)
1351
								v:Destroy()
1352
						
1353
								dude:Destroy()
1354
							end))
1355
						end
1356
					
1357
				end
1358
			end))
1359
		end)
1360
		ds()
1361
	end
1362
end
1363
function Snap(dude)
1364
	if dude.Name ~= char then
1365
		local bgf = Instance.new("BodyGyro", dude.Head)
1366
		bgf.CFrame = bgf.CFrame * CFrame.fromEulerAnglesXYZ(rd(-90), 0, 0)
1367
		local val = Instance.new("BoolValue", dude)
1368
		val.Name = "IsHit"
1369
		local ds = coroutine.wrap(function()
1370
			dude:BreakJoints()
1371
			wait(0)
1372
			
1373
			coroutine.resume(coroutine.create(function()
1374
				for i, v in pairs(dude:GetChildren()) do
1375
					if v:IsA("Accessory") then
1376
						v:Destroy()
1377
					end
1378
					
1379
					if v:IsA("CharacterMesh") then
1380
						v:Destroy()
1381
					end
1382
					if v:IsA("Model") then
1383
						v:Destroy()
1384
					end
1385
					if v:IsA("Part") or v:IsA("MeshPart") then
1386
						for x, o in pairs(v:GetChildren()) do
1387
							if o:IsA("Decal") then
1388
								o:Destroy()
1389
							end
1390
						end
1391
						coroutine.resume(coroutine.create(function()
1392
							
1393
							v.Material = "Neon"
1394
							local PartEmmit1 = Instance.new("ParticleEmitter", v)
1395
							PartEmmit1.LightEmission = 1
1396
							PartEmmit1.Texture = "rbxassetid://520049620"
1397
							PartEmmit1.Color = ColorSequence.new(maincolor.Color)
1398
							PartEmmit1.Rate = 150
1399
							PartEmmit1.Lifetime = NumberRange.new(1)
1400
							PartEmmit1.Size = NumberSequence.new({
1401
								NumberSequenceKeypoint.new(0, 0.75, 0),
1402
								NumberSequenceKeypoint.new(1, 0, 0)
1403
							})
1404
							PartEmmit1.Transparency = NumberSequence.new({
1405
								NumberSequenceKeypoint.new(0, 0, 0),
1406
								NumberSequenceKeypoint.new(1, 1, 0)
1407
							})
1408
							PartEmmit1.Speed = NumberRange.new(0, 0)
1409
							PartEmmit1.VelocitySpread = 30000
1410
							PartEmmit1.Rotation = NumberRange.new(-500, 500)
1411
							PartEmmit1.RotSpeed = NumberRange.new(-500, 500)
1412
							local BodPoss = Instance.new("BodyPosition", v)
1413
							BodPoss.P = 3000
1414
							BodPoss.D = 1000
1415
							BodPoss.maxForce = Vector3.new(200000, 200000, 200000)
1416
							BodPoss.position = v.Position + Vector3.new(rd2(-1, 1), rd2(-1, 1), rd2(-1, 1))
1417
							v.BrickColor = BrickColor.new("Really red")
1418
							coroutine.resume(coroutine.create(function()
1419
								for i = 0, 49 do
1420
									swait(1)
1421
									
1422
								end
1423
								wait(0.5)
1424
								PartEmmit1.Enabled = false
1425
								wait(3)
1426
								v:Destroy()
1427
								dude:Destroy()
1428
							end))
1429
						end))
1430
					end
1431
				end
1432
			end))
1433
		end)
1434
		ds()
1435
	end
1436
end
1437
function Rock(stone)
1438
	if stone.Name ~= char then
1439
		
1440
		local val = Instance.new("BoolValue", stone)
1441
		val.Name = "IsHit"
1442
		local ds = coroutine.wrap(function()
1443
			stone:BreakJoints()
1444
			wait(0)
1445
			
1446
			coroutine.resume(coroutine.create(function()
1447
				for i, v in pairs(stone:GetChildren()) do
1448
					if v:IsA("Accessory") then
1449
						v:Destroy()
1450
					end
1451
					
1452
					if v:IsA("CharacterMesh") then
1453
						v:Destroy()
1454
					end
1455
					if v:IsA("Model") then
1456
						v:Destroy()
1457
					end
1458
					if v:IsA("Part") or v:IsA("MeshPart") then
1459
						for x, o in pairs(v:GetChildren()) do
1460
							if o:IsA("Decal") then
1461
								o:Destroy()
1462
							end
1463
						end
1464
						coroutine.resume(coroutine.create(function()
1465
							
1466
							v.Material = "Slate"
1467
							v.CanCollide = true
1468
						local BodPoss = Instance.new("BodyPosition", v)
1469
							BodPoss.P = 3000
1470
							BodPoss.D = 1000
1471
							BodPoss.maxForce = Vector3.new(500, 5000, 500)
1472
							BodPoss.position = v.Position + Vector3.new(rd2(-5, 5), rd2(-0, 0), rd2(-0, 0))
1473
						
1474
							v.BrickColor = BrickColor.new("Dark stone grey")
1475
								wait(0.1)
1476
								BodPoss:Destroy()
1477
							coroutine.resume(coroutine.create(function()
1478
								for i = 0, 49 do
1479
									swait(1)
1480
									
1481
								end
1482
								wait(0.5)
1483
								
1484
								wait(3)
1485
								
1486
							end))
1487
						end))
1488
					end
1489
				end
1490
			end))
1491
		end)
1492
		ds()
1493
	end
1494
end
1495
----------------------------------------------------------------------------
1496
local instinct = true
1497
1498
1499
---
1500
Instance.new("ForceField",char).Visible = false
1501
hum:SetStateEnabled("Dead",false)
1502
hum:SetStateEnabled(Enum.HumanoidStateType.Dead, false)
1503
---
1504
1505
---
1506
1507
local MUI = false
1508
1509
1510
max = 0
1511
function music(id,pitch)
1512
max = 0
1513
if id == "Stop" then
1514
if not torso:FindFirstChild("MusicRuin") then
1515
soundz = Instance.new("Sound",torso)
1516
end
1517
soundz:Stop()
1518
else
1519
if not torso:FindFirstChild("MusicRuin") then
1520
soundz = Instance.new("Sound",torso)
1521
end
1522
soundz.MaxDistance = 150*5
1523
soundz.EmitterSize = 150/5
1524
soundz.Volume = 10
1525
soundz.Name = "MusicRuin"
1526
soundz.Looped = true
1527
soundz.PlaybackSpeed = pitch
1528
soundz.SoundId = "rbxassetid://"..id
1529
soundz:Stop()
1530
soundz:Play()
1531
end
1532
end
1533
1534
----------------------------------------------------------------------------
1535
1536
function lerp(a, b, t)
1537
  return a + (b - a)*t
1538
end
1539
1540
----------------------------------------------------------------------------
1541
1542
function Lerp(c1,c2,al)
1543
  local com1 = {c1.X,c1.Y,c1.Z,c1:toEulerAnglesXYZ()}
1544
  local com2 = {c2.X,c2.Y,c2.Z,c2:toEulerAnglesXYZ()}
1545
  for i,v in pairs(com1) do
1546
    com1[i] = v+(com2[i]-v)*al
1547
  end
1548
  return CFrame.new(com1[1],com1[2],com1[3]) * CFrame.Angles(select(4,unpack(com1)))
1549
end
1550
1551
----------------------------------------------------------------------------
1552
1553
function slerp(a, b, t)
1554
  dot = a:Dot(b)
1555
  if dot > 0.99999 or dot < -0.99999 then
1556
    return t <= 0.5 and a or b
1557
  else
1558
    r = math.acos(dot)
1559
    return (a*math.sin((1 - t)*r) + b*math.sin(t*r)) / math.sin(r)
1560
  end
1561
end
1562
1563
----------------------------------------------------------------------------
1564
1565
function clerp(c1,c2,al)
1566
1567
  local com1 = {c1.X,c1.Y,c1.Z,c1:toEulerAnglesXYZ()}
1568
1569
  local com2 = {c2.X,c2.Y,c2.Z,c2:toEulerAnglesXYZ()}
1570
1571
  for i,v in pairs(com1) do
1572
1573
    com1[i] = lerp(v,com2[i],al)
1574
1575
  end
1576
1577
  return CFrame.new(com1[1],com1[2],com1[3]) * CFrame.Angles(select(4,unpack(com1)))
1578
1579
end
1580
1581
----------------------------------------------------------------------------
1582
1583
1584
1585
-------------------
1586
function findAllNearestTorso(pos,dist)
1587
    local list = game.Workspace:children()
1588
    local torso = {}
1589
    local temp = nil
1590
    local human = nil
1591
    local temp2 = nil
1592
    for x = 1, #list do
1593
        temp2 = list[x]
1594
        if (temp2.className == "Model") and (temp2 ~= char) then
1595
            local nayem = "Torso"
1596
            if temp2:findFirstChild("UpperTorso") then nayem = "UpperTorso" end
1597
            temp = temp2:findFirstChild(nayem)
1598
            human = temp2:findFirstChildOfClass("Humanoid")
1599
            if (temp ~= nil) and (human ~= nil) and (human.Health > 0) then
1600
                if (temp.Position - pos).magnitude < dist then
1601
                    table.insert(torso,temp)
1602
                    dist = (temp.Position - pos).magnitude
1603
                end
1604
            end
1605
        end
1606
    end
1607
    return torso
1608
end
1609
1610
----------------------------------------------------------------------------
1611
1612
local isAPlayer
1613
function checkIfNotPlayer(model)
1614
coroutine.resume(coroutine.create(function()
1615
if model ~= char and model.Parent ~= char and model.Parent.Parent ~= char and model.Parent ~= DebrisModel and model.Parent.Parent ~= DebrisModel and model.Parent.Parent.Parent ~= DebrisModel then
1616
isAPlayer = true
1617
else
1618
isAPlayer = false
1619
end
1620
end))
1621
return isAPlayer
1622
end
1623
1624
----------------------------------------------------------------------------
1625
1626
function computeDirection(vec)
1627
local lenSquared = vec.magnitude * vec.magnitude
1628
local invSqrt = 1 / math.sqrt(lenSquared)
1629
return Vector3.new(vec.x * invSqrt, vec.y * invSqrt, vec.z * invSqrt)
1630
end
1631
1632
----------------------------------------------------------------------------
1633
1634
function newWeld(wp0, wp1, wc0x, wc0y, wc0z)
1635
1636
  local wld = Instance.new("Weld", wp1)
1637
1638
  wld.Part0 = wp0
1639
1640
  wld.Part1 = wp1
1641
1642
  wld.C0 = CFrame.new(wc0x, wc0y, wc0z)
1643
1644
  return wld
1645
1646
end
1647
1648
----------------------------------------------------------------------------
1649
1650
function weld(model)
1651
	local parts,last = {}
1652
	local function scan(parent)
1653
		for _,v in pairs(parent:GetChildren()) do
1654
			if (v:IsA("BasePart")) then
1655
				if (last) then
1656
					local w = Instance.new("Weld")
1657
					w.Name = ("%s_Weld"):format(v.Name)
1658
					w.Part0,w.Part1 = last,v
1659
					w.C0 = last.CFrame:inverse()
1660
					w.C1 = v.CFrame:inverse()
1661
					w.Parent = last
1662
				end
1663
				last = v
1664
				table.insert(parts,v)
1665
			end
1666
			scan(v)
1667
		end
1668
	end
1669
	scan(model)
1670
	for _,v in pairs(parts) do
1671
		v.Anchored = false
1672
		v.Locked = true
1673
	end
1674
end
1675
1676
----------------------------------------------------------------------------
1677
1678
function sound(id,position,vol,pitch,dist,start,finish)
1679
  coroutine.resume(coroutine.create(function()
1680
1681
  local part = Instance.new("Part",DebrisModel)
1682
  part.Anchored = true
1683
  part.Position = position
1684
  part.Size = Vector3.new(0,0,0)
1685
  part.CanCollide = false
1686
  part.Transparency = 1
1687
1688
  soundasd = Instance.new("Sound",part)
1689
  
1690
  soundasd.SoundId = "rbxassetid://"..id
1691
  
1692
  if vol ~= nil then
1693
    soundasd.Volume = vol
1694
  end
1695
1696
  if pitch ~= nil then
1697
    soundasd.PlaybackSpeed = pitch
1698
  end
1699
  
1700
  if dist ~= nil then
1701
    soundasd.MaxDistance = dist*5
1702
    soundasd.EmitterSize = dist/5
1703
  end
1704
1705
  delay(0.5,function() debris:AddItem(part,soundasd.TimeLength+3) end)
1706
  
1707
  soundasd:Play()
1708
  
1709
  end))
1710
  return soundasd
1711
end
1712
1713
function createsound(id,parent)
1714
1715
  local soundz = Instance.new("Sound",parent)
1716
1717
  soundz.SoundId = "rbxassetid://"..id
1718
1719
  return soundz
1720
1721
end
1722
1723
function playsound(sond,vol,pitch,start)
1724
  
1725
  if vol ~= nil then
1726
    sond.Volume = vol
1727
  end
1728
1729
  if pitch ~= nil then
1730
    sond.PlaybackSpeed = pitch
1731
  end
1732
 
1733
  if start ~= nil then
1734
    sond.TimePosition = start
1735
  end
1736
1737
  sond:Play()
1738
  
1739
end
1740
1741
----------------------------------------------------------------------------
1742
eColors={"Really red","Really black"}
1743
function Lightning(Part0,Part1,Times,Offset,Color,Thickness,Trans)
1744
    local magz = (Part0 - Part1).magnitude
1745
    local curpos = Part0
1746
    local trz = {-Offset,Offset} 
1747
    for i=1,Times do
1748
        local li = Instance.new("Part", DebrisModel)
1749
        li.TopSurface =0
1750
        li.Material = Enum.Material.Neon
1751
        li.BottomSurface = 0
1752
        li.Anchored = true
1753
        li.Locked = true
1754
        li.Transparency = Trans or 0.4
1755
        li.BrickColor = BrickColor.new(Color)
1756
        li.formFactor = "Custom"
1757
        li.CanCollide = false
1758
        li.Size = Vector3.new(Thickness,Thickness,magz/Times)
1759
        local lim = Instance.new("BlockMesh",li)
1760
        local Offzet = Vector3.new(trz[math.random(1,2)],trz[math.random(1,2)],trz[math.random(1,2)])
1761
        local trolpos = CFrame.new(curpos,Part1)*CFrame.new(0,0,magz/Times).p+Offzet
1762
        if Times == i then
1763
        local magz2 = (curpos - Part1).magnitude
1764
        li.Size = Vector3.new(Thickness,Thickness,magz2)
1765
        li.CFrame = CFrame.new(curpos,Part1)*CFrame.new(0,0,-magz2/2)
1766
        else
1767
        li.CFrame = CFrame.new(curpos,trolpos)*CFrame.new(0,0,magz/Times/2)
1768
        end
1769
        curpos = li.CFrame*CFrame.new(0,0,magz/Times/2).p
1770
        li.Name = "LIGHTNING"
1771
    end
1772
end
1773
1774
----------------------------------------------------------------------------
1775
1776
1777
local HBill = Instance.new("BillboardGui",hed)
1778
local HMain, HBar = Instance.new("Frame", HBill), Instance.new("Frame")
1779
local HName = Instance.new("TextLabel")
1780
HBill.Size = UDim2.new(15,0,2.2,0)
1781
HBill.StudsOffset = Vector3.new(3.675,1.2,0)
1782
HBill.AlwaysOnTop = true
1783
HBill.Enabled = true
1784
HMain.BackgroundColor3 = Color3.new(0, 0, 0)
1785
HMain.BackgroundTransparency = 1
1786
HMain.Size = UDim2.new(.5,0,.2,0)
1787
HName.Parent = HMain
1788
HName.BackgroundTransparency = 1
1789
HName.BackgroundColor3 = Color3.new(255,255,255)
1790
HName.BorderColor3 = Color3.new(0,0,0)
1791
HName.BorderSizePixel = 2
1792
HName.TextTransparency = 1
1793
HName.Size = UDim2.new(1,0,.75,0)
1794
HName.Font = "Code"
1795
HName.Text = [[ok]]
1796
HName.TextScaled = true
1797
HName.TextColor3 = Color3.new(0.5,0.5,0.5)
1798
HName.TextStrokeColor3 = Color3.new(0.1,0.1,0.1)
1799
HName.TextStrokeTransparency = 1
1800
HName.TextYAlignment = "Bottom"
1801
1802
local HBill = Instance.new("BillboardGui",hed)
1803
local HMain, HBar = Instance.new("Frame", HBill), Instance.new("Frame")
1804
local HName = Instance.new("TextLabel")
1805
HBill.Size = UDim2.new(15,0,2.2,0)
1806
HBill.StudsOffset = Vector3.new(3.675,2,0)
1807
HBill.AlwaysOnTop = true
1808
HBill.Enabled = true
1809
HMain.BackgroundColor3 = Color3.new(0, 0, 0)
1810
HMain.BackgroundTransparency = 1
1811
HMain.Size = UDim2.new(.5,0,.5,0)
1812
HName.Parent = HMain
1813
HName.BackgroundTransparency = 1
1814
HName.BackgroundColor3 = Color3.new(255,255,255)
1815
HName.BorderColor3 = Color3.new(0,0,0)
1816
HName.BorderSizePixel = 2
1817
HName.Size = UDim2.new(1,0,.75,0)
1818
HName.Font = "Code"
1819
HName.TextTransparency = 1
1820
HName.Text = [[hi]]
1821
HName.TextScaled = true
1822
HName.TextColor3 = Color3.new(0,0,0)
1823
HName.TextStrokeColor3 = Color3.new(255,255,255)
1824
HName.TextStrokeTransparency = 1
1825
HName.TextYAlignment = "Bottom"
1826
1827
function bigboomrektxd()
1828
coroutine.resume(coroutine.create(function()
1829
local magnitude = nil
1830
local Position = nil
1831
if animid == 0 then
1832
Position = larm.Position
1833
else
1834
Position = rarm.Position
1835
end
1836
--sound(743499393,Position,10,math.random(6,8)/10)
1837
sound(1050751126,Position,10,math.random(10,12)/10,50)
1838
1839
local Part1 = Instance.new("Part")
1840
local mesh2 = Instance.new("SpecialMesh",Part1)
1841
mesh2.MeshId = "rbxassetid://559831844"
1842
mesh2.Scale = Vector3.new(0,0,0.4)
1843
Part1.Material = Enum.Material.Neon
1844
Part1.CanCollide = false
1845
Part1.BrickColor = BrickColor.new("White")
1846
Part1.Parent = DebrisModel
1847
Part1.Size = Vector3.new(0,0,0)
1848
Part1.Anchored = true
1849
Part1.CFrame = CFrame.new(Position,mouse.Hit.p)
1850
Part1.Name = "EXPLOSION2"
1851
1852
local Part0 = Instance.new("Part",DebrisModel)
1853
local PointLight2 = Instance.new("PointLight")
1854
Part0.Name = "Bullet"
1855
Part0.Material = Enum.Material.Neon
1856
Part0.BrickColor = BrickColor.new("New Yeller")
1857
Part0.Anchored = false
1858
Part0.Size = Vector3.new(5, 5, 5)
1859
local mesh = Instance.new("SpecialMesh",Part0)
1860
mesh.MeshType = Enum.MeshType.Sphere
1861
local bforce = Instance.new("BodyForce",Part0)
1862
bforce.force = Vector3.new(0, ((bforce.Parent:getMass())*workspace.Gravity), 0)
1863
Part0.CanCollide = false
1864
PointLight2.Parent = Part0
1865
PointLight2.Color = Part0.Color
1866
local Target = mouse.Hit.p
1867
local direction = Target - Position
1868
local direction = computeDirection(direction)
1869
local pos = Position + (direction * 2) 
1870
Part0.CFrame = CFrame.new(pos,  pos + direction) * CFrame.Angles((math.pi/2)+math.rad(180), 0, 0)
1871
Part0.Velocity = direction * 60
1872
local asd = nil
1873
local loop = nil
1874
delay(9, function() Part0:Destroy() loop:disconnect() asd:disconnect() end)
1875
loop = rs:connect(function()
1876
local asdf = math.random(500,1000)/1000
1877
local Part1 = Instance.new("Part")
1878
local mesh2 = Instance.new("SpecialMesh",Part1)
1879
mesh2.MeshType = Enum.MeshType.Sphere
1880
Part1.Material = Enum.Material.Neon
1881
Part1.CanCollide = false
1882
Part1.BrickColor = BrickColor.new("Gold")
1883
Part1.Parent = DebrisModel
1884
Part1.Size = Part0.Size + Vector3.new(asdf,asdf,asdf)
1885
Part1.Anchored = true
1886
Part1.CFrame = CFrame.new(Part0.Position + Vector3.new(math.random(-1000,1000)/750,math.random(-1000,1000)/750,math.random(-1000,1000)/750))
1887
Part1.Name = "SMOKE"
1888
end)
1889
asd = Part0.Touched:connect(function(ht)
1890
local hit=ht.Parent
1891
if checkIfNotPlayer(ht) == true and ht.CanCollide == true then
1892
asd:disconnect()
1893
loop:disconnect()
1894
Part0:Destroy()
1895
1896
sound(explosionid[math.random(1,#explosionid)],Part0.Position,5,math.random(6,9)/10,80)
1897
for i,v in pairs(findAllNearestTorso(Part0.Position,5)) do
1898
if v.Parent:FindFirstChildOfClass("Humanoid").MaxHealth >= 9e+99 then
1899
v:Destroy()
1900
else
1901
v.Parent:FindFirstChildOfClass("Humanoid"):TakeDamage(v.Parent:FindFirstChildOfClass("Humanoid").MaxHealth/(math.random(50,60)/10))
1902
end
1903
local Position = Part0.Position
1904
local Target = v.Position
1905
local direction = Target - Position
1906
local direction = computeDirection(direction)
1907
local bv = Instance.new("BodyVelocity",v)
1908
bv.Velocity = direction * (50 - ((Position - Target).magnitude/2))
1909
debris:AddItem(bv,1)
1910
end
1911
for i=1,14,2 do for x=1,math.random(0,1) do rs:wait() end
1912
for z=1,math.random(2,3) do
1913
local asdf = math.random(-5,5)*10-(i/20)*8
1914
local Part1 = Instance.new("Part")
1915
local mesh2 = Instance.new("SpecialMesh",Part1)
1916
mesh2.MeshType = Enum.MeshType.Sphere
1917
mesh2.Scale = Vector3.new(0,0,0)
1918
Part1.Material = Enum.Material.Neon
1919
Part1.CanCollide = false
1920
Part1.BrickColor = BrickColor.new("Gold")
1921
Part1.Parent = DebrisModel
1922
Part1.Size = Vector3.new(asdf,asdf,asdf)
1923
Part1.Anchored = true
1924
local a = i*0.5
1925
Part1.CFrame = CFrame.new(Part0.Position + Vector3.new(math.random(-2,2)*a,math.random(-10,10),math.random(-2,2)*a))
1926
Part1.Name = "EXPLOSION"
1927
end
1928
end
1929
1930
end
1931
end)
1932
end))
1933
end
1934
1935
1936
function WhiteBall()
1937
coroutine.resume(coroutine.create(function()
1938
local magnitude = nil
1939
local Position = nil
1940
if animid == 0 then
1941
Position = larm.Position
1942
else
1943
Position = rarm.Position
1944
end
1945
--sound(743499393,Position,10,math.random(6,8)/10)
1946
sound(1050751126,Position,10,math.random(4,5)/10,100)
1947
1948
local Part1 = Instance.new("Part")
1949
local mesh2 = Instance.new("SpecialMesh",Part1)
1950
mesh2.MeshId = "rbxassetid://559831844"
1951
mesh2.Scale = Vector3.new(0,0,0.4)
1952
Part1.Material = Enum.Material.Neon
1953
Part1.CanCollide = false
1954
Part1.BrickColor = BrickColor.new("White")
1955
Part1.Parent = DebrisModel
1956
Part1.Size = Vector3.new(0,0,0)
1957
Part1.Anchored = true
1958
Part1.CFrame = CFrame.new(Position,mouse.Hit.p)
1959
Part1.Name = "EXPLOSION3"
1960
1961
local Part0 = Instance.new("Part",DebrisModel)
1962
local PointLight2 = Instance.new("PointLight")
1963
Part0.Name = "Bullet"
1964
Part0.Material = Enum.Material.Neon
1965
Part0.BrickColor = BrickColor.new("White")
1966
Part0.Anchored = false
1967
Part0.Size = Vector3.new(5, 5, 5)
1968
local mesh = Instance.new("SpecialMesh",Part0)
1969
mesh.MeshType = Enum.MeshType.Sphere
1970
mesh.Scale = Vector3.new(3,3,3)
1971
local bforce = Instance.new("BodyForce",Part0)
1972
bforce.force = Vector3.new(0, ((bforce.Parent:getMass())*workspace.Gravity), 0)
1973
Part0.CanCollide = false
1974
PointLight2.Parent = Part0
1975
PointLight2.Color = Part0.Color
1976
local Target = mouse.Hit.p
1977
local direction = Target - Position
1978
local direction = computeDirection(direction)
1979
local pos = Position + (direction * 2) 
1980
Part0.CFrame = CFrame.new(pos,  pos + direction) * CFrame.Angles((math.pi/2)+math.rad(180), 0, 0)
1981
Part0.Velocity = direction * 150
1982
local asd = nil
1983
local loop = nil
1984
delay(5, function() Part0:Destroy() loop:disconnect() asd:disconnect() end)
1985
loop = rs:connect(function()
1986
local asdf = math.random(500,1000)/1000
1987
local Part1 = Instance.new("Part")
1988
local mesh2 = Instance.new("SpecialMesh",Part1)
1989
mesh2.MeshType = Enum.MeshType.Sphere
1990
Part1.Material = Enum.Material.Neon
1991
Part1.CanCollide = false
1992
Part1.BrickColor = BrickColor.new("White")
1993
Part1.Parent = DebrisModel
1994
Part1.Size = (Part0.Size*3) + Vector3.new(asdf,asdf,asdf)
1995
Part1.Anchored = true
1996
Part1.CFrame = CFrame.new(Part0.Position + Vector3.new(math.random(-3000,3000)/750,math.random(-3000,3000)/750,math.random(-3000,3000)/750))
1997
Part1.Name = "SMOKE"
1998
end)
1999
asd = Part0.Touched:connect(function(ht)
2000
local hit=ht.Parent
2001
if checkIfNotPlayer(ht) == true and ht.CanCollide == true then
2002
asd:disconnect()
2003
loop:disconnect()
2004
Part0:Destroy()
2005
2006
sound(explosionid[math.random(1,#explosionid)],Part0.Position,10,math.random(3,5)/10,500)
2007
for i,v in pairs(findAllNearestTorso(Part0.Position,160)) do
2008
if v.Parent:FindFirstChildOfClass("Humanoid").MaxHealth >= 9e+99 then
2009
v:Destroy()
2010
else
2011
v.Parent:BreakJoints()
2012
end
2013
local Position = Part0.Position
2014
local Target = v.Position
2015
local direction = Target - Position
2016
local direction = computeDirection(direction)
2017
local bv = Instance.new("BodyVelocity",v)
2018
bv.Velocity = direction * (120 - ((Position - Target).magnitude/2))
2019
debris:AddItem(bv,1)
2020
end
2021
for i=1,10,0.5 do for x=1,math.random(0,1) do rs:wait() end
2022
for z=1,math.random(2,3) do
2023
local asdf = math.random(-5,5)*10-(i/20)*12
2024
local Part1 = Instance.new("Part")
2025
local mesh2 = Instance.new("SpecialMesh",Part1)
2026
mesh2.MeshType = Enum.MeshType.Sphere
2027
mesh2.Scale = Vector3.new(0,0,0)
2028
Part1.Material = Enum.Material.Neon
2029
Part1.CanCollide = false
2030
Part1.BrickColor = BrickColor.new("White")
2031
Part1.Parent = DebrisModel
2032
Part1.Size = Vector3.new(asdf,asdf,asdf)
2033
Part1.Anchored = true
2034
local a = i*5
2035
Part1.CFrame = CFrame.new(Part0.Position + Vector3.new(math.random(-2,2)*a,math.random(-30,30),math.random(-2,2)*a))
2036
Part1.Name = "EXPLOSION4"
2037
end
2038
end
2039
2040
end
2041
end)
2042
end))
2043
end
2044
2045
2046
function AirPunch()
2047
coroutine.resume(coroutine.create(function()
2048
local magnitude = nil
2049
local Position = nil
2050
if animid == 0 then
2051
Position = larm.Position
2052
else
2053
Position = rarm.Position
2054
end
2055
--sound(743499393,Position,10,math.random(6,8)/10)
2056
local Sound2 = Instance.new("Sound",hed)
2057
		Sound2.SoundId = "rbxassetid://138137702"
2058
		Sound2.Volume = 5
2059
		Sound2.Pitch = 1
2060
		Sound2.Looped = false
2061
		Sound2:Play()
2062
2063
local Part1 = Instance.new("Part")
2064
local mesh2 = Instance.new("SpecialMesh",Part1)
2065
mesh2.MeshId = "rbxassetid://559831844"
2066
mesh2.Scale = Vector3.new(0,0,0.4)
2067
Part1.Material = Enum.Material.Neon
2068
Part1.CanCollide = false
2069
Part1.BrickColor = BrickColor.new("White")
2070
Part1.Parent = DebrisModel
2071
Part1.Size = Vector3.new(0,0,0)
2072
Part1.Anchored = true
2073
Part1.CFrame = CFrame.new(Position,mouse.Hit.p)
2074
Part1.Name = "EXPLOSION3"
2075
2076
local Part0 = Instance.new("Part",DebrisModel)
2077
local PointLight2 = Instance.new("PointLight")
2078
Part0.Name = "Bullet"
2079
Part0.Material = Enum.Material.Neon
2080
Part0.BrickColor = BrickColor.new("White")
2081
Part0.Anchored = false
2082
Part0.Size = Vector3.new(20,20,20)
2083
Part0.Transparency = 0.5
2084
local mesh = Instance.new("SpecialMesh",Part0)
2085
mesh.MeshId = "rbxassetid://437347603"
2086
mesh.Scale = Vector3.new(2.3,2.3,2.7)
2087
2088
2089
coroutine.resume(coroutine.create(function()
2090
			for i = 3,3 do 
2091
			
2092
			
2093
			
2094
			coroutine.resume(coroutine.create(function()
2095
			for i = 1,100 do
2096
			Part0.CFrame = Part0.CFrame*CFrame.Angles(0,0,-0.2)
2097
			
2098
			wait(0.00000000001)
2099
			end
2100
			
2101
				
2102
			end))
2103
			wait(0.3)
2104
			end
2105
		end))
2106
2107
2108
local bforce = Instance.new("BodyForce",Part0)
2109
bforce.force = Vector3.new(0, ((bforce.Parent:getMass())*workspace.Gravity), 0)
2110
Part0.CanCollide = false
2111
PointLight2.Parent = Part0
2112
PointLight2.Color = Part0.Color
2113
local Target = mouse.Hit.p
2114
local direction = Target - Position
2115
local direction = computeDirection(direction)
2116
local pos = Position + (direction * 2) 
2117
Part0.CFrame = CFrame.new(pos,  pos + direction) * CFrame.Angles(0,0,1.55)
2118
coroutine.resume(coroutine.create(function()
2119
			for i = 3,300 do
2120
				Part0.CFrame = Part0.CFrame:lerp(Part0.CFrame * CFrame.new(0, 0, -13), 0.4)
2121
				
2122
			
2123
			wait(0.00000000001)
2124
			end
2125
			
2126
			
2127
			end))	
2128
local FZcharge3 = Instance.new("ParticleEmitter",Part0)
2129
FZcharge3.Texture = "rbxassetid://174073769"
2130
FZcharge3.Color = ColorSequence.new(BrickColor.new("White").Color)
2131
FZcharge3.EmissionDirection = "Top"
2132
FZcharge3.Speed = NumberRange.new(5)
2133
FZcharge3.Size = NumberSequence.new(10,0)
2134
FZcharge3.Transparency = NumberSequence.new(0,1)
2135
FZcharge3.Drag = 1.2
2136
FZcharge3.LockedToPart = false
2137
FZcharge3.Lifetime = NumberRange.new(2)
2138
FZcharge3.Rate = 105
2139
FZcharge3.LightEmission = 0.8
2140
FZcharge3.Rotation = NumberRange.new(-360,360)
2141
FZcharge3.VelocitySpread = 100	
2142
FZcharge3.ZOffset = 1
2143
coroutine.resume(coroutine.create(function()
2144
			for i = 1,3 do 
2145
			local HQ = Instance.new("Part",Part0)
2146
			HQ.Size = Vector3.new(1,1,1)
2147
			HQ.BrickColor = BrickColor.new("White")
2148
			HQ.Material = "Neon"
2149
			HQ.Anchored = true
2150
			HQ.CanCollide = false
2151
			HQ.Transparency = 0
2152
			HQ.CFrame = Part0.CFrame*CFrame.new(0,0,0)*CFrame.Angles(1.55,0,0)
2153
			local HQ2 = Instance.new("SpecialMesh",HQ)
2154
			HQ2.MeshId = "rbxassetid://20329976"
2155
			HQ2.Scale = Vector3.new(1,1,1)
2156
			local ZQW = Instance.new("Part",Part0)
2157
			ZQW.Size = Vector3.new(1,1,1)
2158
			ZQW.BrickColor = BrickColor.new("White")
2159
			ZQW.Material = "Neon"
2160
			ZQW.Transparency = 1
2161
			ZQW.Anchored = true
2162
			ZQW.CanCollide = false
2163
			ZQW.CFrame = Part0.CFrame*CFrame.new(0,0,0)
2164
			local ZQW2 = Instance.new("SpecialMesh",ZQW)
2165
			ZQW2.MeshType = "Sphere"
2166
			ZQW2.Scale = Vector3.new(1,1,1)
2167
			local H = Instance.new("Part",Part0)
2168
			H.Size = Vector3.new(1,1,1)
2169
			H.BrickColor = BrickColor.new("White")
2170
			H.CanCollide = false
2171
			H.Anchored = true
2172
			H.CFrame = Part0.CFrame*CFrame.new(0,0,0)*CFrame.Angles(0,0,0)
2173
			local H2 = Instance.new("SpecialMesh",H)
2174
			H2.MeshId = "rbxassetid://3270017"
2175
			coroutine.resume(coroutine.create(function()
2176
			for i = 3,90 do
2177
			ZQW2.Scale = ZQW2.Scale + Vector3.new(6.2,6.2,6.2)
2178
			ZQW.Transparency = ZQW.Transparency + 0.06
2179
			HQ2.Scale = HQ2.Scale + Vector3.new(3.2,3.2,3.2)
2180
			HQ.Transparency = HQ.Transparency + 0.05
2181
			H2.Scale = H2.Scale + Vector3.new(6.2,6.2,6.2)
2182
			H.Transparency = H.Transparency + 0.05
2183
			wait(0.00000000001)
2184
			end
2185
			HQ:Destroy()
2186
			H2:Destroy()
2187
			H:Destroy()
2188
			HQ2:Destroy()
2189
			ZQW:Destroy()
2190
			ZQW2:Destroy()
2191
			end))
2192
			wait(0.3)
2193
			end
2194
			end))
2195
local asd = nil
2196
local loop = nil
2197
delay(2, function() Part0:Destroy() loop:disconnect() asd:disconnect() end)
2198
loop = rs:connect(function()
2199
local asdf = math.random(100,1000)/1000
2200
local Part1 = Instance.new("Part")
2201
local mesh2 = Instance.new("SpecialMesh",Part1)
2202
mesh2.MeshType = Enum.MeshType.Sphere
2203
Part1.Material = Enum.Material.Neon
2204
Part1.CanCollide = false
2205
Part1.Transparency = 0.9
2206
Part1.BrickColor = BrickColor.new("White")
2207
Part1.Parent = DebrisModel
2208
Part1.Size = (Part0.Size*0.6) + Vector3.new(asdf,asdf,asdf)
2209
Part1.Anchored = true
2210
Part1.CFrame = CFrame.new(Part0.Position + Vector3.new(math.random(-1000,1000)/80,math.random(-1000,1000)/80,math.random(-1000,1000)/750))
2211
Part1.Name = "SMOKE"
2212
end)
2213
asd = Part0.Touched:connect(function(ht)
2214
local hit=ht.Parent
2215
2216
2217
for i,v in pairs(findAllNearestTorso(Part0.Position,50)) do
2218
if v.Parent:FindFirstChildOfClass("Humanoid").MaxHealth >= 9e+99 then
2219
v:Destroy()
2220
else
2221
v.Parent.Humanoid:TakeDamage(100000)
2222
2223
		
2224
2225
end
2226
local Position = Part0.Position
2227
local Target = v.Position
2228
local direction = Target - Position
2229
local direction = computeDirection(direction)
2230
local bv = Instance.new("BodyVelocity",v)
2231
bv.Velocity = direction * (50 - ((Position - Target).magnitude/2))
2232
debris:AddItem(bv,1)
2233
end
2234
2235
2236
end)
2237
end))
2238
end
2239
2240
function DetroitSmash()
2241
coroutine.resume(coroutine.create(function()
2242
local magnitude = nil
2243
local Position = nil
2244
if animid == 0 then
2245
Position = larm.Position
2246
else
2247
Position = rarm.Position
2248
end
2249
--sound(743499393,Position,10,math.random(6,8)/10)
2250
sound(1050751126,Position,10,math.random(4,5)/10,100)
2251
2252
local Part1 = Instance.new("Part")
2253
local mesh2 = Instance.new("SpecialMesh",Part1)
2254
mesh2.MeshId = "rbxassetid://559831844"
2255
mesh2.Scale = Vector3.new(0,0,0.4)
2256
Part1.Material = Enum.Material.Neon
2257
Part1.CanCollide = false
2258
Part1.BrickColor = BrickColor.new("White")
2259
Part1.Parent = DebrisModel
2260
Part1.Size = Vector3.new(0,0,0)
2261
Part1.Anchored = true
2262
Part1.CFrame = CFrame.new(Position,mouse.Hit.p)
2263
Part1.Name = "EXPLOSION3"
2264
2265
2266
2267
2268
2269
2270
2271
2272
2273
local Target = mouse.Hit.p
2274
local direction = Target - Position
2275
local direction = computeDirection(direction)
2276
local pos = Position + (direction * 2) 
2277
2278
2279
2280
local asd = nil
2281
local loop = nil
2282
2283
local asdf = math.random(100,1000)/1000
2284
local Part1 = Instance.new("Part")
2285
local mesh2 = Instance.new("SpecialMesh",Part1)
2286
mesh2.MeshType = Enum.MeshType.Sphere
2287
Part1.Material = Enum.Material.Neon
2288
Part1.CanCollide = false
2289
Part1.Transparency = 0.9
2290
Part1.BrickColor = BrickColor.new("Institutional white")
2291
Part1.Parent = DebrisModel
2292
Part1.Size = (Part1.Size*0.9) + Vector3.new(asdf,asdf,asdf)
2293
Part1.Anchored = true
2294
Part1.CFrame = CFrame.new(torso.Position + Vector3.new(math.random(-1000,1000)/10,math.random(-1000,1000)/10,math.random(-1000,1000)/750))
2295
Part1.Name = "SMOKE"
2296
2297
2298
2299
2300
sound(punch[math.random(1,#punch)],Part1.Position,500,math.random(3,5)/5,50)
2301
for i,v in pairs(findAllNearestTorso(Part1.Position,100)) do
2302
if v.Parent:FindFirstChildOfClass("Humanoid").MaxHealth >= 9e+99 then
2303
v:Destroy()
2304
else
2305
v.Parent.Humanoid:TakeDamage(100000000000000)
2306
2307
		
2308
2309
end
2310
local Position = Part1.Position
2311
local Target = v.Position
2312
local direction = Target - Position
2313
local direction = computeDirection(direction)
2314
local bv = Instance.new("BodyVelocity",v)
2315
bv.Velocity = direction * (50 - ((Position - Target).magnitude/2))
2316
debris:AddItem(bv,1)
2317
end
2318
for i=1,14,2 do for x=1,math.random(1,2) do rs:wait() end
2319
for z=1,math.random(1,2) do
2320
local asdf = math.random(-5,5)*3-(i/20)*10
2321
local Part1 = Instance.new("Part")
2322
local mesh2 = Instance.new("SpecialMesh",Part1)
2323
mesh2.MeshType = Enum.MeshType.Sphere
2324
mesh2.Scale = Vector3.new(0,0,0)
2325
Part1.Material = Enum.Material.SmoothPlastic
2326
Part1.CanCollide = false
2327
Part1.BrickColor = BrickColor.new("Institutional white")
2328
Part1.Parent = DebrisModel
2329
Part1.Size = Vector3.new(asdf,asdf,asdf)
2330
Part1.Anchored = true
2331
Part1.Transparency = 0.3
2332
local a = i*0.9
2333
Part1.CFrame = CFrame.new(torso.Position + Vector3.new(math.random(-1,1)*a,math.random(-1,1),math.random(-1,1)*a))
2334
Part1.Name = "EXPLOSION4"
2335
end
2336
end
2337
end))
2338
end
2339
2340
function DelawareSmash()
2341
coroutine.resume(coroutine.create(function()
2342
local magnitude = nil
2343
local Position = nil
2344
if animid == 0 then
2345
Position = larm.Position
2346
else
2347
Position = rarm.Position
2348
end
2349
--sound(743499393,Position,10,math.random(6,8)/10)
2350
local Sound2 = Instance.new("Sound",hed)
2351
		Sound2.SoundId = "rbxassetid://138137702"
2352
		Sound2.Volume = 5
2353
		Sound2.Pitch = 0.9
2354
		Sound2.Looped = false
2355
		Sound2:Play()
2356
2357
local Part1 = Instance.new("Part")
2358
local mesh2 = Instance.new("SpecialMesh",Part1)
2359
mesh2.MeshId = "rbxassetid://559831844"
2360
mesh2.Scale = Vector3.new(0,0,0.4)
2361
Part1.Material = Enum.Material.Neon
2362
Part1.CanCollide = false
2363
Part1.BrickColor = BrickColor.new("White")
2364
Part1.Parent = DebrisModel
2365
Part1.Size = Vector3.new(0,0,0)
2366
Part1.Anchored = true
2367
Part1.CFrame = CFrame.new(Position,mouse.Hit.p)
2368
Part1.Name = "EXPLOSION3"
2369
2370
local Part0 = Instance.new("Part",DebrisModel)
2371
local PointLight2 = Instance.new("PointLight")
2372
PointLight2.Brightness = 100
2373
PointLight2.Range = 40
2374
Part0.Name = "Bullet"
2375
Part0.Material = Enum.Material.Glass
2376
Part0.BrickColor = BrickColor.new("White")
2377
Part0.Anchored = false
2378
Part0.Size = Vector3.new(20,20,20)
2379
Part0.Transparency = 0.5
2380
local mesh = Instance.new("SpecialMesh",Part0)
2381
mesh.MeshId = "rbxassetid://437347603"
2382
mesh.Scale = Vector3.new(4.3,4.3,6.7)
2383
local Music = Instance.new("Sound",Part0)
2384
		Music.SoundId = "rbxassetid://362395087"
2385
		Music.Pitch = 0.8
2386
		Music.Looped = true
2387
		Music.Volume = 5
2388
				
2389
		Music:Play()
2390
2391
coroutine.resume(coroutine.create(function()
2392
			for i = 3,3 do 
2393
			
2394
2395
			
2396
			coroutine.resume(coroutine.create(function()
2397
			for i = 1,400 do
2398
			Part0.CFrame = Part0.CFrame*CFrame.Angles(0,0,-0.2)
2399
			
2400
			wait()
2401
			end
2402
			
2403
				
2404
			end))
2405
			wait(0.3)
2406
			end
2407
		end))
2408
2409
2410
local bforce = Instance.new("BodyForce",Part0)
2411
bforce.force = Vector3.new(0, ((bforce.Parent:getMass())*workspace.Gravity), 0)
2412
Part0.CanCollide = false
2413
PointLight2.Parent = Part0
2414
PointLight2.Color = Part0.Color
2415
local Target = mouse.Hit.p
2416
local direction = Target - Position
2417
local direction = computeDirection(direction)
2418
local pos = Position + (direction * 2) 
2419
Part0.CFrame = CFrame.new(pos,  pos + direction) * CFrame.Angles(0,0,1.55)
2420
2421
coroutine.resume(coroutine.create(function()
2422
			for i = 3,300 do
2423
				Part0.CFrame = Part0.CFrame:lerp(Part0.CFrame * CFrame.new(0, 0, -18), 0.4)
2424
				
2425
			
2426
			wait()
2427
			end
2428
			
2429
			
2430
end))
2431
local FZcharge3 = Instance.new("ParticleEmitter",Part0)
2432
FZcharge3.Texture = "rbxassetid://174073769"
2433
FZcharge3.Color = ColorSequence.new(BrickColor.new("White").Color)
2434
FZcharge3.EmissionDirection = "Top"
2435
FZcharge3.Speed = NumberRange.new(5)
2436
FZcharge3.Size = NumberSequence.new(40,0)
2437
FZcharge3.Transparency = NumberSequence.new(0,1)
2438
FZcharge3.Drag = 1.2
2439
FZcharge3.LockedToPart = false
2440
FZcharge3.Lifetime = NumberRange.new(3)
2441
FZcharge3.Rate = 105
2442
FZcharge3.LightEmission = 0.8
2443
FZcharge3.Rotation = NumberRange.new(-360,360)
2444
FZcharge3.VelocitySpread = 100	
2445
FZcharge3.ZOffset = 1	
2446
local FlyAt = Instance.new("Attachment",Part0)FlyAt.Position = Vector3.new(0,0.1,0)
2447
local FlyAt2 = Instance.new("Attachment",Part0)FlyAt2.Position = Vector3.new(0,-15.5,0)
2448
local Speed = Instance.new("Trail",Part0)Speed.Attachment0 = FlyAt Speed.Attachment1 = FlyAt2
2449
Speed.Texture = "rbxassetid://22636887" Speed.Lifetime = 2.1 Speed.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,0,0),NumberSequenceKeypoint.new(1,1,0)})
2450
Speed.Color = ColorSequence.new(Color3.fromRGB(248, 248, 248)) Speed.LightEmission = 5		
2451
2452
coroutine.resume(coroutine.create(function()
2453
			for i = 1,60 do 
2454
			local HQ = Instance.new("Part",Part0)
2455
			HQ.Size = Vector3.new(1,1,1)
2456
			HQ.BrickColor = BrickColor.new("White")
2457
			HQ.Material = Enum.Material.Glass
2458
			HQ.Anchored = true
2459
			HQ.CanCollide = false
2460
			HQ.Transparency = 0
2461
			HQ.CFrame = Part0.CFrame*CFrame.new(0,0,-20)*CFrame.Angles(1.55,0,0)
2462
			local HQ2 = Instance.new("SpecialMesh",HQ)
2463
			HQ2.MeshId = "rbxassetid://20329976"
2464
			HQ2.Scale = Vector3.new(14.5,14.5,14.5)
2465
			local ZQW = Instance.new("Part",Part0)
2466
			ZQW.Size = Vector3.new(1,1,1)
2467
			ZQW.BrickColor = BrickColor.new("White")
2468
			ZQW.Material = Enum.Material.Glass
2469
			ZQW.Transparency = 1
2470
			ZQW.Anchored = true
2471
			ZQW.CanCollide = false
2472
			ZQW.CFrame = Part0.CFrame*CFrame.new(-40,0,0)
2473
			local ZQW2 = Instance.new("SpecialMesh",ZQW)
2474
			ZQW2.MeshType = "Sphere"
2475
			ZQW2.Scale = Vector3.new(14.5,14.5,2.5)
2476
			local H = Instance.new("Part",Part0)
2477
			H.Size = Vector3.new(1,1,1)
2478
			H.BrickColor = BrickColor.new("White")
2479
			H.CanCollide = false
2480
			H.Anchored = true
2481
			H.CFrame = Part0.CFrame*CFrame.new(0,0,-40)*CFrame.Angles(0,0,0)
2482
			local H2 = Instance.new("SpecialMesh",H)
2483
			H2.MeshId = "rbxassetid://3270017"
2484
			H2.Scale = Vector3.new(14.5,14.5,2.5)
2485
			coroutine.resume(coroutine.create(function()
2486
			for i = 1,90 do
2487
			ZQW2.Scale = ZQW2.Scale + Vector3.new(6.2,6.2,6.2)
2488
			ZQW.Transparency = ZQW.Transparency + 0.06
2489
			HQ2.Scale = HQ2.Scale + Vector3.new(3.2,8.2,3.2)
2490
			HQ.Transparency = HQ.Transparency + 0.05
2491
			H2.Scale = H2.Scale + Vector3.new(6.2,6.2,6.2)
2492
			H.Transparency = H.Transparency + 0.05
2493
			wait(0.00000000001)
2494
			end
2495
			HQ:Destroy()
2496
			H2:Destroy()
2497
			H:Destroy()
2498
			HQ2:Destroy()
2499
			ZQW:Destroy()
2500
			ZQW2:Destroy()
2501
			end))
2502
					
2503
			wait(0.1)
2504
	
2505
			end
2506
			
2507
			end))
2508
local asd = nil
2509
local loop = nil
2510
delay(7, function() Part0:Destroy() loop:disconnect() asd:disconnect() end)
2511
loop = rs:connect(function()
2512
local asdf = math.random(100,1000)/1000
2513
local Part1 = Instance.new("Part")
2514
local mesh2 = Instance.new("SpecialMesh",Part1)
2515
mesh2.MeshType = Enum.MeshType.Sphere
2516
Part1.Material = Enum.Material.Neon
2517
Part1.CanCollide = false
2518
Part1.Transparency = 0.9
2519
Part1.BrickColor = BrickColor.new("White")
2520
Part1.Parent = DebrisModel
2521
Part1.Size = (Part0.Size*0.6) + Vector3.new(asdf,asdf,asdf)
2522
Part1.Anchored = true
2523
Part1.CFrame = CFrame.new(Part0.Position + Vector3.new(math.random(-1000,1000)/80,math.random(-1000,1000)/80,math.random(-1000,1000)/750))
2524
Part1.Name = "SMOKE"
2525
end)
2526
asd = Part0.Touched:connect(function(ht)
2527
local hit=ht.Parent
2528
2529
2530
2531
2532
for i,v in pairs(findAllNearestTorso(Part0.Position,50)) do
2533
if v.Parent:FindFirstChildOfClass("Humanoid").MaxHealth >= 9e+99 then
2534
v:Destroy()
2535
else
2536
v.Parent.Humanoid:TakeDamage(1000)
2537
			v.Velocity = Part0.CFrame.lookVector * 100
2538
2539
end
2540
2541
local Position = Part0.Position
2542
local Target = v.Position
2543
local direction = Target - Position
2544
local direction = computeDirection(direction)
2545
local bv = Instance.new("BodyVelocity",v)
2546
bv.Velocity = direction * (50 - ((Position - Target).magnitude/2))
2547
debris:AddItem(bv,1)
2548
end
2549
2550
2551
end)
2552
end))
2553
end
2554
2555
2556
2557
function unused()
2558
coroutine.resume(coroutine.create(function()
2559
local magnitude = nil
2560
local Position = nil
2561
if animid == 0 then
2562
Position = larm.Position
2563
else
2564
Position = rarm.Position
2565
end
2566
--sound(743499393,Position,10,math.random(6,8)/10)
2567
sound(1050751126,Position,10,math.random(4,5)/10,100)
2568
2569
local Part1 = Instance.new("Part")
2570
local mesh2 = Instance.new("SpecialMesh",Part1)
2571
mesh2.MeshId = "rbxassetid://559831844"
2572
mesh2.Scale = Vector3.new(0,0,0.4)
2573
Part1.Material = Enum.Material.Neon
2574
Part1.CanCollide = false
2575
Part1.BrickColor = BrickColor.new("White")
2576
Part1.Parent = DebrisModel
2577
Part1.Size = Vector3.new(0,0,0)
2578
Part1.Anchored = true
2579
Part1.CFrame = CFrame.new(Position,mouse.Hit.p)
2580
Part1.Name = "EXPLOSION3"
2581
2582
local Part0 = Instance.new("Part",DebrisModel)
2583
local PointLight2 = Instance.new("PointLight")
2584
Part0.Name = "Bullet"
2585
Part0.Material = Enum.Material.Neon
2586
Part0.BrickColor = BrickColor.new("White")
2587
Part0.Anchored = false
2588
Part0.Size = Vector3.new(1,1,1)
2589
Part0.Transparency = 0.5
2590
local mesh = Instance.new("SpecialMesh",Part0)
2591
mesh.MeshId = "rbxassetid://437347603"
2592
mesh.Scale = Vector3.new(1.3,1.3,4.4)
2593
local bforce = Instance.new("BodyForce",Part0)
2594
bforce.force = Vector3.new(0, ((bforce.Parent:getMass())*workspace.Gravity), 0)
2595
Part0.CanCollide = false
2596
PointLight2.Parent = Part0
2597
PointLight2.Color = Part0.Color
2598
local Target = mouse.Hit.p
2599
local direction = Target - Position
2600
local direction = computeDirection(direction)
2601
local pos = Position + (direction * 2) 
2602
Part0.CFrame = CFrame.new(pos,  pos + direction) * CFrame.Angles(0,0,1.55)
2603
Part0.Velocity = direction * 750
2604
local asd = nil
2605
local loop = nil
2606
delay(5, function() Part0:Destroy() loop:disconnect() asd:disconnect() end)
2607
loop = rs:connect(function()
2608
local asdf = math.random(500,1000)/1000
2609
local Part1 = Instance.new("Part")
2610
local mesh2 = Instance.new("SpecialMesh",Part1)
2611
mesh2.MeshType = Enum.MeshType.Sphere
2612
Part1.Material = Enum.Material.Neon
2613
Part1.CanCollide = false
2614
Part1.BrickColor = BrickColor.new("White")
2615
Part1.Parent = DebrisModel
2616
Part1.Size = (Part0.Size*3) + Vector3.new(asdf,asdf,asdf)
2617
Part1.Anchored = true
2618
Part1.CFrame = CFrame.new(Part0.Position + Vector3.new(math.random(-1000,1000)/750,math.random(-1000,1000)/750,math.random(-1000,1000)/750))
2619
Part1.Name = "SMOKE"
2620
end)
2621
asd = Part0.Touched:connect(function(ht)
2622
local hit=ht.Parent
2623
if checkIfNotPlayer(ht) == true and ht.CanCollide == true then
2624
asd:disconnect()
2625
loop:disconnect()
2626
Part0:Destroy()
2627
2628
sound(punch[math.random(1,#punch)],Part0.Position,10,math.random(3,5)/5,50)
2629
for i,v in pairs(findAllNearestTorso(Part0.Position,35)) do
2630
if v.Parent:FindFirstChildOfClass("Humanoid").MaxHealth >= 9e+99 then
2631
v:Destroy()
2632
else
2633
v.Parent:BreakJoints()
2634
local Fl = Instance.new("BodyVelocity",v.Parent.Head)
2635
			Fl.maxForce = Vector3.new(math.huge,math.huge,math.huge)
2636
			Fl.velocity = Part0.CFrame.lookVector*395
2637
			wait(0.05)
2638
			Fl:remove()
2639
2640
end
2641
local Position = Part0.Position
2642
local Target = v.Position
2643
local direction = Target - Position
2644
local direction = computeDirection(direction)
2645
local bv = Instance.new("BodyVelocity",v)
2646
bv.Velocity = direction * (120 - ((Position - Target).magnitude/2))
2647
debris:AddItem(bv,1)
2648
end
2649
for i=1,10,0.5 do for x=1,math.random(0,1) do rs:wait() end
2650
for z=1,math.random(2,3) do
2651
local asdf = math.random(-5,5)*2-(i/2)*10
2652
local Part1 = Instance.new("Part")
2653
local mesh2 = Instance.new("SpecialMesh",Part1)
2654
mesh2.MeshType = Enum.MeshType.Sphere
2655
mesh2.Scale = Vector3.new(0,0,0)
2656
Part1.Material = Enum.Material.Neon
2657
Part1.CanCollide = false
2658
Part1.BrickColor = BrickColor.new("White")
2659
Part1.Parent = DebrisModel
2660
Part1.Size = Vector3.new(asdf,asdf,asdf)
2661
Part1.Anchored = true
2662
local a = i*0.7
2663
Part1.CFrame = CFrame.new(Part0.Position + Vector3.new(math.random(-2,2)*a,math.random(-4,4),math.random(-2,2)*a))
2664
Part1.Name = "EXPLOSION4"
2665
end
2666
end
2667
2668
end
2669
end)
2670
end))
2671
end
2672
2673
2674
2675
2676
2677
2678
 function lerpz(joint, prop, cfrmz, alp)
2679
    joint[prop] = joint[prop]:lerp(cfrmz, alp)
2680
  end
2681
  function resetlerp()
2682
    RJ.C0 = RJC0
2683
    RJ.C1 = RJC1
2684
    N.C0 = NC0
2685
    N.C1 = NC1
2686
    RS.C0 = RSC0
2687
    RS.C1 = RSC1
2688
    LS.C0 = LSC0
2689
    LS.C1 = LSC1
2690
    RH.C0 = RHC0
2691
    RH.C1 = RHC1
2692
    LH.C0 = LHC0
2693
  end
2694
function swait(num)
2695
    if num == 0 or num == nil then
2696
      Heartbeat.Event:wait()
2697
    else
2698
      for i = 1, num do
2699
        Heartbeat.Event:wait()
2700
      end
2701
    end
2702
  end
2703
mouse.KeyDown:connect(function(k)
2704
if k == "=" and MUI == true then
2705
	instinct = false
2706
	animid = 5
2707
	no_anim = true
2708
	 for _ = 1, 45 do
2709
      swait()
2710
      lerpz(RJ, "C0", RJC0 * cf(0, 0.8, -0.2) * ang(rd(10), rd(0), rd(-70)), 0.2)
2711
      lerpz(N, "C0", NC0 * cf(0, 0, 0) * ang(rd(6), rd(2), rd(68)), 0.2)
2712
      lerpz(RS, "C0", RSC0 * cf(rd2(-1, 1) / 10, rd2(-1, 1) / 10, rd2(-1, 1) / 10) * ang(rd(rd2(25, 35)), rd(rd2(-15, -5)), rd(rd2(80, 90))), 0.2)
2713
      lerpz(RS, "C1", RSC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.2)
2714
      lerpz(LS, "C0", LSC0 * cf(-0.15, -0.4, 0.5) * ang(rd(-10), rd(60), rd(-86)), 0.2)
2715
      lerpz(LS, "C1", LSC1 * cf(0, 0, 0) * ang(rd(0), rd(80), rd(0)), 0.2)
2716
      lerpz(RH, "C0", RHC0 * cf(0, 0.1, 0) * ang(rd(-6), rd(-29), rd(-2)), 0.2)
2717
      lerpz(RH, "C1", RHC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.2)
2718
      lerpz(LH, "C0", LHC0 * cf(0.4, 0.2, -0.2) * ang(rd(-6), rd(80), rd(-10)), 0.2)
2719
      lerpz(LH, "C1", LHC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.2)
2720
     
2721
    end
2722
	AirPunchStrong()
2723
	wait(0.2)
2724
	hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,0)*CFrame.Angles(math.rad(0),math.rad(70),math.rad(0)), 0.8)--head
2725
		             torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(0),math.rad(-80),math.rad(0)), 0.8)--torso
2726
				    	rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.5,0)*CFrame.Angles(math.rad(90),math.rad(0),math.rad(10)), 0.8)--rarm
2727
					   larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.5,0)*CFrame.Angles(math.rad(50),math.rad(0),math.rad(-20)), 0.8)--larm
2728
					lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(math.rad(0),math.rad(0),math.rad(-10)), 0.8)--lleg
2729
		             rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(math.rad(0),math.rad(0),math.rad(5)), 0.8)--rleg
2730
		wait(0.5)
2731
		hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,0)*CFrame.Angles(math.rad(0),math.rad(70),math.rad(0)), 0.8)--head
2732
		             torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(0),math.rad(-80),math.rad(0)), 0.8)--torso
2733
				    	rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.5,0)*CFrame.Angles(math.rad(-20),math.rad(0),math.rad(10)), 0.8)--rarm
2734
					   larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.5,0)*CFrame.Angles(math.rad(90),math.rad(0),math.rad(-20)), 0.8)--larm
2735
					lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(math.rad(0),math.rad(0),math.rad(-10)), 0.8)--lleg
2736
		             rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(math.rad(0),math.rad(0),math.rad(5)), 0.8)--rleg
2737
	AirPunchStrong()
2738
	wait(0.2)
2739
	hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,0)*CFrame.Angles(math.rad(0),math.rad(70),math.rad(0)), 0.8)--head
2740
		             torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(0),math.rad(-80),math.rad(0)), 0.8)--torso
2741
				    	rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.5,0)*CFrame.Angles(math.rad(90),math.rad(0),math.rad(10)), 0.8)--rarm
2742
					   larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.5,0)*CFrame.Angles(math.rad(50),math.rad(0),math.rad(-20)), 0.8)--larm
2743
					lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(math.rad(0),math.rad(0),math.rad(-10)), 0.8)--lleg
2744
		             rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(math.rad(0),math.rad(0),math.rad(5)), 0.8)--rleg
2745
		wait(0.5)
2746
		hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,0)*CFrame.Angles(math.rad(0),math.rad(-50),math.rad(0)), 0.8)--head
2747
		             torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(0),math.rad(50),math.rad(0)), 0.8)--torso
2748
				    	rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.5,0)*CFrame.Angles(math.rad(90),math.rad(0),math.rad(20)), 0.8)--rarm
2749
					   larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.5,0)*CFrame.Angles(math.rad(-10),math.rad(0),math.rad(-10)), 0.8)--larm
2750
					lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(math.rad(0),math.rad(0),math.rad(-10)), 0.8)--lleg
2751
		             rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(math.rad(0),math.rad(0),math.rad(5)), 0.8)--rleg
2752
	AirPunchStrong()
2753
	wait(0.2)
2754
	no_anim = false
2755
	instinct = true
2756
end
2757
end)
2758
2759
2760
2761
local attacktype = 1
2762
mouse.Button1Down:connect(function()
2763
	if attack == false and attacktype == 1 and MUI == false then
2764
		Hit()
2765
		attacktype = 2
2766
	elseif attack == false and attacktype == 2 and MUI == false then
2767
		Hit2()
2768
		attacktype = 1
2769
	end
2770
end)
2771
2772
2773
mouse.Button1Down:connect(function()
2774
	if attack == false and attacktype == 1 and MUI == true then
2775
		HitFC()
2776
		attacktype = 2
2777
	elseif attack == false and attacktype == 2 and MUI == true then
2778
		HitFC2()
2779
		attacktype = 1
2780
	end
2781
end)
2782
function Hit()
2783
	if not D then D = true
2784
		animid = 5
2785
	no_anim = true
2786
	
2787
		local Grab = Instance.new("Part",larm)
2788
	Grab.Size = Vector3.new(4,4,4)
2789
	Grab.CanCollide = false
2790
	Grab.BrickColor = BrickColor.new("Deep orange")
2791
	Grab.Transparency = math.huge
2792
	local Grabo = Instance.new("Weld",Grab)
2793
	Grabo.Part0 = larm
2794
	Grabo.Part1 = Grab
2795
	Grabo.C0 = CFrame.new(0,-1.1,0)
2796
	local SFXZ = Instance.new("Sound",torso)
2797
			SFXZ.SoundId = "rbxassetid://169259383"
2798
			SFXZ.Volume = 1
2799
			SFXZ.Pitch = 1.5
2800
			SFXZ.Looped = false
2801
			wait(0.01)
2802
			SFXZ:Play()
2803
			
2804
	Grab.Touched:connect(function(hit)
2805
if hit.Parent:FindFirstChildOfClass("Humanoid")and hit.Parent ~= nil and hit.Parent.Name ~= plr.Character.Name then
2806
			Grab:Destroy()
2807
			SFXZ:Destroy()
2808
			
2809
hit.Parent.Humanoid:TakeDamage(5000000000000000)
2810
			local Smash = Instance.new("Part",char)
2811
				Smash.Size = Vector3.new(30,30,30)
2812
				Smash.BrickColor = BrickColor.new("New Yeller")
2813
				Smash.CanCollide = false
2814
				Smash.Anchored = true
2815
				Smash.Transparency = 0.1
2816
				Smash.CFrame = root.CFrame*CFrame.new(0,0,20)*CFrame.Angles(0,0,1.55)
2817
				local Smash2 = Instance.new("SpecialMesh",Smash)
2818
				Smash2.MeshId = "rbxassetid://437347603"
2819
				Smash2.Scale = Vector3.new(2.8,2.8,2.94)			
2820
			local Sound2 = Instance.new("Sound",Smash)
2821
		Sound2.SoundId = "rbxassetid://138137702"
2822
		Sound2.Volume = 0.9
2823
		Sound2.Pitch = 1
2824
		Sound2.Looped = false
2825
		Sound2:Play()
2826
		local Sound = Instance.new("Sound",torso)
2827
		Sound.SoundId = "rbxassetid://0"
2828
		Sound.Volume = 7
2829
		Sound.Pitch = 1
2830
		Sound.Looped = false
2831
		Sound:Play()
2832
	coroutine.resume(coroutine.create(function()
2833
			for i = 3,100 do
2834
				
2835
				Smash.CFrame = Smash.CFrame*CFrame.Angles(0,0,-0.1)
2836
				Smash.CFrame = Smash.CFrame:lerp(Smash.CFrame * CFrame.new(0, 0, -11), 0.4)
2837
				
2838
				
2839
				Smash.Transparency = Smash.Transparency + 0.09
2840
			
2841
			wait(0.00000000001)
2842
			end
2843
			Smash:Destroy()	
2844
			
2845
			end))			
2846
			
2847
			
2848
	coroutine.resume(coroutine.create(function()
2849
			for i = 1,3 do 
2850
			local HQ = Instance.new("Part",root)
2851
			HQ.Size = Vector3.new(1,1,1)
2852
			HQ.BrickColor = BrickColor.new("Medium stone grey")
2853
			HQ.Material = "Neon"
2854
			HQ.Anchored = true
2855
			HQ.CanCollide = false
2856
			HQ.Transparency = 0
2857
			HQ.CFrame = hit.Parent.Head.CFrame*CFrame.new(0,-2,0)*CFrame.Angles(0,0,1.55)
2858
			local HQ2 = Instance.new("SpecialMesh",HQ)
2859
			HQ2.MeshId = "rbxassetid://3270017"
2860
			HQ2.Scale = Vector3.new(1,1,1)
2861
			local ZQW = Instance.new("Part",root)
2862
			ZQW.Size = Vector3.new(1,1,1)
2863
			ZQW.BrickColor = BrickColor.new("Medium stone grey")
2864
			ZQW.Material = "Neon"
2865
			ZQW.Transparency = 1
2866
			ZQW.Anchored = true
2867
			ZQW.CanCollide = false
2868
			ZQW.CFrame = hit.Parent.Head.CFrame*CFrame.new(0,0,0)
2869
			local ZQW2 = Instance.new("SpecialMesh",ZQW)
2870
			ZQW2.MeshType = "Sphere"
2871
			ZQW2.Scale = Vector3.new(1,1,1)
2872
			local H = Instance.new("Part",root)
2873
			H.Size = Vector3.new(1,1,1)
2874
			H.BrickColor = BrickColor.new("Medium stone grey")
2875
			H.CanCollide = false
2876
			H.Anchored = true
2877
			H.CFrame = hit.Parent.Head.CFrame*CFrame.new(0,0,0)*CFrame.Angles(0,0,1.55)
2878
			local H2 = Instance.new("SpecialMesh",H)
2879
			H2.MeshId = "rbxassetid://3270017"
2880
			coroutine.resume(coroutine.create(function()
2881
			for i = 3,90 do
2882
			ZQW2.Scale = ZQW2.Scale + Vector3.new(2.2,2.2,2.2)
2883
			ZQW.Transparency = ZQW.Transparency + 0.06
2884
			HQ2.Scale = HQ2.Scale + Vector3.new(3,3,3.2)
2885
			HQ.Transparency = HQ.Transparency + 0.05
2886
			H2.Scale = H2.Scale + Vector3.new(2.2,2.2,2.2)
2887
			H.Transparency = H.Transparency + 0.05
2888
			wait(0.00000000001)
2889
			end
2890
			HQ:Destroy()
2891
			H2:Destroy()
2892
			H:Destroy()
2893
			HQ2:Destroy()
2894
			ZQW:Destroy()
2895
			ZQW2:Destroy()
2896
			end))
2897
			wait(0.3)
2898
			end
2899
			end))
2900
				local Spinn = Instance.new("Part",char)
2901
				Spinn.Size = Vector3.new(1,1,1)
2902
				Spinn.BrickColor = BrickColor.new("New Yeller")
2903
				Spinn.CanCollide = false
2904
				Spinn.Transparency = 0.1
2905
				Spinn.Anchored = true
2906
				Spinn.Material = "Neon"
2907
				Spinn.CFrame = root.CFrame*CFrame.new(0,0,0)*CFrame.Angles(0,0,0)
2908
				local Spinn2 = Instance.new("SpecialMesh",Spinn)
2909
				Spinn2.MeshId = "rbxassetid://881809484"
2910
				Spinn2.Scale = Vector3.new(20,20,20)	
2911
				coroutine.resume(coroutine.create(function()
2912
			for i = 3,300 do
2913
				Spinn.Transparency = Spinn.Transparency + 0.05
2914
					
2915
					Spinn.CFrame = Spinn.CFrame*CFrame.Angles(0.2,0.2,0.2)
2916
			wait(0.00000000001)
2917
			end
2918
			end))				
2919
2920
2921
			local Spinn = Instance.new("Part",char)
2922
				Spinn.Size = Vector3.new(1,1,1)
2923
				Spinn.BrickColor = BrickColor.new("New Yeller")
2924
				Spinn.CanCollide = false
2925
				Spinn.Transparency = 0.1
2926
				Spinn.Anchored = true
2927
				Spinn.Material = "Neon"
2928
				Spinn.CFrame = root.CFrame*CFrame.new(0,0,-10)*CFrame.Angles(0,0,0)
2929
				local Spinn2 = Instance.new("SpecialMesh",Spinn)
2930
				Spinn2.MeshType = 3
2931
				Spinn2.Scale = Vector3.new(6,6,35)	
2932
				coroutine.resume(coroutine.create(function()
2933
			for i = 3,300 do
2934
				Spinn.Transparency = Spinn.Transparency + 0.05
2935
					
2936
					
2937
			wait(0.00000000001)
2938
			end
2939
			end))			
2940
						
2941
			local SFXZ = Instance.new("Sound",hed)
2942
			SFXZ.SoundId = "rbxassetid://260430060"
2943
			SFXZ.Volume = 3
2944
			SFXZ.Pitch = 1
2945
			SFXZ.Looped = false
2946
			wait(0.01)
2947
			SFXZ:Play()
2948
			
2949
end
2950
SFXZ:Destroy()
2951
	end)
2952
		
2953
for i= 1,5 do
2954
		hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,0)*CFrame.Angles(math.rad(0),math.rad(0),math.rad(0)), .5)--head
2955
		torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(-5), math.rad(-70), math.rad(0)), .5)--torso
2956
		rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.5,0)*CFrame.Angles(math.rad(-30),math.rad(0),math.rad(0)), .5)--arm
2957
		larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.0,0.5,-0.8)*CFrame.Angles(math.rad(160),math.rad(70),math.rad(10)), .5)--arm
2958
		lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0)), .5)--leg
2959
		rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(math.rad(-20), math.rad(0), math.rad(0)),.5)--leg
2960
	wait()
2961
		end
2962
		
2963
		coroutine.resume(coroutine.create(function()
2964
			wait(0.5)
2965
			Grab:remove()
2966
		end))
2967
		no_anim = false
2968
		Grab:Destroy()
2969
		wait(0)
2970
		D = false
2971
	end
2972
end
2973
function Hit2()
2974
	if not D then D = true
2975
		no_anim = true
2976
		local Grab = Instance.new("Part",rarm)
2977
	Grab.Size = Vector3.new(4,4,4)
2978
	Grab.CanCollide = false
2979
	Grab.BrickColor = BrickColor.new("Deep orange")
2980
	Grab.Transparency = math.huge
2981
	local Grabo = Instance.new("Weld",Grab)
2982
	Grabo.Part0 = rarm
2983
	Grabo.Part1 = Grab
2984
	Grabo.C0 = CFrame.new(0,-1.1,0)
2985
	local SFXZ = Instance.new("Sound",torso)
2986
			SFXZ.SoundId = "rbxassetid://169259383"
2987
			SFXZ.Volume = 1
2988
			SFXZ.Pitch = 1
2989
			SFXZ.Looped = false
2990
			wait(0.01)
2991
			SFXZ:Play()
2992
			
2993
	Grab.Touched:connect(function(hit)
2994
if hit.Parent:FindFirstChildOfClass("Humanoid")and hit.Parent ~= nil and hit.Parent.Name ~= plr.Character.Name then
2995
			Grab:Destroy()
2996
			SFXZ:Destroy()
2997
hit.Parent.Humanoid:TakeDamage(50)
2998
			local Cloud3 = Instance.new("Part",char)
2999
				Cloud3.Size = Vector3.new(1,1,1)
3000
				Cloud3.BrickColor = BrickColor.new("Medium stone grey")
3001
				Cloud3.Anchored = true
3002
				Cloud3.Material = "Neon"
3003
				Cloud3.CanCollide = false
3004
				Cloud3.CFrame = rarm.CFrame*CFrame.new(0,0,0)*CFrame.Angles(-1.55,0,0)
3005
				local Cloud4 = Instance.new("SpecialMesh",Cloud3)
3006
				Cloud4.MeshId = "rbxassetid://3270017"
3007
				Cloud4.Scale = Vector3.new(1,1,0.4)
3008
				
3009
				
3010
				
3011
					coroutine.resume(coroutine.create(function()
3012
			for i = 3,650 do
3013
			
3014
			
3015
			
3016
					
3017
	Cloud3.Transparency = Cloud3.Transparency + 0.03
3018
					Cloud4.Scale = Cloud4.Scale + Vector3.new(0.2,0.2,0.2)
3019
								
3020
					
3021
					
3022
					
3023
			wait(0.00000000001)
3024
			end
3025
			end))
3026
			local SFXZ = Instance.new("Sound",hed)
3027
			SFXZ.SoundId = "rbxassetid://260430060"
3028
			SFXZ.Volume = 3
3029
			SFXZ.Pitch = 1.2
3030
			SFXZ.Looped = false
3031
			wait(0.01)
3032
			SFXZ:Play()
3033
			
3034
end
3035
SFXZ:Destroy()
3036
	end)
3037
		for i = 1, 5 do
3038
		wait()
3039
3040
		             torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(0),math.rad(50),math.rad(0)), 0.8)--torso
3041
				    	rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.5,0)*CFrame.Angles(math.rad(90),math.rad(0),math.rad(20)), 0.8)--rarm
3042
					   larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.5,0)*CFrame.Angles(math.rad(-10),math.rad(0),math.rad(-10)), 0.8)--larm
3043
					lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(math.rad(0),math.rad(0),math.rad(-10)), 0.8)--lleg
3044
		             rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(math.rad(0),math.rad(0),math.rad(5)), 0.8)--rleg
3045
		end
3046
		
3047
		coroutine.resume(coroutine.create(function()
3048
			wait(0.5)
3049
			Grab:remove()
3050
		end))
3051
		no_anim = false
3052
		Grab:Destroy()
3053
		wait(0)
3054
		D = false
3055
	end
3056
end
3057
3058
function HitFC()
3059
	if not D then D = true
3060
		animid = 5
3061
	no_anim = true
3062
		local Grab = Instance.new("Part",larm)
3063
	Grab.Size = Vector3.new(3,3,3)
3064
	Grab.CanCollide = false
3065
	Grab.BrickColor = BrickColor.new("Deep orange")
3066
	Grab.Transparency = math.huge
3067
	local Grabo = Instance.new("Weld",Grab)
3068
	Grabo.Part0 = larm
3069
	Grabo.Part1 = Grab
3070
	Grabo.C0 = CFrame.new(0,-1.1,0)
3071
	local SFXZ = Instance.new("Sound",torso)
3072
			SFXZ.SoundId = "rbxassetid://169259383"
3073
			SFXZ.Volume = 1
3074
			SFXZ.Pitch = 1.5
3075
			SFXZ.Looped = false
3076
			wait(0.01)
3077
			SFXZ:Play()
3078
			
3079
	Grab.Touched:connect(function(hit)
3080
if hit.Parent:FindFirstChildOfClass("Humanoid")and hit.Parent ~= nil and hit.Parent.Name ~= plr.Character.Name then
3081
			Grab:Destroy()
3082
			SFXZ:Destroy()
3083
hit.Parent.Humanoid:TakeDamage(250)
3084
			local Cloud3 = Instance.new("Part",char)
3085
				Cloud3.Size = Vector3.new(1,1,1)
3086
				Cloud3.BrickColor = BrickColor.new("Medium stone grey")
3087
				Cloud3.Anchored = true
3088
				Cloud3.Material = "Neon"
3089
				Cloud3.CanCollide = false
3090
				Cloud3.CFrame = larm.CFrame*CFrame.new(0,0,0)*CFrame.Angles(1.55,0,0)
3091
				local Cloud4 = Instance.new("SpecialMesh",Cloud3)
3092
				Cloud4.MeshId = "rbxassetid://3270017"
3093
				Cloud4.Scale = Vector3.new(1.6,1.6,0.4)
3094
				
3095
				
3096
				
3097
					coroutine.resume(coroutine.create(function()
3098
			for i = 3,650 do
3099
			
3100
			
3101
			
3102
					
3103
	Cloud3.Transparency = Cloud3.Transparency + 0.03
3104
					Cloud4.Scale = Cloud4.Scale + Vector3.new(0.5,0.5,0.5)
3105
								
3106
					
3107
					
3108
					
3109
			wait(0.00000000001)
3110
			end
3111
			end))
3112
			local SFXZ = Instance.new("Sound",hed)
3113
			SFXZ.SoundId = "rbxassetid://260430060"
3114
			SFXZ.Volume = 3
3115
			SFXZ.Pitch = 1
3116
			SFXZ.Looped = false
3117
			wait(0.01)
3118
			SFXZ:Play()
3119
			
3120
end
3121
SFXZ:Destroy()
3122
	end)
3123
		
3124
for i = 1, 2 do
3125
		wait()
3126
3127
		             torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(0),math.rad(-80),math.rad(0)), 0.8)--torso
3128
				    	rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.5,0)*CFrame.Angles(math.rad(-20),math.rad(0),math.rad(10)), 0.8)--rarm
3129
					   larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.5,0)*CFrame.Angles(math.rad(90),math.rad(0),math.rad(-20)), 0.8)--larm
3130
					lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(math.rad(0),math.rad(0),math.rad(-10)), 0.8)--lleg
3131
		             rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(math.rad(0),math.rad(0),math.rad(5)), 0.8)--rleg
3132
		end
3133
		
3134
		coroutine.resume(coroutine.create(function()
3135
			wait(0.5)
3136
			Grab:remove()
3137
		end))
3138
		no_anim = false
3139
		Grab:Destroy()
3140
		wait(0)
3141
		D = false
3142
	end
3143
end
3144
function HitFC2()
3145
	if not D then D = true
3146
		no_anim = true
3147
		local Grab = Instance.new("Part",rarm)
3148
	Grab.Size = Vector3.new(3,3,3)
3149
	Grab.CanCollide = false
3150
	Grab.BrickColor = BrickColor.new("Deep orange")
3151
	Grab.Transparency = math.huge
3152
	local Grabo = Instance.new("Weld",Grab)
3153
	Grabo.Part0 = rarm
3154
	Grabo.Part1 = Grab
3155
	Grabo.C0 = CFrame.new(0,-1.1,0)
3156
	local SFXZ = Instance.new("Sound",torso)
3157
			SFXZ.SoundId = "rbxassetid://169259383"
3158
			SFXZ.Volume = 1
3159
			SFXZ.Pitch = 1
3160
			SFXZ.Looped = false
3161
			wait(0.01)
3162
			SFXZ:Play()
3163
			
3164
	Grab.Touched:connect(function(hit)
3165
if hit.Parent:FindFirstChildOfClass("Humanoid")and hit.Parent ~= nil and hit.Parent.Name ~= plr.Character.Name then
3166
			Grab:Destroy()
3167
			SFXZ:Destroy()
3168
hit.Parent.Humanoid:TakeDamage(250)
3169
			local Cloud3 = Instance.new("Part",char)
3170
				Cloud3.Size = Vector3.new(1,1,1)
3171
				Cloud3.BrickColor = BrickColor.new("Medium stone grey")
3172
				Cloud3.Anchored = true
3173
				Cloud3.Material = "Neon"
3174
				Cloud3.CanCollide = false
3175
				Cloud3.CFrame = rarm.CFrame*CFrame.new(0,0,0)*CFrame.Angles(-1.55,0,0)
3176
				local Cloud4 = Instance.new("SpecialMesh",Cloud3)
3177
				Cloud4.MeshId = "rbxassetid://3270017"
3178
				Cloud4.Scale = Vector3.new(1.6,1.6,0.4)
3179
				
3180
				
3181
				
3182
					coroutine.resume(coroutine.create(function()
3183
			for i = 3,650 do
3184
			
3185
			
3186
			
3187
					
3188
	Cloud3.Transparency = Cloud3.Transparency + 0.03
3189
					Cloud4.Scale = Cloud4.Scale + Vector3.new(0.5,0.5,0.2)
3190
								
3191
					
3192
					
3193
					
3194
			wait(0.00000000001)
3195
			end
3196
			end))
3197
			local SFXZ = Instance.new("Sound",hed)
3198
			SFXZ.SoundId = "rbxassetid://260430060"
3199
			SFXZ.Volume = 3
3200
			SFXZ.Pitch = 1.2
3201
			SFXZ.Looped = false
3202
			wait(0.01)
3203
			SFXZ:Play()
3204
			
3205
end
3206
SFXZ:Destroy()
3207
	end)
3208
		for i = 1, 2 do
3209
		wait()
3210
3211
		             torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(0),math.rad(50),math.rad(0)), 0.8)--torso
3212
				    	rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.5,0)*CFrame.Angles(math.rad(90),math.rad(0),math.rad(20)), 0.8)--rarm
3213
					   larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.5,0)*CFrame.Angles(math.rad(-10),math.rad(0),math.rad(-10)), 0.8)--larm
3214
					lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(math.rad(0),math.rad(0),math.rad(-10)), 0.8)--lleg
3215
		             rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(math.rad(0),math.rad(0),math.rad(5)), 0.8)--rleg
3216
		end
3217
		
3218
		coroutine.resume(coroutine.create(function()
3219
			wait(0.5)
3220
			Grab:remove()
3221
		end))
3222
		no_anim = false
3223
		Grab:Destroy()
3224
		wait(0)
3225
		D = false
3226
	end
3227
end
3228
3229
3230
3231
3232
mouse.KeyDown:connect(function(key)
3233
    if key == '1' then
3234
	no_anim = true
3235
	local Aura = Instance.new("ParticleEmitter",Stone4)
3236
Aura.Texture = "rbxassetid://271370648"
3237
Aura.Color = ColorSequence.new(BrickColor.new("Really red").Color)
3238
Aura.EmissionDirection = "Top"
3239
Aura.Speed = NumberRange.new(0)
3240
Aura.Size = NumberSequence.new(2.5)
3241
Aura.Transparency = NumberSequence.new(0,1)
3242
Aura.Drag = 0.4
3243
Aura.LightInfluence = 0
3244
Aura.LockedToPart = true
3245
Aura.Lifetime = NumberRange.new(0.9)
3246
Aura.Rate = 60
3247
Aura.LightEmission = 0.6
3248
Aura.Rotation = NumberRange.new(-360,360)
3249
Aura.VelocitySpread = 0
3250
Aura.Acceleration = Vector3.new(0,0,0)	
3251
Aura.ZOffset = 0.2
3252
LockOn()
3253
for i = 1, 20 do
3254
		wait()
3255
	
3256
		             torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(0),math.rad(0),math.rad(0)), 0.8)--torso
3257
				    	rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.5,-0.5)*CFrame.Angles(math.rad(0),math.rad(0),math.rad(0)), 0.8)--rarm
3258
					   larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.5,-0.5)*CFrame.Angles(math.rad(90),math.rad(-50),math.rad(0)), 0.8)--larm
3259
					lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(math.rad(0),math.rad(0),math.rad(-10)), 0.8)--lleg
3260
		             rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(math.rad(0),math.rad(0),math.rad(5)), 0.8)--rleg
3261
end
3262
no_anim = false
3263
Aura.Rate = 0
3264
end
3265
end)
3266
3267
mouse.KeyDown:connect(function(key)
3268
    if key == '2' then
3269
Bring()
3270
end
3271
end)
3272
3273
function LockOn()
3274
if mouse.Target.Parent ~= char and mouse.Target.Parent.Parent ~= char and mouse.Target.Parent:FindFirstChildOfClass("Humanoid") ~= nil then
3275
TargetSelect(mouse.Target.Parent)
3276
Rock(mouse.Target.Parent)
3277
end
3278
end
3279
3280
3281
function Bring()
3282
if mouse.Target.Parent ~= char and mouse.Target.Parent.Parent ~= char and mouse.Target.Parent:FindFirstChildOfClass("Humanoid") ~= nil then
3283
TargetSelect(mouse.Target.Parent)
3284
3285
end
3286
end
3287
function swait(num)
3288
	if num == 0 or num == nil then
3289
		ArtificialHB.Event:wait()
3290
	else
3291
		for i = 0, num do
3292
			ArtificialHB.Event:wait()
3293
		end
3294
	end
3295
end
3296
3297
	ArtificialHB = Instance.new("BindableEvent", script)
3298
ArtificialHB.Name = "Heartbeat"
3299
3300
script:WaitForChild("Heartbeat")
3301
3302
function TargetSelect(person)
3303
local dd=coroutine.wrap(function()
3304
if targetted ~= person then
3305
targetted = person
3306
for i = 0, 2, 0.1 do
3307
swait()
3308
end
3309
end
3310
end)
3311
dd()
3312
end 
3313
local RbxUtility = LoadLibrary("RbxUtility")
3314
local Create = RbxUtility.Create
3315
function HomingAttack()
3316
3317
3318
3319
3320
if targetted == nil then
3321
3322
end
3323
3324
3325
				 targetted.Head.CFrame = root.CFrame * CFrame.new(0,1.5,-3.1)
3326
			
3327
			
3328
		
3329
				
3330
 
3331
end
3332
mouse.KeyDown:connect(function(key)
3333
    if key == '3'  then
3334
HomingAttack()
3335
end
3336
end)
3337
3338
function laz0r()
3339
3340
local Position = nil
3341
if animid == 0 then
3342
Position = NeckS.Position
3343
else
3344
Position = NeckS.Position
3345
end
3346
3347
local Part1 = Instance.new("Part")
3348
local mesh2 = Instance.new("SpecialMesh",Part1)
3349
mesh2.MeshId = "rbxassetid://559831844"
3350
mesh2.Scale = Vector3.new(0,0,0.4)
3351
Part1.Material = Enum.Material.Neon
3352
Part1.CanCollide = false
3353
Part1.BrickColor = BrickColor.new("White")
3354
Part1.Parent = DebrisModel
3355
Part1.Size = Vector3.new(0,0,0)
3356
Part1.Anchored = true
3357
Part1.CFrame = CFrame.new(Position)
3358
Part1.Name = "EXPLOSION3"
3359
3360
local Part0 = Instance.new("Part",DebrisModel)
3361
Part0.Name = "Bullet"
3362
Part0.Material = Enum.Material.Neon
3363
Part0.BrickColor = BrickColor.new("Magenta")
3364
Part0.Anchored = true
3365
local mesh = Instance.new("SpecialMesh",Part0)
3366
mesh.MeshType = Enum.MeshType.Sphere
3367
Part0.CanCollide = false
3368
local Target = mouse.Hit.p
3369
local direction = Target - Position
3370
local direction = computeDirection(direction)
3371
local ray = Ray.new(Position, (Target).unit*1048)
3372
local part, endPoint = workspace:FindPartOnRay(ray, char)
3373
Part0.Size = Vector3.new(9,1,9)
3374
mesh.Scale = Vector3.new(1,(Position-endPoint).magnitude,1)
3375
local pos = Position + (direction * (mesh.Scale.Y/2))
3376
Part0.CFrame = CFrame.new(pos,  pos + direction) * CFrame.Angles((math.pi/2)+math.rad(180), 0, 0)
3377
3378
clashpart = Instance.new("Part",DebrisModel)
3379
clashpart.Size = Vector3.new(50,50,50)
3380
clashpart.CanCollide = false
3381
clashpart.Anchored = true
3382
clashpart.Transparency = 1
3383
clashpart.BrickColor = BrickColor.new("Magenta")
3384
clashpart.Name = "StarLightClash"
3385
clashpart.CFrame = CFrame.new(endPoint, mouse.Hit.p)
3386
3387
3388
3389
local z = 10
3390
for i = 1,100 do rs:wait()
3391
if animid == 0 then
3392
	root.CFrame = CFrame.new(root.Position,Vector3.new(mouse.Hit.p.X, mouse.Hit.p.Y, mouse.Hit.p.Z))
3393
Position = root.Position
3394
else
3395
	root.CFrame = CFrame.new(root.Position,Vector3.new(mouse.Hit.p.X, mouse.Hit.p.Y, mouse.Hit.p.Z))
3396
Position = root.Position
3397
end
3398
3399
local Target = mouse.Hit.p
3400
local direction = Target - Position
3401
local direction = computeDirection(direction)
3402
local ray = Ray.new(Position, (Target-Position).unit*1048)
3403
local part, endPoint = workspace:FindPartOnRay(ray, char)
3404
Part0.Size = Vector3.new(5-((i/100)*5),1,5-((i/100)*5))
3405
mesh.Scale = Vector3.new(1,(Position-endPoint).magnitude,1)
3406
mesh.Offset = Vector3.new(math.random(-10000,10000)/20000,math.random(-10000,10000)/20000,0)
3407
local pos = Position + (direction * (mesh.Scale.Y/0))
3408
Part0.CFrame = CFrame.new(pos,  pos + direction) * CFrame.Angles((math.pi/2)+math.rad(180), 0, 0)
3409
clashpart.CFrame = CFrame.new(endPoint, root.Position)
3410
3411
local Position = mouse.Hit.p
3412
local Target = root.Position
3413
local direction = Target - Position
3414
local direction = computeDirection(direction)
3415
root.Velocity = direction * 5
3416
3417
if i >= z then z = i + 10 sound(explosionid[math.random(1,#explosionid)],endPoint,10,math.random(6,9)/10,200) end
3418
3419
Part1 = Part0:Clone()
3420
Part1.Parent = DebrisModel
3421
Part1.BrickColor = BrickColor.new("Magenta")
3422
Part1.Name = "SMOKE2"
3423
3424
if part ~= nil then
3425
if part.Name == "StarLightClash" then
3426
local asdf = math.random(0,5)*20
3427
local Part1 = Instance.new("Part")
3428
local mesh2 = Instance.new("SpecialMesh",Part1)
3429
mesh2.MeshType = Enum.MeshType.Sphere
3430
mesh2.Scale = Vector3.new(0,0,0)
3431
Part1.Material = Enum.Material.Neon
3432
Part1.CanCollide = false
3433
Part1.BrickColor = BrickColor.new("Magenta")
3434
Part1.Size = Vector3.new(asdf,asdf,asdf)
3435
Part1.Anchored = true
3436
local a = 1.5
3437
Part1.CFrame = CFrame.new(endPoint + Vector3.new(math.random(-2,2)*a,math.random(-4,4),math.random(-2,2)*a))
3438
Part1.Name = "EXPLOSION"
3439
else
3440
local asdf = math.random(0,5)*10
3441
local Part1 = Instance.new("Part")
3442
local mesh2 = Instance.new("SpecialMesh",Part1)
3443
mesh2.MeshType = Enum.MeshType.Sphere
3444
mesh2.Scale = Vector3.new(0,0,0)
3445
Part1.Material = Enum.Material.Neon
3446
Part1.CanCollide = false
3447
Part1.BrickColor = BrickColor.new("Magenta")
3448
Part1.Parent = DebrisModel
3449
Part1.Size = Vector3.new(asdf,asdf,asdf)
3450
Part1.Anchored = true
3451
local a = 1.5
3452
Part1.CFrame = CFrame.new(endPoint + Vector3.new(math.random(-2,2)*a,math.random(-4,4),math.random(-2,2)*a))
3453
Part1.Name = "EXPLOSION"
3454
end
3455
end
3456
3457
for i,v in pairs(findAllNearestTorso(endPoint,50)) do
3458
if v.Parent:FindFirstChildOfClass("Humanoid").MaxHealth >= 100000000000000000000000000000000000 then
3459
v:Destroy()
3460
else
3461
v.Parent:BreakJoints()
3462
end
3463
local Position = mouse.Hit.p
3464
local Target = v.Position
3465
local direction = Target - Position
3466
local direction = computeDirection(direction)
3467
local bv = Instance.new("BodyVelocity",v)
3468
bv.Velocity = direction * (10 - ((Position - Target).magnitude/2))
3469
debris:AddItem(bv,1)
3470
end
3471
3472
end
3473
clashpart:Destroy()
3474
Part0:Destroy()
3475
wait(0.3)
3476
aiming_anim = false
3477
delay(0.3,function() debounce = false end)
3478
end
3479
3480
3481
mouse.KeyDown:connect(function(k)
3482
if k == "u" and Mode == false then
3483
	
3484
	animid = 5
3485
	no_anim = true
3486
	hum.WalkSpeed = 0
3487
	
3488
	
3489
	
3490
		for i = 1, 30 do
3491
		wait()
3492
	
3493
		             torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(0),math.rad(0),math.rad(0)), 0.8)--torso
3494
				    	rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.5,-0.2)*CFrame.Angles(math.rad(0),math.rad(0),math.rad(0)), 0.8)--rarm
3495
					   larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.5,-0.5)*CFrame.Angles(math.rad(150),math.rad(-50),math.rad(0)), 0.8)--larm
3496
					lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(math.rad(0),math.rad(0),math.rad(-10)), 0.8)--lleg
3497
		             rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(math.rad(0),math.rad(0),math.rad(5)), 0.8)--rleg
3498
		end
3499
		wait(2)
3500
		local Grab = Instance.new("Part",hed)
3501
	Grab.Size = Vector3.new(3.9,5,3.9)
3502
	Grab.CanCollide = false
3503
	Grab.BrickColor = BrickColor.new("Deep orange")
3504
	Grab.Transparency = 1
3505
	local Grabo = Instance.new("Weld",Grab)
3506
	Grabo.Part0 = hed
3507
	Grabo.Part1 = Grab
3508
	Grabo.C0 = CFrame.new(0,-1.5,0)
3509
	
3510
local AuraB = Instance.new("Part",hed)
3511
	AuraB.Size = Vector3.new(2,1,2)
3512
	AuraB.CanCollide = false
3513
	AuraB.BrickColor = BrickColor.new("Deep orange")
3514
	AuraB.Transparency = 1
3515
	local AuraBo = Instance.new("Weld",AuraB)
3516
	AuraBo.Part0 = hed
3517
	AuraBo.Part1 = AuraB
3518
	AuraBo.C0 = CFrame.new(0,-3.6,0)
3519
	
3520
	local FZcharge3 = Instance.new("ParticleEmitter",Grab)
3521
FZcharge3.Texture = "rbxassetid://249481494"
3522
FZcharge3.Color = ColorSequence.new(Color3.fromRGB(0, 0, 255))
3523
FZcharge3.EmissionDirection = "Top"
3524
FZcharge3.Speed = NumberRange.new(2)
3525
FZcharge3.Size = NumberSequence.new(4,0)
3526
FZcharge3.Transparency = NumberSequence.new(0,1)
3527
FZcharge3.Drag = 1.2
3528
FZcharge3.LockedToPart = true
3529
FZcharge3.Lifetime = NumberRange.new(1)
3530
FZcharge3.Rate = 195
3531
FZcharge3.LightEmission = 0.3
3532
FZcharge3.Rotation = NumberRange.new(-360,360)
3533
FZcharge3.VelocitySpread = 0.2	
3534
FZcharge3.ZOffset = 2.5
3535
wait(1)
3536
FZcharge3.Rate = 0
3537
UltimateBattle.Volume = 0
3538
hed:FindFirstChildOfClass("Decal").Texture = "rbxassetid://"
3539
for i,v in pairs(char:GetChildren()) do
3540
if v ~= root then
3541
if v:IsA("Part") then
3542
v.Transparency = 1
3543
elseif v:IsA("Accoutrement") then
3544
v:FindFirstChildOfClass("Part").Transparency = 1
3545
end
3546
end
3547
end
3548
for i,v in pairs(NeckS:GetChildren()) do
3549
if v ~= root then
3550
if v:IsA("Part") then
3551
v.Transparency = 1
3552
elseif v:IsA("Accoutrement") then
3553
v:FindFirstChildOfClass("Part").Transparency = 1
3554
end
3555
end
3556
end
3557
3558
wait(2.2)
3559
FZcharge3.Rate = 195
3560
root.CFrame = mouse.Hit * CFrame.new(0, 3, 0)
3561
3562
for i,v in pairs(char:GetChildren()) do
3563
if v ~= root then
3564
if v:IsA("Part") then
3565
v.Transparency = 0
3566
elseif v:IsA("Accoutrement") then
3567
v:FindFirstChildOfClass("Part").Transparency = 0
3568
end
3569
end
3570
end
3571
for i,v in pairs(NeckS:GetChildren()) do
3572
if v ~= root then
3573
if v:IsA("Part") then
3574
v.Transparency = 0
3575
elseif v:IsA("Accoutrement") then
3576
v:FindFirstChildOfClass("Part").Transparency = 0
3577
end
3578
end
3579
end
3580
hed:FindFirstChildOfClass("Decal").Texture = "rbxassetid://254640655"
3581
wait(1)
3582
UltimateBattle.Volume = 5
3583
FZcharge3.Rate = 0
3584
hum.WalkSpeed = 16
3585
wait(1)
3586
Grab:Destroy()
3587
no_anim = false
3588
end
3589
end)
3590
mouse.KeyDown:connect(function(k)
3591
if k == "u" and Mode == true then
3592
	
3593
	
3594
root.CFrame = mouse.Hit * CFrame.new(0, 3, 0)
3595
3596
3597
end
3598
end)
3599
-------------------------------------------------------
3600
3601
mouse.KeyDown:connect(function(k)
3602
if k == "z" then
3603
	local FZcharge3 = Instance.new("ParticleEmitter",Stone6)
3604
FZcharge3.Texture = "rbxassetid://165211997"
3605
FZcharge3.Color = ColorSequence.new(Color3.fromRGB(0, 255, 0))
3606
FZcharge3.EmissionDirection = "Top"
3607
FZcharge3.Speed = NumberRange.new(8)
3608
FZcharge3.Size = NumberSequence.new(0.5,0)
3609
FZcharge3.Transparency = NumberSequence.new(0,1)
3610
FZcharge3.Drag = 1.2
3611
FZcharge3.LockedToPart = false
3612
FZcharge3.Lifetime = NumberRange.new(0.5)
3613
FZcharge3.Rate = 195
3614
FZcharge3.LightEmission = 1
3615
FZcharge3.VelocitySpread = 100
3616
FZcharge3.Rotation = NumberRange.new(-360,360)
3617
FZcharge3.VelocitySpread = 100.2	
3618
FZcharge3.ZOffset = 1
3619
	local CHAINLINKS = {}
3620
	local POS = mouse.Hit.p
3621
	local CHAINS = false
3622
	local CHAINLINKS = {}
3623
	local A = Instance.new("Attachment",NeckS)
3624
	A.Position = Vector3.new(0.3,0,0)*Player_Size
3625
	A.Orientation = Vector3.new(-90, -89.982, 0)
3626
	local B = Instance.new("Attachment",NeckS)
3627
	B.Position = Vector3.new(-0.3,0,0)*Player_Size
3628
	B.Orientation = Vector3.new(-90, 89.988, 0)
3629
	local C = Instance.new("Attachment",NeckS)
3630
	C.Position = Vector3.new(0.3,-0.1,0)*Player_Size
3631
	C.Orientation = Vector3.new(-90, -89.982, 0)
3632
	local D = Instance.new("Attachment",NeckS)
3633
	D.Position = Vector3.new(-0.3,-0.3,0)*Player_Size
3634
	D.Orientation = Vector3.new(-90, 89.988, 0)
3635
	local LIGHT = Instance.new("Attachment",NeckS)
3636
	LIGHT.Position = Vector3.new(0.3,-0,0)*Player_Size
3637
	local LIGHT2 = Instance.new("PointLight",larm)
3638
	LIGHT2.Range = 6
3639
	LIGHT2.Brightness = 20
3640
	LIGHT2.Color = Color3.new(0, 255, 0)
3641
	for i = 1, 2 do
3642
		local TWIST = -2
3643
		local START = A
3644
		local END = B
3645
		if i == 1 then
3646
			START = B
3647
			END = A
3648
		end
3649
	local ChainLink = Instance.new("Beam",torso)
3650
		ChainLink.Texture = "rbxassetid://165211997"
3651
		ChainLink.Color = ColorSequence.new(Color3.fromRGB(0, 255, 0))
3652
		ChainLink.TextureSpeed = 5
3653
		ChainLink.Width0 = 1
3654
		ChainLink.Width1 = 1
3655
		ChainLink.TextureLength = 1.5
3656
		ChainLink.Attachment0 = START
3657
		ChainLink.Attachment1 = END
3658
		ChainLink.CurveSize0 = TWIST
3659
		ChainLink.CurveSize1 = TWIST
3660
		--ChainLink.FaceCamera = true
3661
		ChainLink.Segments = 45
3662
		ChainLink.Transparency = NumberSequence.new(0)
3663
		table.insert(CHAINLINKS,ChainLink)
3664
	end
3665
	coroutine.resume(coroutine.create(function()
3666
			for i = 3,80000000000000000000000000000 do 
3667
	hum.Health = hum.MaxHealth
3668
			
3669
			
3670
			coroutine.resume(coroutine.create(function()
3671
			for i = 1,15 do
3672
			
3673
			wait(0.00000000001)
3674
			end
3675
			
3676
			
3677
				
3678
			end))
3679
			wait(0.06)
3680
			end
3681
	end))
3682
	
3683
end
3684
end)
3685
3686
mouse.KeyDown:connect(function(k)
3687
if k == "k" then
3688
	no_anim = true
3689
	local FlyAt = Instance.new("Attachment",NeckS)FlyAt.Position = Vector3.new(0,0.5,0)
3690
local FlyAt2 = Instance.new("Attachment",NeckS)FlyAt2.Position = Vector3.new(0,-0.5,0)
3691
local Speed = Instance.new("Trail",char)Speed.Attachment0 = FlyAt Speed.Attachment1 = FlyAt2
3692
Speed.Texture = "rbxassetid://22636887" Speed.Lifetime = 0.3 Speed.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,0,0),NumberSequenceKeypoint.new(1,1,0)})
3693
Speed.Color = ColorSequence.new(Color3.fromRGB(255, 255, 0)) Speed.LightEmission = 5
3694
	for i = 1,7 do
3695
		hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,0)*CFrame.Angles(math.rad(0),math.rad(0),math.rad(0)), .5)--head
3696
		torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(10), math.rad(20), math.rad(0)), .5)--torso
3697
		rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.5,0)*CFrame.Angles(math.rad(0),math.rad(0),math.rad(-10)), .5)--arm
3698
		larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.5,0)*CFrame.Angles(math.rad(-10),math.rad(0),math.rad(0)), .5)--arm
3699
		lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(math.rad(-10), math.rad(0), math.rad(0)), .5)--leg
3700
		rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0)),.5)--leg
3701
		wait()
3702
		end
3703
	wait(0.7)
3704
	local Grab = Instance.new("Part",NeckS)
3705
	Grab.Size = Vector3.new(4,4,4)
3706
	Grab.CanCollide = false
3707
	Grab.BrickColor = BrickColor.new("Deep orange")
3708
	Grab.Transparency = math.huge
3709
	local Grabo = Instance.new("Weld",Grab)
3710
	Grabo.Part0 = larm
3711
	Grabo.Part1 = Grab
3712
	Grabo.C0 = CFrame.new(0,-0.1,0)
3713
	Grab.Touched:connect(function(hit)
3714
	if hit.Parent:FindFirstChildOfClass("Humanoid")and hit.Parent ~= nil and hit.Parent.Name ~= player.Character.Name then
3715
		Grab:Destroy()	
3716
		no_anim = true
3717
		local SFXZ = Instance.new("Sound",root)
3718
			SFXZ.SoundId = "rbxassetid://1699290293"
3719
			SFXZ.Volume = 7
3720
			SFXZ.Pitch = 1
3721
			SFXZ.Looped = false
3722
			wait(0.01)
3723
			SFXZ:Play()
3724
			hit.Parent:BreakJoints()
3725
Snap(hit.Parent)
3726
3727
3728
3729
			
3730
		end
3731
	end)
3732
	for i= 1,10 do
3733
		hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,0)*CFrame.Angles(math.rad(0),math.rad(0),math.rad(0)), .5)--head
3734
		torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(-5), math.rad(-70), math.rad(0)), .5)--torso
3735
		rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.5,0)*CFrame.Angles(math.rad(-30),math.rad(0),math.rad(0)), .5)--arm
3736
		larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.0,0.5,-0.8)*CFrame.Angles(math.rad(160),math.rad(70),math.rad(10)), .5)--arm
3737
		lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0)), .5)--leg
3738
		rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(math.rad(-20), math.rad(0), math.rad(0)),.5)--leg
3739
	wait()
3740
		end
3741
	FlyAt:Destroy()
3742
	no_anim = false
3743
	
3744
end
3745
end)
3746
3747
3748
mouse.KeyDown:connect(function(k)
3749
if k == "y" then
3750
	instinct = false
3751
	animid = 5
3752
	no_anim = true
3753
	
3754
	local sbs = Instance.new("BodyPosition", torso)
3755
        sbs.P = 9000
3756
        sbs.D = 1000
3757
        sbs.maxForce = Vector3.new(900000, 900000000, 900000)
3758
        sbs.position = torso.CFrame.p + Vector3.new(0, 10, 0)
3759
	for i = 1, 20 do
3760
		wait()
3761
hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,0)*CFrame.Angles(math.rad(-40),math.rad(0),math.rad(0)), 0.8)--head
3762
		             torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(0),math.rad(0),math.rad(0)), 0.8)--torso
3763
				    	rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.5,0)*CFrame.Angles(math.rad(90),math.rad(-20),math.rad(-50)), 0.8)--rarm
3764
					   larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.5,0)*CFrame.Angles(math.rad(90),math.rad(20),math.rad(50)), 0.8)--larm
3765
					lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -0.5, -0.5) * CFrame.Angles(math.rad(-30),math.rad(0),math.rad(0)), 0.8)--lleg
3766
		             rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -0.5, -0.5) * CFrame.Angles(math.rad(-50),math.rad(0),math.rad(0)), 0.8)--rleg
3767
	end
3768
	coroutine.resume(coroutine.create(function()
3769
			for i = 3,8 do 
3770
			local Ball = Instance.new("Part",char)
3771
			Ball.Size = Vector3.new(1,1,1)
3772
			Ball.BrickColor = BrickColor.new("Magenta")
3773
			Ball.Material = "Neon"
3774
			Ball.Anchored = true
3775
			Ball.CanCollide = false
3776
			Ball.Transparency = 0
3777
			Ball.CFrame = torso.CFrame*CFrame.new(0,0,0)*CFrame.Angles(0,0,0)
3778
			local Ball2 = Instance.new("SpecialMesh",Ball)
3779
			Ball2.MeshType = 3
3780
			Ball2.Scale = Vector3.new(2,2,2)
3781
		
3782
	
3783
			
3784
			
3785
			coroutine.resume(coroutine.create(function()
3786
			for i = 1,15 do
3787
			Ball2.Scale = Ball2.Scale + Vector3.new(19.4,19.4,19.4)
3788
			Ball.Transparency = Ball.Transparency + 0.06
3789
			wait(0.00000000001)
3790
			end
3791
			Ball:Destroy()
3792
			
3793
				
3794
			end))
3795
			wait(0.06)
3796
			end
3797
	end))
3798
	root.Anchored = true
3799
	g = Instance.new("Explosion")
3800
	g.Parent = workspace
3801
g.Position = root.Position
3802
g.BlastRadius = 90
3803
g.BlastPressure = 4000200
3804
g.Visible = false
3805
	for i = 1, 70 do
3806
		wait()
3807
hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,0)*CFrame.Angles(math.rad(50),math.rad(0),math.rad(0)), 0.8)--head
3808
		             torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(0),math.rad(0),math.rad(0)), 0.8)--torso
3809
				    	rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,1,0)*CFrame.Angles(math.rad(90),math.rad(-50),math.rad(50)), 0.8)--rarm
3810
					   larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,1,0)*CFrame.Angles(math.rad(90),math.rad(50),math.rad(-50)), 0.8)--larm
3811
					lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(math.rad(-10),math.rad(0),math.rad(-10)), 0.8)--lleg
3812
		             rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(math.rad(0),math.rad(0),math.rad(5)), 0.8)--rleg
3813
		end
3814
	wait(0.2)
3815
3816
	sbs:Destroy()
3817
	no_anim = false
3818
	root.Anchored = false
3819
3820
end
3821
end)
3822
local deb = false
3823
function smooth(obj)
3824
	local sides = {"Left", "Right", "Top", "Bottom", "Front", "Back"}
3825
	for i,v in pairs(sides) do
3826
		obj[v.."Surface"] = "SmoothNoOutlines"
3827
	end
3828
end
3829
local multiplier = 1000000000000000000000000000000000000000000000000000000000000000000000000000000000
3830
function hurt(hit, dmg)
3831
	if hit.Parent then
3832
		if hit.Parent.Name == "box" then print("bocks!11") hit.Parent:Destroy() end
3833
		local hum = hit.Parent:FindFirstChildOfClass("Humanoid")
3834
		if hum then
3835
			if hum.Parent.Name ~= plr.Name then
3836
				if dmg == "Kill" or hum.Health > 100000 then
3837
					hit.Parent:BreakJoints()
3838
					return true
3839
				else
3840
					if math.random(0, 100) == 50 then
3841
						hit.Parent:BreakJoints()
3842
					else
3843
						hit.Parent:BreakJoints()
3844
					end
3845
					return true
3846
				end
3847
			end
3848
		end
3849
	end
3850
end
3851
local push = 100
3852
local huge = Vector3.new(math.huge,math.huge,math.huge)
3853
function gethum(obj)
3854
	if obj.Parent then
3855
		if obj.Parent:FindFirstChild("Humanoid") then
3856
			if obj.Parent.Name ~= plr.Name then
3857
				return obj.Parent:FindFirstChildOfClass("Humanoid")
3858
			end
3859
		end
3860
	end
3861
end
3862
3863
mouse.KeyDown:connect(function(key)
3864
	if key == "p" and not deb and not attacking then
3865
		deb = true
3866
		no_anim = true
3867
3868
	local Aura = Instance.new("ParticleEmitter",Stone2)
3869
Aura.Texture = "rbxassetid://271370648"
3870
Aura.Color = ColorSequence.new(BrickColor.new("Magenta").Color)
3871
Aura.EmissionDirection = "Top"
3872
Aura.Speed = NumberRange.new(0)
3873
Aura.Size = NumberSequence.new(2.5)
3874
Aura.Transparency = NumberSequence.new(0,1)
3875
Aura.Drag = 0.4
3876
Aura.LightInfluence = 0
3877
Aura.LockedToPart = true
3878
Aura.Lifetime = NumberRange.new(0.9)
3879
Aura.Rate = 60
3880
Aura.LightEmission = 0.6
3881
Aura.Rotation = NumberRange.new(-360,360)
3882
Aura.VelocitySpread = 0
3883
Aura.Acceleration = Vector3.new(0,0,0)	
3884
Aura.ZOffset = 0.2
3885
	
3886
	for i = 1, 10 do
3887
		wait()
3888
	
3889
		             torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(0),math.rad(0),math.rad(0)), 0.8)--torso
3890
				    	rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.5,-0.2)*CFrame.Angles(math.rad(0),math.rad(0),math.rad(0)), 0.8)--rarm
3891
					   larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.5,-0.5)*CFrame.Angles(math.rad(150),math.rad(-50),math.rad(0)), 0.8)--larm
3892
					lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(math.rad(0),math.rad(0),math.rad(-10)), 0.8)--lleg
3893
		             rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(math.rad(0),math.rad(0),math.rad(5)), 0.8)--rleg
3894
	end
3895
	Aura.Rate = 0
3896
		
3897
		for i = 0, 10 do
3898
			spawn(function()
3899
				local p = Instance.new("Part")
3900
				p.Anchored = true
3901
				p.CanCollide = false
3902
				p.CFrame = char.Torso.CFrame *CFrame.new(math.random(-12,12),-10,math.random(-12,12))
3903
				smooth(p)
3904
				p.BrickColor = BrickColor.DarkGray()
3905
				p.Material = Enum.Material.Slate
3906
				p.Size = Vector3.new(9,9,9)
3907
				p.Transparency = 0
3908
				
3909
				p.Parent = workspace
3910
				local FlyAt = Instance.new("Attachment",p)FlyAt.Position = Vector3.new(0,2.5,0)
3911
local FlyAt2 = Instance.new("Attachment",p)FlyAt2.Position = Vector3.new(0,-2.5,0)
3912
local Speed = Instance.new("Trail",char)Speed.Attachment0 = FlyAt Speed.Attachment1 = FlyAt2
3913
Speed.Texture = "rbxassetid://22636887" Speed.Lifetime = 0.3 Speed.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,0,0),NumberSequenceKeypoint.new(1,1,0)})
3914
Speed.Color = ColorSequence.new(Color3.fromRGB(248, 248, 248)) Speed.LightEmission = 5
3915
				local endcf = p.CFrame *CFrame.new(0,30,0)
3916
				for i = 0, 20 do
3917
					p.CFrame = p.CFrame:Lerp(endcf, 0.3)
3918
					wait()
3919
				end
3920
				local z = Instance.new("Part")
3921
				z.CFrame = p.CFrame
3922
				z.CFrame = CFrame.new(z.Position, mouse.Hit.p)
3923
				local bv = Instance.new("BodyVelocity", p)
3924
				bv.MaxForce = Vector3.new(math.huge,math.huge,math.huge)
3925
				bv.Velocity = z.CFrame.lookVector*140
3926
				p.Anchored = false
3927
				z:Destroy()
3928
				p.CanCollide = false
3929
				local connection
3930
				spawn(function()
3931
					local angle = CFrame.Angles(math.rad(math.random(-10,10)),math.rad(math.random(-10,10)),math.rad(math.random(-10,10)))
3932
					repeat wait()
3933
						p.CFrame = p.CFrame *angle
3934
					until not p or p.CanCollide
3935
				end)
3936
				
3937
				connection = p.Touched:connect(function(hit)
3938
					hurt(hit, math.random(5,5))
3939
					if not hit.Anchored and hit.Parent.Name ~= plr.Name and hit.Parent.ClassName ~= "Accessory" then
3940
						p.CanCollide = true
3941
					end
3942
				end)
3943
				game.Debris:AddItem(p, 5)
3944
			end)
3945
			
3946
			wait()
3947
			deb = false
3948
			no_anim = false
3949
		end
3950
	end
3951
end)
3952
function doBrick(parent,pos,cf,size,colour,material,transparency,a,cc,bs,bts,fs,ls,rs,ts)
3953
local p=Instance.new('Part',parent);p.BrickColor=colour;p.Material=material;p.Transparency=transparency;p.Anchored=a;p.CanCollide=cc;p.FormFactor="Custom";p.Size=size;p.BackSurface=bs;p.BottomSurface=bts;p.FrontSurface=fs;p.LeftSurface=ls;p.RightSurface=rs;p.TopSurface=ts;p.Position=pos;p.CFrame=p.CFrame*cf;
3954
return p
3955
end
3956
3957
function doMesh(parent,meshType,meshId,scale)
3958
local m=Instance.new('SpecialMesh',parent);m.MeshType=meshType;m.MeshId=meshId;m.Scale=scale
3959
return m
3960
end
3961
local EP=Instance.new("Model",char)
3962
function magicBrick(pos,cf,size,colour,material,transparency,a,cc,bs,bts,fs,ls,rs,ts,meshType,meshId,scale,scaleAdd,loop,loopTransparency,repeatloop,repeatLoopWait,loopCFrame)
3963
	local cw1=coroutine.wrap(function()
3964
		for i=1,repeatloop do
3965
			local x=doBrick(EP,pos,cf,size,colour,material,transparency,a,cc,bs,bts,fs,ls,rs,ts)
3966
			local z=doMesh(x,meshType,meshId,scale)
3967
			
3968
			local cw2=coroutine.wrap(function()
3969
				for i=1,loop do
3970
					if loopTransparency then
3971
						x.Transparency=i/loop
3972
						z.Scale=z.Scale+scaleAdd
3973
						x.CFrame=x.CFrame*loopCFrame
3974
						wait()
3975
					else
3976
						z.Scale=z.Scale+scaleAdd
3977
						x.CFrame=x.CFrame*loopCFrame
3978
					end
3979
				end
3980
				x:Destroy()
3981
			end)
3982
			cw2()
3983
			swait(repeatLoopWait)
3984
		end
3985
	end)
3986
	cw1()
3987
end
3988
if MUI == true then
3989
		
3990
			speed=0.15
3991
			sound(438666277,2,1.5,torso)
3992
			coroutine.resume(coroutine.create(function()
3993
				for i=1,20 do
3994
					magicBrick(Vector3.new(0,0,0),torso.CFrame*CFrame.Angles(math.random(1,50),math.random(1,50),math.random(1,50)),Vector3.new(1,1,1),BrickColor.new("Institutional white"),"Neon",0,true,false,10,10,10,10,10,10,"FileMesh","http://www.roblox.com/asset/?id=3270017",Vector3.new(math.random(10,15),math.random(20,30),0.2),Vector3.new(-2,-2,0),16,true,1,0,CFrame.new(0,0,0)*CFrame.Angles(0.2,0,0))
3995
					swait(3)
3996
				end
3997
			end))
3998
			for i=0,1,0.1*speed do
3999
				if lastAnim~=thisAnim then break end
4000
				
4001
				
4002
					
4003
				swait()
4004
			end
4005
			
4006
			doingMove=true		
4007
			
4008
			coroutine.resume(coroutine.create(function()
4009
				for i=1,200 do
4010
					magicBrick(Vector3.new(0,0,0),torso.CFrame*CFrame.new(0,0,0)*CFrame.new(math.random(1,5),math.random(1,5),math.random(1,5))*CFrame.new(-5/2,-5/2,-5/2),Vector3.new(1,1,1),BrickColor.new("Institutional white"),"Neon",0,true,false,10,10,10,10,10,10,"Brick","",Vector3.new(1,1,1),Vector3.new(-0.2,-0.2,-0.2),15,true,1,0,CFrame.new(0,-1,0)*CFrame.Angles(math.random(),math.random(),math.random()))			
4011
					swait()
4012
				end
4013
			end))
4014
			
4015
			local beam=Instance.new("Part",char)
4016
			beam.Anchored=true
4017
			beam.CanCollide=false
4018
			beam.BrickColor=BrickColor.new("Institutional white")
4019
			beam.Material="Neon"
4020
			beam.Transparency=0.5
4021
			
4022
			sound(415700134,1.75,0.85,torso)
4023
			
4024
			coroutine.resume(coroutine.create(function()
4025
				while true do
4026
					if not doingMove then break end
4027
					local dis=(torso.Position-mouse.Hit.p).magnitude
4028
					beam.Size=Vector3.new(2,2,dis)
4029
					beam.CFrame=CFrame.new(torso.CFrame.p,mouse.Hit.p)*CFrame.new(0,0,-dis/2)
4030
					swait()
4031
				end
4032
			end))
4033
			
4034
			coroutine.resume(coroutine.create(function()
4035
				for i=1,20 do
4036
					if not doingMove then break end
4037
					magicBrick(Vector3.new(0,0,0),mouse.Hit*CFrame.Angles(0,0,0),Vector3.new(1,1,1),BrickColor.new("Deep orange"),"Neon",0,true,false,10,10,10,10,10,10,"Sphere","",Vector3.new(3,3,3),Vector3.new(2,6,2),8,true,1,0,CFrame.new(0,0,0)*CFrame.Angles(0,0,0))
4038
					magicBrick(Vector3.new(0,0,0),mouse.Hit*CFrame.Angles(0,0,0),Vector3.new(1,1,1),BrickColor.new("Really red"),"Neon",0,true,false,10,10,10,10,10,10,"Sphere","",Vector3.new(3,3,3),Vector3.new(3,3,3),8,true,1,0,CFrame.new(0,0,0)*CFrame.Angles(0,0,0))
4039
					coroutine.resume(coroutine.create(function()
4040
						for i=1,7 do
4041
							magicBrick(Vector3.new(0,0,0),mouse.Hit*CFrame.new(0,0,0)*CFrame.new(math.random(1,15),math.random(1,15),math.random(1,15))*CFrame.new(-15/2,-15/2,-15/2),Vector3.new(1,1,1),BrickColor.new("Really black"),"Neon",0,true,false,10,10,10,10,10,10,"Sphere","",Vector3.new(4,4,4),Vector3.new(1,1,1),12,true,1,0,CFrame.new(0,-1,0)*CFrame.Angles(math.random(),math.random(),math.random()))
4042
						end
4043
					end))
4044
					for i,v in pairs(workspace:GetChildren()) do
4045
						if v:findFirstChild("Humanoid")~=nil and v~=char then
4046
							if (v:WaitForChild("Torso").Position-mouse.Hit.p).magnitude<=10 then
4047
								v:WaitForChild("Humanoid"):TakeDamage(v:WaitForChild("Humanoid").MaxHealth/20)
4048
							end
4049
						end 
4050
					end
4051
					swait(10)
4052
				end
4053
			end))
4054
			
4055
			for i=0,2,0.1*speed do
4056
				if lastAnim~=thisAnim then break end
4057
					
4058
			
4059
					
4060
				swait()
4061
			end
4062
			
4063
			beam:Destroy()
4064
			lastAnim=nil
4065
			lastPriority=0
4066
			doingMove=false
4067
		end
4068
4069
function chestBeam()
4070
	
4071
		
4072
		MUI = true
4073
	
4074
	
4075
end
4076
mouse.KeyDown:connect(function(k)
4077
if k == "n" then
4078
	chestBeam()
4079
end
4080
end)
4081
mouse.KeyDown:connect(function(k)
4082
if k == "v" then
4083
	UltimateBattle:Stop()
4084
Mode = true
4085
	local SFXZ = Instance.new("Sound",torso)
4086
			SFXZ.SoundId = "rbxassetid://316675316"
4087
			SFXZ.Volume = 8
4088
			SFXZ.Pitch = 1
4089
			SFXZ.Looped = true
4090
			wait(0.01)
4091
			SFXZ:Play()
4092
			local Wind = Instance.new("Sound",torso)
4093
			Wind.SoundId = "rbxassetid://142840797"
4094
			Wind.Volume = 0.5
4095
			Wind.Pitch = 1
4096
			Wind.Looped = true
4097
			wait(0.01)
4098
			Wind:Play()
4099
			
4100
			       
4101
Grab.Touched:connect(function(hit)
4102
	if hit.Parent:FindFirstChildOfClass("Humanoid")and hit.Parent ~= nil and hit.Parent.Name ~= p.Character.Name then
4103
		hit.Parent:BreakJoints()
4104
		wait(0.2)
4105
		hit.Parent:Destroy()
4106
		
4107
4108
		
4109
		end
4110
end)
4111
hum.WalkSpeed = 55
4112
	
4113
		local FZcharge3 = Instance.new("ParticleEmitter",NeckS)
4114
FZcharge3.Texture = "rbxassetid://37329477"
4115
FZcharge3.Color = ColorSequence.new(Color3.fromRGB(255, 255, 0))
4116
FZcharge3.EmissionDirection = "Top"
4117
FZcharge3.Speed = NumberRange.new(8)
4118
FZcharge3.Size = NumberSequence.new(0.5,0)
4119
FZcharge3.Transparency = NumberSequence.new(0,1)
4120
FZcharge3.Drag = 1.2
4121
FZcharge3.LockedToPart = false
4122
FZcharge3.Lifetime = NumberRange.new(0.5)
4123
FZcharge3.Rate = 195
4124
FZcharge3.LightEmission = 1
4125
FZcharge3.VelocitySpread = 100
4126
FZcharge3.Rotation = NumberRange.new(-360,360)
4127
FZcharge3.VelocitySpread = 100.2	
4128
FZcharge3.ZOffset = 1
4129
local StoneEf2 = Instance.new("ParticleEmitter",Stone4)
4130
StoneEf2.Texture = "rbxassetid://37329477"
4131
StoneEf2.Color = ColorSequence.new(Color3.fromRGB(255, 0, 0))
4132
StoneEf2.EmissionDirection = "Top"
4133
StoneEf2.Speed = NumberRange.new(8)
4134
StoneEf2.Size = NumberSequence.new(0.5,0)
4135
StoneEf2.Transparency = NumberSequence.new(0,1)
4136
StoneEf2.LockedToPart = false
4137
StoneEf2.Lifetime = NumberRange.new(0.5)
4138
StoneEf2.Rate = 195
4139
StoneEf2.LightEmission = 1
4140
StoneEf2.VelocitySpread = 100
4141
StoneEf2.Rotation = NumberRange.new(-360,360)
4142
StoneEf2.VelocitySpread = 100.2	
4143
StoneEf2.ZOffset = 1
4144
local StoneEf3 = Instance.new("ParticleEmitter",Stone3)
4145
StoneEf3.Texture = "rbxassetid://74675986"
4146
StoneEf3.Color = ColorSequence.new(Color3.fromRGB(9, 137, 207))
4147
StoneEf3.EmissionDirection = "Top"
4148
StoneEf3.Speed = NumberRange.new(8)
4149
StoneEf3.Size = NumberSequence.new(0.5,0)
4150
StoneEf3.Transparency = NumberSequence.new(0,1)
4151
StoneEf3.LockedToPart = false
4152
StoneEf3.Lifetime = NumberRange.new(0.5)
4153
StoneEf3.Rate = 195
4154
StoneEf3.LightEmission = 1
4155
StoneEf3.VelocitySpread = 100
4156
StoneEf3.Rotation = NumberRange.new(-360,360)
4157
StoneEf3.VelocitySpread = 100.2	
4158
StoneEf3.ZOffset = 1
4159
local StoneEf5 = Instance.new("ParticleEmitter",Stone5)
4160
StoneEf5.Texture = "rbxassetid://73229113"
4161
StoneEf5.Color = ColorSequence.new(Color3.fromRGB(255, 176, 0))
4162
StoneEf5.EmissionDirection = "Top"
4163
StoneEf5.Speed = NumberRange.new(8)
4164
StoneEf5.Size = NumberSequence.new(0.5,0)
4165
StoneEf5.Transparency = NumberSequence.new(0,1)
4166
StoneEf5.LockedToPart = false
4167
StoneEf5.Lifetime = NumberRange.new(0.5)
4168
StoneEf5.Rate = 195
4169
StoneEf5.LightEmission = 1
4170
StoneEf5.VelocitySpread = 100
4171
StoneEf5.Rotation = NumberRange.new(-360,360)
4172
StoneEf5.VelocitySpread = 100.2	
4173
StoneEf5.ZOffset = 1
4174
	local CHAINLINKS = {}
4175
	local POS = mouse.Hit.p
4176
	local CHAINS = false
4177
	local CHAINLINKS = {}
4178
	local A = Instance.new("Attachment",root)
4179
	A.Position = Vector3.new(0.5,0,0)*Player_Size
4180
	A.Orientation = Vector3.new(-90, -89.982, 0)
4181
	local B = Instance.new("Attachment",root)
4182
	B.Position = Vector3.new(-0.5,0,0)*Player_Size
4183
	B.Orientation = Vector3.new(-90, 89.988, 0)
4184
	local C = Instance.new("Attachment",root)
4185
	C.Position = Vector3.new(0.5,-0.1,0)*Player_Size
4186
	C.Orientation = Vector3.new(-90, -89.982, 0)
4187
	local D = Instance.new("Attachment",root)
4188
	D.Position = Vector3.new(-0.5,-0.3,0)*Player_Size
4189
	D.Orientation = Vector3.new(-90, 89.988, 0)
4190
	local LIGHT = Instance.new("Attachment",root)
4191
	LIGHT.Position = Vector3.new(0.5,-0,0)*Player_Size
4192
	local LIGHT2 = Instance.new("PointLight",larm)
4193
	LIGHT2.Range = 6
4194
	LIGHT2.Brightness = 20
4195
	LIGHT2.Color = Color3.new(255, 255, 0)
4196
	for i = 1, 2 do
4197
		local TWIST = -1
4198
		local START = A
4199
		local END = B
4200
		if i == 1 then
4201
			START = B
4202
			END = A
4203
		end
4204
	local ChainLink = Instance.new("Beam",torso)
4205
		ChainLink.Texture = "rbxassetid://37329477"
4206
		ChainLink.Color = ColorSequence.new(Color3.fromRGB(255, 255, 0))
4207
		ChainLink.TextureSpeed = 5
4208
		ChainLink.Width0 = 1
4209
		ChainLink.Width1 = 1
4210
		ChainLink.TextureLength = 2.5
4211
		ChainLink.Attachment0 = START
4212
		ChainLink.Attachment1 = END
4213
		ChainLink.CurveSize0 = TWIST
4214
		ChainLink.CurveSize1 = TWIST
4215
		--ChainLink.FaceCamera = true
4216
		ChainLink.Segments = 85
4217
		ChainLink.Transparency = NumberSequence.new(0)
4218
		table.insert(CHAINLINKS,ChainLink)
4219
	end
4220
	coroutine.resume(coroutine.create(function()
4221
			for i = 3,60060 do 
4222
			
4223
		
4224
			local HQG = Instance.new("Part",char)
4225
			HQG.Size = Vector3.new(1,0,1)
4226
			HQG.BrickColor = BrickColor.new("Ghost grey")
4227
			HQG.Material = "Neon"
4228
			HQG.Anchored = true
4229
			HQG.CanCollide = false
4230
			HQG.CFrame = root.CFrame*CFrame.new(0,-2,0)*CFrame.Angles(0,0,0)
4231
			local HQG2 = Instance.new("SpecialMesh",HQG)
4232
			HQG2.MeshId = "rbxassetid://1726537151"
4233
			HQG2.Scale = Vector3.new(0.01,0.01,0.01)
4234
			
4235
			
4236
			coroutine.resume(coroutine.create(function()
4237
			for i = 1,200 do
4238
			
4239
			
4240
			HQG2.Scale = HQG2.Scale + Vector3.new(0.01,0.03,0.01)
4241
			HQG.Transparency = HQG.Transparency + 0.07
4242
			HQG.CFrame = HQG.CFrame*CFrame.Angles(0,-0.3,0)
4243
			
4244
			wait(0.00000000001)
4245
			end
4246
			
4247
			HQG:Destroy()
4248
			HQG2:Destroy()
4249
				
4250
			end))
4251
			
4252
	
4253
			wait(0.3)
4254
			end
4255
		end))
4256
end
4257
end)
4258
	
4259
4260
4261
mouse.KeyDown:connect(function(k)
4262
if k == "j" then
4263
	
4264
	animid = 5
4265
	no_anim = true
4266
	
4267
		
4268
	local Aura = Instance.new("ParticleEmitter",Stone2)
4269
Aura.Texture = "rbxassetid://271370648"
4270
Aura.Color = ColorSequence.new(BrickColor.new("Magenta").Color)
4271
Aura.EmissionDirection = "Top"
4272
Aura.Speed = NumberRange.new(0)
4273
Aura.Size = NumberSequence.new(2.5)
4274
Aura.Transparency = NumberSequence.new(0,1)
4275
Aura.Drag = 0.4
4276
Aura.LightInfluence = 0
4277
Aura.LockedToPart = true
4278
Aura.Lifetime = NumberRange.new(0.9)
4279
Aura.Rate = 60
4280
Aura.LightEmission = 0.6
4281
Aura.Rotation = NumberRange.new(-360,360)
4282
Aura.VelocitySpread = 0
4283
Aura.Acceleration = Vector3.new(0,0,0)	
4284
Aura.ZOffset = 0.2
4285
	
4286
		for i = 1, 30 do
4287
		wait()
4288
	
4289
		             torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(0),math.rad(0),math.rad(0)), 0.8)--torso
4290
				    	rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.5,-0.5)*CFrame.Angles(math.rad(0),math.rad(0),math.rad(0)), 0.8)--rarm
4291
					   larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.5,-0.5)*CFrame.Angles(math.rad(90),math.rad(-50),math.rad(0)), 0.8)--larm
4292
					lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(math.rad(0),math.rad(0),math.rad(-10)), 0.8)--lleg
4293
		             rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(math.rad(0),math.rad(0),math.rad(5)), 0.8)--rleg
4294
		end
4295
		
4296
	
4297
			local HQ = Instance.new("Part",char)
4298
			HQ.Size = Vector3.new(1,0,1)
4299
			HQ.BrickColor = BrickColor.new("Grey")
4300
			HQ.Material = "Neon"
4301
			HQ.Anchored = true
4302
			HQ.CanCollide = false
4303
			HQ.Transparency = 0.7
4304
			HQ.CFrame = root.CFrame*CFrame.new(0,-2,0)*CFrame.Angles(0,0,0)
4305
			local HQ2 = Instance.new("SpecialMesh",HQ)
4306
			HQ2.MeshId = "rbxassetid://20329976"
4307
			HQ2.Scale = Vector3.new(1,1,1)
4308
		
4309
			local HQG = Instance.new("Part",char)
4310
			HQG.Size = Vector3.new(1,0,1)
4311
			HQG.BrickColor = BrickColor.new("Grey")
4312
			HQG.Material = "Neon"
4313
			HQG.Anchored = true
4314
			HQG.Transparency = 0.7
4315
			HQG.CanCollide = false
4316
			HQG.CFrame = root.CFrame*CFrame.new(0,-2,0)*CFrame.Angles(0,0,0)
4317
			local HQG2 = Instance.new("SpecialMesh",HQG)
4318
			HQG2.MeshId = "rbxassetid://20329976"
4319
			HQG2.Scale = Vector3.new(1,1,1)
4320
			
4321
			
4322
			coroutine.resume(coroutine.create(function()
4323
			for i = 1,200 do
4324
			HQ2.Scale = HQ2.Scale + Vector3.new(1.5,0.3,1.5)
4325
			HQ.Transparency = HQ.Transparency + 0.01
4326
			HQ.CFrame = HQ.CFrame*CFrame.Angles(0,0,0)
4327
			
4328
			HQG2.Scale = HQG2.Scale + Vector3.new(1,0.5,1)
4329
			HQG.Transparency = HQG.Transparency + 0.01
4330
			HQG.CFrame = HQ.CFrame*CFrame.Angles(0,0,0)
4331
			
4332
			wait(0.00000000001)
4333
		
4334
				
4335
			end
4336
				HQ:Destroy()
4337
			HQ2:Destroy()
4338
			HQG:Destroy()
4339
			HQG2:Destroy()
4340
			end))
4341
4342
laz0r()
4343
	wait(0.5)
4344
	no_anim = false
4345
	Aura.Rate = 0
4346
	
4347
	instinct = true
4348
end
4349
end)
4350
4351
4352
4353
4354
4355
mouse.KeyDown:connect(function(key)
4356
	if key == "r" then
4357
	local Aura = Instance.new('ParticleEmitter',Stone3)
4358
Aura.Texture = "rbxassetid://271370648"
4359
Aura.Color = ColorSequence.new(BrickColor.new("Lapis").Color)
4360
Aura.EmissionDirection = "Top"
4361
Aura.Speed = NumberRange.new(0)
4362
Aura.Size = NumberSequence.new(2.5)
4363
Aura.Transparency = NumberSequence.new(0,1)
4364
Aura.Drag = 0.4
4365
Aura.LightInfluence = 0
4366
Aura.LockedToPart = true
4367
Aura.Lifetime = NumberRange.new(0.9)
4368
Aura.Rate = 60
4369
Aura.LightEmission = 0.6
4370
Aura.Rotation = NumberRange.new(-360,360)
4371
Aura.VelocitySpread = 0
4372
Aura.Acceleration = Vector3.new(0,0,0)	
4373
Aura.ZOffset = 0.2
4374
	no_anim = true
4375
		for i = 1, 15 do
4376
		wait()
4377
	
4378
torso.Weld.C0 = Lerp(torso.Weld.C0,CFrame.new(0, -1.1-0.1*math.cos(sine/16), 0) * CFrame.Angles(math.rad(0-2*math.cos(sine/16)),math.rad(-80), math.rad(0-1*math.cos(sine/32))),0.2)
4379
larm.Weld.C0 = Lerp(larm.Weld.C0,CFrame.new(-1.5,0.55-0.1*math.cos(sine/16)/2,-0.1*math.cos(sine/16))*CFrame.Angles(math.rad(0),math.rad(-10-1*math.cos(sine/16)),math.rad(-90-1*math.cos(sine/8))),0.4)
4380
		end
4381
		
4382
			local Grab = Instance.new("Part",root)
4383
	Grab.Size = Vector3.new(5.2,5.8,3.9)
4384
	Grab.CanCollide = true
4385
	Grab.Material = "Neon"
4386
	Grab.BrickColor = BrickColor.new("Cyan")
4387
	Grab.Transparency = 0.5
4388
	local Hat2 = Instance.new("SpecialMesh",Grab)
4389
Hat2.MeshType = 3
4390
Hat2.Scale = Vector3.new(3.35,3.15,0.95)
4391
	local Grabo = Instance.new("Weld",Grab)
4392
	Grabo.Part0 = root
4393
	Grabo.Part1 = Grab
4394
	Grabo.C0 = CFrame.new(0,0.3,-6.8)
4395
	
4396
local AuraB = Instance.new("Part",root)
4397
	AuraB.Size = Vector3.new(2,1,2)
4398
	AuraB.CanCollide = false
4399
	AuraB.BrickColor = BrickColor.new("Deep orange")
4400
	AuraB.Transparency = 1
4401
	local AuraBo = Instance.new("Weld",AuraB)
4402
	AuraBo.Part0 = root
4403
	AuraBo.Part1 = AuraB
4404
	AuraBo.C0 = CFrame.new(0,-0.6,0)
4405
	Grab.Touched:connect(function(hit)
4406
	if hit.Parent:FindFirstChildOfClass("Humanoid")and hit.Parent ~= nil and hit.Parent.Name ~= p.Character.Name then
4407
		
4408
		
4409
hit.Anchored = false
4410
			local Fl = Instance.new("BodyVelocity",hit.Parent.Head)
4411
			Fl.maxForce = Vector3.new(math.huge,math.huge,math.huge)
4412
			Fl.velocity = root.CFrame.lookVector*340
4413
			wait(0.05)
4414
			Fl:remove()
4415
		
4416
		end
4417
	end)
4418
		
4419
		
4420
		end
4421
end)
4422
mouse.KeyUp:connect(function(key)
4423
	if key == "r" then
4424
		
4425
			for i, v in pairs(root:GetChildren()) do
4426
	if v:IsA("Part")then
4427
		v:Remove()
4428
	end
4429
			end
4430
			for i, v in pairs(Stone3:GetChildren()) do
4431
	if v:IsA('ParticleEmitter')then
4432
		v.Rate = 0
4433
	end
4434
		end
4435
		
4436
		no_anim = false
4437
		end
4438
end)
4439
4440
4441
mouse.KeyDown:connect(function(key)
4442
	if key == "n" then
4443
		
4444
	end
4445
	end)
4446
4447
4448
mouse.KeyDown:connect(function(key)
4449
	if key == "t" then
4450
	local Aura = Instance.new("ParticleEmitter",Stone4)
4451
Aura.Texture = "rbxassetid://271370648"
4452
Aura.Color = ColorSequence.new(BrickColor.new("Really red").Color)
4453
Aura.EmissionDirection = "Top"
4454
Aura.Speed = NumberRange.new(0)
4455
Aura.Size = NumberSequence.new(2.5)
4456
Aura.Transparency = NumberSequence.new(0,1)
4457
Aura.Drag = 0.4
4458
Aura.LightInfluence = 0
4459
Aura.LockedToPart = true
4460
Aura.Lifetime = NumberRange.new(0.9)
4461
Aura.Rate = 60
4462
Aura.LightEmission = 0.6
4463
Aura.Rotation = NumberRange.new(-360,360)
4464
Aura.VelocitySpread = 0
4465
Aura.Acceleration = Vector3.new(0,0,0)	
4466
Aura.ZOffset = 0.2
4467
	no_anim = true
4468
		for i = 1, 15 do
4469
		wait()
4470
	
4471
torso.Weld.C0 = Lerp(torso.Weld.C0,CFrame.new(0, -1.1-0.1*math.cos(sine/16), 0) * CFrame.Angles(math.rad(0-2*math.cos(sine/16)),math.rad(-80), math.rad(0-1*math.cos(sine/32))),0.2)
4472
larm.Weld.C0 = Lerp(larm.Weld.C0,CFrame.new(-1.5,0.55-0.1*math.cos(sine/16)/2,-0.1*math.cos(sine/16))*CFrame.Angles(math.rad(0),math.rad(-10-1*math.cos(sine/16)),math.rad(-90-1*math.cos(sine/8))),0.4)
4473
		end
4474
		
4475
			local Grab = Instance.new("Part",root)
4476
	Grab.Size = Vector3.new(5.2,5.8,3.9)
4477
	Grab.CanCollide = false
4478
	Grab.Material = "Neon"
4479
	Grab.BrickColor = BrickColor.new("Really red")
4480
	Grab.Transparency = 0.5
4481
	local Hat2 = Instance.new("SpecialMesh",Grab)
4482
Hat2.MeshType = 3
4483
Hat2.Scale = Vector3.new(3.35,3.15,0.95)
4484
	local Grabo = Instance.new("Weld",Grab)
4485
	Grabo.Part0 = root
4486
	Grabo.Part1 = Grab
4487
	Grabo.C0 = CFrame.new(0,0.3,-6.8)
4488
	
4489
local AuraB = Instance.new("Part",root)
4490
	AuraB.Size = Vector3.new(2,1,2)
4491
	AuraB.CanCollide = false
4492
	AuraB.BrickColor = BrickColor.new("Deep orange")
4493
	AuraB.Transparency = 1
4494
	local AuraBo = Instance.new("Weld",AuraB)
4495
	AuraBo.Part0 = root
4496
	AuraBo.Part1 = AuraB
4497
	AuraBo.C0 = CFrame.new(0,-0.6,0)
4498
	Grab.Touched:connect(function(hit)
4499
	if hit.Parent:FindFirstChildOfClass("Humanoid")and hit.Parent ~= nil and hit.Parent.Name ~= p.Character.Name then
4500
		
4501
		
4502
Snap(hit.Parent)
4503
			local Fl = Instance.new("BodyVelocity",hit.Parent.Head)
4504
			Fl.maxForce = Vector3.new(math.huge,math.huge,math.huge)
4505
			Fl.velocity = root.CFrame.lookVector*340
4506
			wait(0.05)
4507
			Fl:remove()
4508
		
4509
		end
4510
	end)
4511
		
4512
		
4513
		end
4514
end)
4515
mouse.KeyUp:connect(function(key)
4516
	if key == "t" then
4517
		
4518
			for i, v in pairs(root:GetChildren()) do
4519
	if v:IsA("Part")then
4520
		v:Remove()
4521
	end
4522
			end
4523
			for i, v in pairs(Stone4:GetChildren()) do
4524
	if v:IsA("ParticleEmitter")then
4525
		v.Rate = 0
4526
	end
4527
		end
4528
		
4529
		no_anim = false
4530
		end
4531
	end)
4532
4533
4534
mouse.KeyDown:connect(function(k)
4535
if k == "e" and MUI == false then --highjump
4536
	
4537
	animid = 5
4538
	no_anim = true
4539
4540
	local sbs = Instance.new("BodyPosition", torso)
4541
        sbs.P = 9000
4542
        sbs.D = 1000
4543
        sbs.maxForce = Vector3.new(900000, 9000000000, 900000)
4544
        sbs.position = torso.CFrame.p + Vector3.new(0, 150, 0)
4545
local FlyAt = Instance.new("Attachment",NeckS)FlyAt.Position = Vector3.new(0,0.5,0)
4546
local FlyAt2 = Instance.new("Attachment",NeckS)FlyAt2.Position = Vector3.new(0,-0.5,0)
4547
local Speed = Instance.new("Trail",char)Speed.Attachment0 = FlyAt Speed.Attachment1 = FlyAt2
4548
Speed.Texture = "rbxassetid://22636887" Speed.Lifetime = 0.3 Speed.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,0,0),NumberSequenceKeypoint.new(1,1,0)})
4549
Speed.Color = ColorSequence.new(Color3.fromRGB(255, 255, 0)) Speed.LightEmission = 5
4550
	
4551
	hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,0)*CFrame.Angles(math.rad(0),math.rad(0),math.rad(0)), 0.8)--head
4552
		             torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(0),math.rad(0),math.rad(0)), 0.8)--torso
4553
				    	rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.5,0)*CFrame.Angles(math.rad(-60),math.rad(0),math.rad(0)), 0.8)--rarm
4554
					   larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.5,0)*CFrame.Angles(math.rad(-50),math.rad(0),math.rad(0)), 0.8)--larm
4555
					lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(math.rad(-30),math.rad(0),math.rad(-10)), 0.8)--lleg
4556
		             rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(math.rad(-50),math.rad(0),math.rad(5)), 0.8)--rleg
4557
	
4558
		
4559
		
4560
			local HQ = Instance.new("Part",char)
4561
			HQ.Size = Vector3.new(1,0,1)
4562
			HQ.BrickColor = BrickColor.new("New Yeller")
4563
			HQ.Material = "Neon"
4564
			HQ.Anchored = true
4565
			HQ.CanCollide = false
4566
			HQ.Transparency = 0.7
4567
			HQ.CFrame = root.CFrame*CFrame.new(0,-2,0)*CFrame.Angles(0,0,0)
4568
			local HQ2 = Instance.new("SpecialMesh",HQ)
4569
			HQ2.MeshId = "rbxassetid://20329976"
4570
			HQ2.Scale = Vector3.new(1,50,1)
4571
		
4572
			local HQG = Instance.new("Part",char)
4573
			HQG.Size = Vector3.new(1,0,1)
4574
			HQG.BrickColor = BrickColor.new("Grey")
4575
			HQG.Material = "Neon"
4576
			HQG.Anchored = true
4577
			HQG.Transparency = 0.7
4578
			HQG.CanCollide = false
4579
			HQG.CFrame = root.CFrame*CFrame.new(0,-2,0)*CFrame.Angles(0,0,0)
4580
			local HQG2 = Instance.new("SpecialMesh",HQG)
4581
			HQG2.MeshId = "rbxassetid://20329976"
4582
			HQG2.Scale = Vector3.new(1,1,1)
4583
			
4584
			
4585
			coroutine.resume(coroutine.create(function()
4586
			for i = 1,500 do
4587
			HQ2.Scale = HQ2.Scale + Vector3.new(1.5,0.3,1.5)
4588
			HQ.Transparency = HQ.Transparency + 0.005
4589
			HQ.CFrame = HQ.CFrame*CFrame.Angles(0,0,0)
4590
			
4591
			HQG2.Scale = HQG2.Scale + Vector3.new(1,0.5,1)
4592
			HQG.Transparency = HQG.Transparency + 0.005
4593
			HQG.CFrame = HQ.CFrame*CFrame.Angles(0,0,0)
4594
			
4595
			wait(0.00000000001)
4596
		
4597
				
4598
			end
4599
				HQ:Destroy()
4600
			HQ2:Destroy()
4601
			HQG:Destroy()
4602
			HQG2:Destroy()
4603
			end))
4604
4605
	
4606
	wait(0.5)
4607
	sbs:Destroy()
4608
4609
	FlyAt:Destroy()
4610
	wait(0.2)
4611
	
4612
	no_anim = false
4613
	instinct = true
4614
end
4615
end)
4616
4617
4618
mouse.KeyDown:connect(function(k)
4619
if k == "e" and MUI == true then --highjump
4620
	
4621
	animid = 5
4622
	no_anim = true
4623
	hum.WalkSpeed = 60
4624
	local sbs = Instance.new("BodyPosition", torso)
4625
        sbs.P = 9000
4626
        sbs.D = 1000
4627
        sbs.maxForce = Vector3.new(900000, 9000000000, 900000)
4628
        sbs.position = torso.CFrame.p + Vector3.new(0, 120, 0)
4629
local FlyAt = Instance.new("Attachment",torso)FlyAt.Position = Vector3.new(0,2,0)
4630
local FlyAt2 = Instance.new("Attachment",torso)FlyAt2.Position = Vector3.new(0,-2.5,0)
4631
local Speed = Instance.new("Trail",char)Speed.Attachment0 = FlyAt Speed.Attachment1 = FlyAt2
4632
Speed.Texture = "rbxassetid://22636887" Speed.Lifetime = 0.3 Speed.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,0,0),NumberSequenceKeypoint.new(1,1,0)})
4633
Speed.Color = ColorSequence.new(Color3.fromRGB(248, 248, 248)) Speed.LightEmission = 5
4634
	
4635
	hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,0)*CFrame.Angles(math.rad(0),math.rad(0),math.rad(0)), 0.8)--head
4636
		             torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(0),math.rad(0),math.rad(0)), 0.8)--torso
4637
				    	rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.5,0)*CFrame.Angles(math.rad(-60),math.rad(0),math.rad(0)), 0.8)--rarm
4638
					   larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.5,0)*CFrame.Angles(math.rad(-50),math.rad(0),math.rad(0)), 0.8)--larm
4639
					lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(math.rad(-30),math.rad(0),math.rad(-10)), 0.8)--lleg
4640
		             rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(math.rad(-50),math.rad(0),math.rad(5)), 0.8)--rleg
4641
	
4642
		
4643
		
4644
			local HQ = Instance.new("Part",char)
4645
			HQ.Size = Vector3.new(1,0,1)
4646
			HQ.BrickColor = BrickColor.new("Grey")
4647
			HQ.Material = "Neon"
4648
			HQ.Anchored = true
4649
			HQ.CanCollide = false
4650
			HQ.Transparency = 0.7
4651
			HQ.CFrame = root.CFrame*CFrame.new(0,-2,0)*CFrame.Angles(0,0,0)
4652
			local HQ2 = Instance.new("SpecialMesh",HQ)
4653
			HQ2.MeshId = "rbxassetid://20329976"
4654
			HQ2.Scale = Vector3.new(1,1,1)
4655
		
4656
			local HQG = Instance.new("Part",char)
4657
			HQG.Size = Vector3.new(1,0,1)
4658
			HQG.BrickColor = BrickColor.new("Grey")
4659
			HQG.Material = "Neon"
4660
			HQG.Anchored = true
4661
			HQG.Transparency = 0.7
4662
			HQG.CanCollide = false
4663
			HQG.CFrame = root.CFrame*CFrame.new(0,-2,0)*CFrame.Angles(0,0,0)
4664
			local HQG2 = Instance.new("SpecialMesh",HQG)
4665
			HQG2.MeshId = "rbxassetid://20329976"
4666
			HQG2.Scale = Vector3.new(1,1,1)
4667
			
4668
			
4669
			coroutine.resume(coroutine.create(function()
4670
			for i = 1,200 do
4671
			HQ2.Scale = HQ2.Scale + Vector3.new(1.5,0.3,1.5)
4672
			HQ.Transparency = HQ.Transparency + 0.01
4673
			HQ.CFrame = HQ.CFrame*CFrame.Angles(0,0,0)
4674
			
4675
			HQG2.Scale = HQG2.Scale + Vector3.new(1,0.5,1)
4676
			HQG.Transparency = HQG.Transparency + 0.01
4677
			HQG.CFrame = HQ.CFrame*CFrame.Angles(0,0,0)
4678
			
4679
			wait(0.00000000001)
4680
		
4681
				
4682
			end
4683
				HQ:Destroy()
4684
			HQ2:Destroy()
4685
			HQG:Destroy()
4686
			HQG2:Destroy()
4687
			end))
4688
4689
	
4690
	wait(0.5)
4691
	sbs:Destroy()
4692
	hum.WalkSpeed = 260
4693
	FlyAt:Destroy()
4694
	wait(0.2)
4695
	hum.WalkSpeed = 16
4696
	no_anim = false
4697
	instinct = true
4698
end
4699
end)
4700
4701
mouse.KeyDown:connect(function(k)
4702
if k == "q" and MUI == false then --highjump
4703
	
4704
	animid = 5
4705
	no_anim = true
4706
	
4707
	local FlyAt = Instance.new("Attachment",torso)FlyAt.Position = Vector3.new(0,2,0)
4708
local FlyAt2 = Instance.new("Attachment",torso)FlyAt2.Position = Vector3.new(0,-2.5,0)
4709
local Speed = Instance.new("Trail",char)Speed.Attachment0 = FlyAt Speed.Attachment1 = FlyAt2
4710
Speed.Texture = "rbxassetid://22636887" Speed.Lifetime = 0.3 Speed.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,0,0),NumberSequenceKeypoint.new(1,1,0)})
4711
Speed.Color = ColorSequence.new(Color3.fromRGB(248, 248, 248)) Speed.LightEmission = 5
4712
	local bv = Instance.new("BodyVelocity")
4713
  bv.maxForce = Vector3.new(1e9, 1e9, 1e9)
4714
  bv.velocity = root.CFrame.lookVector*200
4715
  bv.Parent = root
4716
4717
	
4718
4719
for i = 1, 30 do
4720
	wait()
4721
		
4722
	hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,0)*CFrame.Angles(math.rad(50),math.rad(0),math.rad(0)), 0.1)--head
4723
		torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(-80), math.rad(0), math.rad(0)), 0.1)--torso
4724
		rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.5,0)*CFrame.Angles(math.rad(-30),math.rad(0),math.rad(15)), 0.1)--arm
4725
		larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.5,0)*CFrame.Angles(math.rad(-30),math.rad(0),math.rad(-15)), 0.1)--arm
4726
		lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(math.rad(-20), math.rad(0), math.rad(-10)), 0.1)--leg
4727
		rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(math.rad(-20), math.rad(0), math.rad(10)), 0.1)--leg
4728
		end
4729
4730
4731
	
4732
	
4733
		
4734
		
4735
		
4736
4737
	
4738
	wait(0.5)
4739
	bv:Destroy()
4740
	
4741
	wait(0.2)
4742
	
4743
4744
FlyAt:Destroy()
4745
	no_anim = false
4746
end
4747
end)
4748
holdclick=false
4749
4750
mouse.KeyDown:connect(function(k)
4751
if k == "q" and MUI == true then --highjump
4752
	
4753
	animid = 5
4754
	no_anim = true
4755
	hum.WalkSpeed = 60
4756
	local bv = Instance.new("BodyVelocity")
4757
  bv.maxForce = Vector3.new(1e9, 1e9, 1e9)
4758
  bv.velocity = root.CFrame.lookVector*190
4759
  bv.Parent = root
4760
4761
	local FlyAt = Instance.new("Attachment",torso)FlyAt.Position = Vector3.new(0,1,0)
4762
local FlyAt2 = Instance.new("Attachment",torso)FlyAt2.Position = Vector3.new(0,-1,0)
4763
local Speed = Instance.new("Trail",char)Speed.Attachment0 = FlyAt Speed.Attachment1 = FlyAt2
4764
Speed.Texture = "rbxassetid://22636887" Speed.Lifetime = 0.3 Speed.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,0,0),NumberSequenceKeypoint.new(1,1,0)})
4765
Speed.Color = ColorSequence.new(Color3.fromRGB(4, 175, 236)) Speed.LightEmission = 5
4766
	
4767
		             torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(-10),math.rad(0),math.rad(0)), 0.8)--torso
4768
				    	rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.5,0)*CFrame.Angles(math.rad(-80),math.rad(0),math.rad(0)), 0.8)--rarm
4769
					   larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.5,0)*CFrame.Angles(math.rad(-85),math.rad(0),math.rad(0)), 0.8)--larm
4770
					lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(math.rad(-60),math.rad(0),math.rad(-10)), 0.8)--lleg
4771
		             rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -0.3, -1) * CFrame.Angles(math.rad(-50),math.rad(0),math.rad(5)), 0.8)--rleg
4772
	
4773
		
4774
		
4775
			local HQ = Instance.new("Part",char)
4776
			HQ.Size = Vector3.new(1,0,1)
4777
			HQ.BrickColor = BrickColor.new("Grey")
4778
			HQ.Material = "Neon"
4779
			HQ.Anchored = true
4780
			HQ.CanCollide = false
4781
			HQ.Transparency = 0.7
4782
			HQ.CFrame = root.CFrame*CFrame.new(0,-2,0)*CFrame.Angles(1.55,0,0)
4783
			local HQ2 = Instance.new("SpecialMesh",HQ)
4784
			HQ2.MeshId = "rbxassetid://20329976"
4785
			HQ2.Scale = Vector3.new(1,1,1)
4786
		
4787
			local HQG = Instance.new("Part",char)
4788
			HQG.Size = Vector3.new(1,0,1)
4789
			HQG.BrickColor = BrickColor.new("Grey")
4790
			HQG.Material = "Neon"
4791
			HQG.Anchored = true
4792
			HQG.Transparency = 0.7
4793
			HQG.CanCollide = false
4794
			HQG.CFrame = root.CFrame*CFrame.new(0,-2,0)*CFrame.Angles(1.55,0,0)
4795
			local HQG2 = Instance.new("SpecialMesh",HQG)
4796
			HQG2.MeshId = "rbxassetid://20329976"
4797
			HQG2.Scale = Vector3.new(1,1,1)
4798
			
4799
			
4800
			coroutine.resume(coroutine.create(function()
4801
			for i = 1,200 do
4802
			HQ2.Scale = HQ2.Scale + Vector3.new(1.5,0.3,1.5)
4803
			HQ.Transparency = HQ.Transparency + 0.01
4804
			HQ.CFrame = HQ.CFrame*CFrame.Angles(0,0,0)
4805
			
4806
			HQG2.Scale = HQG2.Scale + Vector3.new(1,0.5,1)
4807
			HQG.Transparency = HQG.Transparency + 0.01
4808
			HQG.CFrame = HQ.CFrame*CFrame.Angles(0,0,0)
4809
			
4810
			wait()
4811
		
4812
				
4813
			end
4814
				HQ:Destroy()
4815
			HQ2:Destroy()
4816
			HQG:Destroy()
4817
			HQG2:Destroy()
4818
			end))
4819
4820
	
4821
	wait(0.5)
4822
	bv:Destroy()
4823
	hum.WalkSpeed = 60
4824
	wait(0.2)
4825
	hum.WalkSpeed = 16
4826
	FlyAt:Destroy()
4827
	no_anim = false
4828
	instinct = true
4829
end
4830
end)
4831
mouse.KeyDown:connect(function(k)
4832
if k == "l" then
4833
	
4834
	animid = 5
4835
	no_anim = true
4836
UltimateBattle:Stop()
4837
	
4838
	
4839
		for i = 1, 10 do
4840
		wait()
4841
		
4842
		            
4843
		              torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(0),math.rad(0),math.rad(0)), 0.8)--torso
4844
				    	rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.5,-0.2)*CFrame.Angles(math.rad(0),math.rad(0),math.rad(0)), 0.8)--rarm
4845
					   larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.5,-0.5)*CFrame.Angles(math.rad(120),math.rad(0),math.rad(0)), 0.8)--larm
4846
					lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(math.rad(0),math.rad(0),math.rad(-10)), 0.8)--lleg
4847
		             rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(math.rad(0),math.rad(0),math.rad(5)), 0.8)--rleg
4848
		end
4849
		wait(2)
4850
		local SFXZ = Instance.new("Sound",char)
4851
			SFXZ.SoundId = "rbxassetid://242076158"
4852
			SFXZ.Volume = 10
4853
			SFXZ.Pitch = 1
4854
			SFXZ.Looped = false
4855
			wait(0.01)
4856
			SFXZ:Play()
4857
			
4858
		for i = 1, 10 do
4859
		wait()
4860
		
4861
		            
4862
		              torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(0),math.rad(0),math.rad(0)), 0.8)--torso
4863
				    	rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.5,-0.2)*CFrame.Angles(math.rad(0),math.rad(0),math.rad(0)), 0.8)--rarm
4864
					   larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.5,-0.5)*CFrame.Angles(math.rad(120),math.rad(30),math.rad(0)), 0.8)--larm
4865
					lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(math.rad(0),math.rad(0),math.rad(-10)), 0.8)--lleg
4866
		             rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(math.rad(0),math.rad(0),math.rad(5)), 0.8)--rleg
4867
		end
4868
		
4869
	
4870
		coroutine.resume(coroutine.create(function()
4871
			for i = 3,80 do 
4872
			local Ball = Instance.new("Part",char)
4873
			Ball.Size = Vector3.new(0,0,0)
4874
			Ball.BrickColor = BrickColor.new("White")
4875
			Ball.Material = "Neon"
4876
			Ball.Anchored = true
4877
			Ball.CanCollide = false
4878
			Ball.Transparency = 0
4879
			Ball.CFrame = torso.CFrame*CFrame.new(0,0,0)*CFrame.Angles(0,0,0)
4880
			local Ball2 = Instance.new("SpecialMesh",Ball)
4881
			Ball2.MeshType = 3
4882
			Ball2.Scale = Vector3.new(0.4,0.4,0.4)
4883
		
4884
	
4885
			
4886
			
4887
			coroutine.resume(coroutine.create(function()
4888
			for i = 1,15 do
4889
			Ball2.Scale = Ball2.Scale + Vector3.new(1980.4,1980.4,1980.4)
4890
			Ball.Transparency = Ball.Transparency + 0.06
4891
			
4892
			wait(0.00000000001)
4893
			end
4894
			Ball:Destroy()
4895
			
4896
				
4897
			end))
4898
			wait(0.02)
4899
			end
4900
		end))
4901
	
4902
wait(5)
4903
4904
	
4905
	  
4906
                                   
4907
	coroutine.wrap(function()
4908
	    for i,v in next, workspace:children() do
4909
	        if v:IsA"Model" or v:IsA"Part" then
4910
	            if v:FindFirstChildOfClass"Humanoid" and v ~= char then
4911
	                Eviscerate(v)
4912
	               	if v:FindFirstChildOfClass"Humanoid" then   Eviscerate(v) end
4913
	                wait(.15)
4914
	            end
4915
	        end   
4916
	    end
4917
	end)()
4918
	  
4919
	
4920
	wait(10)
4921
	no_anim = false
4922
4923
	
4924
	
4925
end
4926
end)
4927
4928
4929
4930
	
4931
4932
4933
4934
4935
4936
4937
4938
4939
4940
4941
mouse.KeyDown:connect(function(key)
4942
if debounce == false then
4943
if key == "=" and MUI == true then
4944
dashasdf()
4945
elseif key == "=" and cooldownult == false then
4946
cooldownult = true
4947
if animid == 0 then
4948
animid = 1
4949
else
4950
animid = 0
4951
end
4952
debounce = true
4953
holdr = true
4954
aiming_anim = true
4955
wait(0.2)
4956
repeat 
4957
rs:wait()
4958
timer = 150
4959
until holdr == false
4960
nukewelpo()
4961
4962
local Position = mouse.Hit.p
4963
local Target = root.Position
4964
local direction = Target - Position
4965
local direction = computeDirection(direction)
4966
root.Velocity = direction * 300
4967
4968
aiming_anim = false
4969
delay(5,function() cooldownult = false end)
4970
delay(1,function() debounce = false end)
4971
4972
elseif key == "=" then
4973
debounce = true
4974
if animid == 0 then
4975
animid = 1
4976
else
4977
animid = 0
4978
end
4979
holdq = true
4980
attack = true
4981
4982
			
4983
		
4984
4985
repeat rs:wait() timer = 150 until holdq == false
4986
laz0r()
4987
attack = false
4988
		
4989
end
4990
end
4991
4992
end)
4993
4994
mouse.KeyUp:connect(function(key)
4995
if key == "=" then
4996
holdq = false
4997
elseif key == "=" then
4998
holdr = false
4999
end
5000
end)
5001
--
5002
hum.Name = 'Goku'
5003
----------------------------------------------------------------------------
5004
music(themeid,themepitch)
5005
velocityYFall=0
5006
velocityYFall2=0
5007
velocityYFall3=0
5008
velocityYFall4=0
5009
neckrotY=0
5010
neckrotY2=0
5011
torsorotY=0
5012
torsorotY2=0
5013
torsoY=0
5014
torsoY2=0
5015
sine = 0
5016
newWeld(torso, larm, -1.5, 0.5, 0)
5017
larm.Weld.C1 = CFrame.new(0, 0.5, 0)
5018
newWeld(torso, rarm, 1.5, 0.5, 0)
5019
rarm.Weld.C1 = CFrame.new(0, 0.5, 0)
5020
newWeld(torso, hed, 0, 1.5, 0)
5021
newWeld(torso, lleg, -0.5, -1, 0)
5022
lleg.Weld.C1 = CFrame.new(0, 1, 0)
5023
newWeld(torso, rleg, 0.5, -1, 0)
5024
rleg.Weld.C1 = CFrame.new(0, 1, 0)
5025
newWeld(root, torso, 0, -1, 0)
5026
torso.Weld.C1 = CFrame.new(0, -1, 0)
5027
5028
rs:connect(function()
5029
5030
bg.MaxTorque = Vector3.new(0,0,0)
5031
5032
for i,v in pairs(DebrisModel:GetChildren()) do
5033
    
5034
5035
if v.Name == "EXPLOSION" then
5036
local change = 0.04-(v.Transparency*0.02)
5037
local vm = v:FindFirstChildOfClass("SpecialMesh")
5038
vm.Scale = vm.Scale + Vector3.new(change,change,change)
5039
v.Transparency = v.Transparency + 0.02
5040
if v.Transparency >= 1 then
5041
v:Destroy()
5042
end
5043
5044
elseif v.Name == "EXPLOSION2" then
5045
local change = 0.04-(v.Transparency*0.04)
5046
local vm = v:FindFirstChildOfClass("SpecialMesh")
5047
vm.Scale = vm.Scale + Vector3.new(change,change,0)
5048
v.Transparency = v.Transparency + 0.025
5049
if v.Transparency >= 1 then
5050
v:Destroy()
5051
end
5052
5053
elseif v.Name == "EXPLOSION3" then
5054
local change = 0.5-(v.Transparency*0.5)
5055
local vm = v:FindFirstChildOfClass("SpecialMesh")
5056
vm.Scale = vm.Scale + Vector3.new(change,change,0)
5057
v.Transparency = v.Transparency + 0.1
5058
if v.Transparency >= 1 then
5059
v:Destroy()
5060
end
5061
5062
elseif v.Name == "EXPLOSION4" then
5063
local change = 0.15-(v.Transparency*0.125)
5064
local vm = v:FindFirstChildOfClass("SpecialMesh")
5065
vm.Scale = vm.Scale + Vector3.new(change,change,change)
5066
v.Transparency = v.Transparency + 0.01
5067
if v.Transparency >= 1 then
5068
v:Destroy()
5069
end
5070
5071
elseif v.Name == "SMOKE" then
5072
local vm = v:FindFirstChildOfClass("SpecialMesh")
5073
vm.Scale = vm.Scale - Vector3.new(0.075,0.075,0.075)
5074
if vm.Scale.X <= 0 then
5075
v:Destroy()
5076
end
5077
5078
elseif v.Name == "SMOKE2" then
5079
local change = 2-(v.Transparency*2)
5080
local vm = v:FindFirstChildOfClass("SpecialMesh")
5081
local Position = nil
5082
if animid == 0 then
5083
Position = larm.Position
5084
else
5085
Position = rarm.Position
5086
end
5087
local Target = mouse.Hit.p
5088
local direction = Target - Position
5089
local direction = computeDirection(direction)
5090
local ray = Ray.new(Position, (Target-Position).unit*1048)
5091
local part, endPoint = workspace:FindPartOnRay(ray, char)
5092
vm.Scale = Vector3.new(vm.Scale.X,(Position-endPoint).magnitude,vm.Scale.Z) + Vector3.new(change,0,change)
5093
local pos = Position + (direction * (vm.Scale.Y/2))
5094
v.CFrame = CFrame.new(pos,  pos + direction) * CFrame.Angles((math.pi/2)+math.rad(180), 0, 0)
5095
vm.Offset = Vector3.new(math.random(-10000,10000)/10000,math.random(-10000,10000)/10000,0)
5096
v.Transparency = v.Transparency + 0.1
5097
if v.Transparency >= 1 then
5098
v:Destroy()
5099
end
5100
5101
5102
elseif v.Name == "LIGHTNING" then
5103
local vm = v:FindFirstChildOfClass("BlockMesh")
5104
vm.Scale = vm.Scale - Vector3.new(0.1,0.1,0)
5105
if vm.Scale.X <= 0 then
5106
v:Destroy()
5107
end
5108
5109
end
5110
end
5111
5112
if -root.Velocity.Y/1.5 > 0 and -root.Velocity.Y/1.5 < 160 then
5113
velocityYFall = root.Velocity.Y/1.5
5114
end
5115
if -root.Velocity.Y/180 > 0 and -root.Velocity.Y/180 < 1.2 then
5116
velocityYFall2 = root.Velocity.Y/180
5117
end
5118
if -root.Velocity.Y/1.5 > -5 and -root.Velocity.Y/1.5 < 50 then
5119
velocityYFall3 = root.Velocity.Y/1.5
5120
end
5121
if -root.Velocity.Y/1.5 > -50 and -root.Velocity.Y/1.5 < 20 then
5122
velocityYFall4 = root.Velocity.Y/1.5
5123
end
5124
if root.RotVelocity.Y/6 < 1 and root.RotVelocity.Y/6 > -1 then
5125
neckrotY = root.RotVelocity.Y/6
5126
end
5127
if root.RotVelocity.Y/8 < 0.6 and root.RotVelocity.Y/8 > -0.6 then
5128
neckrotY2 = root.RotVelocity.Y/8
5129
end
5130
5131
if root.RotVelocity.Y/6 < 0.2 and root.RotVelocity.Y/6 > -0.2 then
5132
torsorotY = root.RotVelocity.Y/6
5133
end
5134
if root.RotVelocity.Y/8 < 0.2 and root.RotVelocity.Y/8 > -0.2 then
5135
torsorotY2 = root.RotVelocity.Y/8
5136
end
5137
5138
5139
torsoY = -(torso.Velocity*Vector3.new(1, 0, 1)).magnitude/20
5140
torsoY2 = -(torso.Velocity*Vector3.new(1, 0, 1)).magnitude/36
5141
5142
5143
local SINE = 0
5144
local jumped = false
5145
local ray1 = Ray.new(root.Position+Vector3.new(1,0,0),Vector3.new(0, -6, 0))
5146
local part1, endPoint = workspace:FindPartOnRay(ray1, char)
5147
local ray2 = Ray.new(root.Position-Vector3.new(1,0,0),Vector3.new(0, -6, 0))
5148
local part2, endPoint = workspace:FindPartOnRay(ray2, char)
5149
local ray3 = Ray.new(root.Position+Vector3.new(0,0,0.5),Vector3.new(0, -6, 0))
5150
local part3, endPoint = workspace:FindPartOnRay(ray3, char)
5151
local ray4 = Ray.new(root.Position-Vector3.new(0,0,0.5),Vector3.new(0, -6, 0))
5152
local part4, endPoint = workspace:FindPartOnRay(ray4, char)
5153
5154
if part1 or part2 or part3 or part4 then jumped = false else endPoint = 0 jumped = true end
5155
5156
local rlegray = Ray.new(rleg.Position+Vector3.new(0,0.5,0),Vector3.new(0, -1.75, 0))
5157
local rlegpart, rlegendPoint = workspace:FindPartOnRay(rlegray, char)
5158
local AngleThetaR = (righth-righth.p):vectorToObjectSpace(speed/100)
5159
	local AngleThetaL = (lefth-lefth.p):vectorToObjectSpace(speed/100)
5160
	
5161
local llegray = Ray.new(lleg.Position+Vector3.new(0,0.5,0),Vector3.new(0, -1.75, 0))
5162
local llegpart, llegendPoint = workspace:FindPartOnRay(llegray, char)
5163
local sizem = 1
5164
if no_anim == false then
5165
if hum.Health > 0 then
5166
if (torso.Velocity*Vector3.new(1, 0, 1)).magnitude >= 5 and jumped == false then
5167
hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-18),math.rad(0+math.rad(0+2*math.cos(sine/2))),0), 0.1)
5168
hed.Weld.C1 = Lerp(hed.Weld.C1, CFrame.Angles(math.rad(-10),0,0),0.1)
5169
rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.62-(movement/30)*math.cos(sine/4)/2,(movement/50)*math.cos(sine/4))*CFrame.Angles(math.rad(-5-(movement*2)*math.cos(sine/4))+ -(movement/10)*math.sin(sine/4),math.rad(0-(movement*2)*math.cos(sine/4)),math.rad(0)), 0.2)
5170
larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.62+(movement/30)*math.cos(sine/4)/2,-(movement/50)*math.cos(sine/4))*CFrame.Angles(math.rad(-5+(movement*2)*math.cos(sine/4))+ (movement/10)*math.sin(sine/4),math.rad(0-(movement*2)*math.cos(sine/4)),math.rad(0)), 0.2)
5171
torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1+(movement/20)*math.cos(sine/2), 0) * CFrame.Angles(math.rad(-(change*20)-4*math.cos(sine/2)), torsorotY2+math.rad(0-4*math.cos(sine/4)), torsorotY2+math.rad(0-1*math.cos(sine/4))), 0.1)
5172
lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5,-0.85-(movement/10)*math.cos(sine/4)/2,-0.1+(movement/15)*math.cos(sine/4))*CFrame.Angles(math.rad(-10+(change*5)-movement*math.cos(sine/4))+ -(movement/10)*math.sin(sine/4),math.rad(0+(movement*2)*math.cos(sine/4)),math.rad(0)), 0.2)
5173
rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5,-0.85+(movement/10)*math.cos(sine/4)/2,-0.1-(movement/15)*math.cos(sine/4))*CFrame.Angles(math.rad(-10+(change*5)+movement*math.cos(sine/4))+ (movement/10)*math.sin(sine/4),math.rad(0+(movement*2)*math.cos(sine/4)),math.rad(0)), 0.2)
5174
elseif jumped == true then
5175
hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-18),math.rad(0+math.rad(0+2*math.cos(sine/2))),0), 0.1)
5176
hed.Weld.C1 = Lerp(hed.Weld.C1, CFrame.Angles(0,0,0),0.1)
5177
larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,1-0.1*math.cos(sine/16)/2,0.1*math.cos(sine/16))*CFrame.Angles(math.rad(0),math.rad(0-1*math.cos(sine/16)),math.rad(-50-1*math.cos(sine/8))), 0.2)
5178
rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,1-0.1*math.cos(sine/16)/2,0.1*math.cos(sine/16))*CFrame.Angles(math.rad(0),math.rad(0-1*math.cos(sine/16)),math.rad(50+1*math.cos(sine/8))), 0.2)
5179
torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1-0.1*math.cos(sine/16), 0) * CFrame.Angles(math.rad(0-2*math.cos(sine/16)),math.rad(0), math.rad(0-1*math.cos(sine/32))), 0.1)
5180
lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5,-0.925+0.1*math.cos(sine/16),0)*CFrame.Angles(math.rad(-35-1*math.cos(sine/16)),math.rad(0-1*math.cos(sine/16)),math.rad(-2-0.5*math.cos(sine/8))), 0.2)
5181
rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5,0+0.1*math.cos(sine/16),-0.8)*CFrame.Angles(math.rad(-25+1*math.cos(sine/16)),math.rad(0-1*math.cos(sine/16)),math.rad(2+0.5*math.cos(sine/8))), 0.2)
5182
elseif (torso.Velocity*Vector3.new(1, 0, 1)).magnitude < 5 then
5183
hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.1)*CFrame.Angles(math.rad(-18),math.rad(0+math.rad(0+2*math.cos(sine/2))),0), 0.1)
5184
hed.Weld.C1 = Lerp(hed.Weld.C1, CFrame.Angles(math.rad(-15),0,0),0.1)
5185
larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.55-0.1*math.cos(sine/16)/2,-0.1*math.cos(sine/16))*CFrame.Angles(math.rad(0),math.rad(0-1*math.cos(sine/16)),math.rad(-5-1*math.cos(sine/8))), 0.2)
5186
rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.55-0.1*math.cos(sine/16)/2,-0.1*math.cos(sine/16))*CFrame.Angles(math.rad(0),math.rad(0-1*math.cos(sine/16)),math.rad(5+1*math.cos(sine/8))), 0.2)
5187
torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1.1-0.1*math.cos(sine/16), 0) * CFrame.Angles(math.rad(0-2*math.cos(sine/16)),math.rad(0), math.rad(0-1*math.cos(sine/32))), 0.1)
5188
lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(0,llegendPoint.Y-lleg.Position.Y,0)*CFrame.new(-0.5,0+0.1*math.cos(sine/16),0)*CFrame.Angles(math.rad(0-1*math.cos(sine/16)),math.rad(0-1*math.cos(sine/16)),math.rad(-2-0.5*math.cos(sine/8))), 0.2)
5189
rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0,rlegendPoint.Y-rleg.Position.Y,0)*CFrame.new(0.5,0+0.1*math.cos(sine/16),0)*CFrame.Angles(math.rad(0+1*math.cos(sine/16)),math.rad(0-1*math.cos(sine/16)),math.rad(2+0.5*math.cos(sine/8))), 0.2)
5190
end
5191
for i=1,5 do
5192
if aiming_anim == true then
5193
bg.MaxTorque = Vector3.new(9e9,9e9,9e9)
5194
if jumped == false then
5195
bg.CFrame = CFrame.new(root.Position,Vector3.new(mouse.Hit.x,root.Position.Y,mouse.Hit.z))
5196
else
5197
bg.CFrame = CFrame.new(root.Position,mouse.Hit.p)
5198
end
5199
if animid == 0 then
5200
hed.Weld.C1 =  Lerp(hed.Weld.C1,CFrame.Angles(0,math.rad(-80),0),0.4)
5201
torso.Weld.C0 = Lerp(torso.Weld.C0,CFrame.new(0, -1.1-0.1*math.cos(sine/16), 0) * CFrame.Angles(math.rad(0-2*math.cos(sine/16)),math.rad(-80), math.rad(0-1*math.cos(sine/32))),0.2)
5202
larm.Weld.C0 = Lerp(larm.Weld.C0,CFrame.new(-1.5,0.55-0.1*math.cos(sine/16)/2,-0.1*math.cos(sine/16))*CFrame.Angles(math.rad(0),math.rad(-10-1*math.cos(sine/16)),math.rad(-90-1*math.cos(sine/8))),0.4)
5203
else
5204
	if animid == 5 then
5205
hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,0)*CFrame.Angles(math.rad(0),math.rad(85),math.rad(0)), 1)--head
5206
		torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(0), math.rad(-85), math.rad(0)), 1)--torso
5207
					rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.2,0.4,0)*CFrame.Angles(math.rad(30),math.rad(-40),math.rad(-10)), 1)--rarm
5208
					larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1,0.2,-0.2)*CFrame.Angles(math.rad(30),math.rad(40),math.rad(40)), 1)--larm
5209
					lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(-10)), 1)--lleg
5210
		rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(10)), 1)--rleg
5211
else
5212
hed.Weld.C1 =  Lerp(hed.Weld.C1,CFrame.Angles(0,math.rad(80),0),0.4)
5213
torso.Weld.C0 = Lerp(torso.Weld.C0,CFrame.new(0, -1.1-0.1*math.cos(sine/16), 0) * CFrame.Angles(math.rad(0-2*math.cos(sine/16)),math.rad(80), math.rad(0-1*math.cos(sine/32))),0.2)
5214
rarm.Weld.C0 = Lerp(rarm.Weld.C0,CFrame.new(1.5,0.55-0.1*math.cos(sine/16)/2,-0.1*math.cos(sine/16))*CFrame.Angles(math.rad(0),math.rad(10-1*math.cos(sine/16)),math.rad(90+1*math.cos(sine/8))),0.4)
5215
	end
5216
	end
5217
else
5218
if timer <= 0 then
5219
animid = math.random(0,1)
5220
else
5221
timer = timer - 1
5222
end
5223
end
5224
end
5225
end
5226
end
5227
main_color = Color3.fromRGB(main.r,main.g,main.b)
5228
pr.Value = main.r
5229
pg.Value = main.g
5230
pb.Value = main.b
5231
pv.Value = main.v
5232
idth.Value = themeid
5233
pith.Value = themepitch
5234
HName.TextStrokeColor3 = Color3.fromHSV(Color3.toHSV(main_color),1,main.v/2)
5235
HName.TextColor3 = Color3.fromHSV(Color3.toHSV(main_color),1,main.v)
5236
sine = sine + change
5237
if hum.Health <= 0 then
5238
debounce = true
5239
end
5240
end)