SHOW:
|
|
- or go back to the newest paste.
1 | ||
2 | --//====================================================\\-- | |
3 | --|| CREATED BY SHACKLUSTER | |
4 | --|| KICKISHER BY NEBULA_ZORUA(DRAHAZAR) | |
5 | --|| EDITED AGAIN BY WANTH092 (LoL) | |
6 | --|| SMOL THINGS ADDED BY | |
7 | --|| INFINITEONEWITHDANK | |
8 | --\\====================================================//-- | |
9 | - | local Player = game:GetService("Players") |
9 | + | if game:GetService("RunService"):IsClient() then error("Script must be server-side in order to work; use h/ and not hl/") end |
10 | - | local Mouse,mouse,UserInputService,ContextActionService |
10 | + | local Player,Mouse,mouse,UserInputService,ContextActionService = owner |
11 | - | do |
11 | + | local RealPlayer = Player |
12 | - | script.Parent = Player.Character |
12 | + | 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 |
13 | - | local CAS = {Actions={}} |
13 | + | script.Parent = InternalData.RealOwner.Character |
14 | - | local Event = Instance.new("RemoteEvent") |
14 | + | local Event = Instance.new("RemoteEvent");Event.Name = "UserInput";InternalData.Event = Event |
15 | - | Event.Name = "UserInput_Event" |
15 | + | local function createObject (connections, index) |
16 | - | Event.Parent = Player.Character |
16 | + | local proxy = newproxy (true);local meta = getmetatable (proxy); |
17 | - | local fakeEvent = function() |
17 | + | local runbind = function (self, i, ...) connections[i]:Fire (...); end; |
18 | - | local t = {_fakeEvent=true} |
18 | + | while (#connections > 0) do connections[table.remove(connections, 1)] = Instance.new ('BindableEvent');end; |
19 | - | t.Connect = function(self,f)self.Function=f end |
19 | + | meta.__index = function (self, i) |
20 | - | t.connect = t.Connect |
20 | + | if (i == 'TriggerEvent') then return runbind end; |
21 | - | return t |
21 | + | return connections[i] and connections[i].Event or index[i]; |
22 | end; | |
23 | - | local m = {Target=nil,Hit=CFrame.new(),KeyUp=fakeEvent(),KeyDown=fakeEvent(),Button1Up=fakeEvent(),Button1Down=fakeEvent()} |
23 | + | meta.__newindex = index;meta.__metatable = false;return proxy |
24 | - | local UIS = {InputBegan=fakeEvent(),InputEnded=fakeEvent()} |
24 | + | end; |
25 | - | function CAS:BindAction(name,fun,touch,...) |
25 | + | local Mouse = createObject({"KeyUp","KeyDown","Button1Down","Button1Up"},{["Target"] = nil;["Hit"] = CFrame.new()}) |
26 | - | CAS.Actions[name] = {Name=name,Function=fun,Keys={...}} |
26 | + | local UserInputService = createObject({"InputBegan","InputEnded"},{}) |
27 | local ContextActionService = {Actions={},BindAction = function(self,actionName,Func,touch,...) | |
28 | - | function CAS:UnbindAction(name) |
28 | + | self.Actions[actionName] = Func and {Name=actionName,Function=Func,Keys={...}} or nil |
29 | - | CAS.Actions[name] = nil |
29 | + | end};ContextActionService.UnBindAction = ContextActionService.BindAction |
30 | Event.OnServerEvent:Connect(function(FiredBy,Input) | |
31 | - | local function te(self,ev,...) |
31 | + | if FiredBy ~= InternalData.RealOwner then return end |
32 | - | local t = m[ev] |
32 | + | if Input.MouseEvent then |
33 | - | if t and t._fakeEvent and t.Function then |
33 | + | Mouse.Target = Input.Target;Mouse.Hit = Input.Hit |
34 | - | t.Function(...) |
34 | + | elseif Input.Sound then |
35 | if InternalData.SoundLoudness[Input.Sound] then InternalData.SoundLoudness[Input.Sound] = Input.Loudness end | |
36 | else | |
37 | - | m.TrigEvent = te |
37 | + | local Begin = Input.UserInputState == Enum.UserInputState.Begin |
38 | - | UIS.TrigEvent = te |
38 | + | if Input.UserInputType == Enum.UserInputType.MouseButton1 then return Mouse:TriggerEvent(Begin and "Button1Down" or "Button1Up") end |
39 | - | Event.OnServerEvent:Connect(function(plr,io) |
39 | + | for _,Action in pairs(ContextActionService.Actions) do |
40 | - | if plr~=Player then return end |
40 | + | for _,Key in pairs(Action.Keys) do if Key==Input.KeyCode then Action.Function(Action.Name,Input.UserInputState,Input) end end |
41 | - | if io.isMouse then |
41 | + | end |
42 | - | m.Target = io.Target |
42 | + | Mouse:TriggerEvent(Begin and "KeyDown" or "KeyUp",Input.KeyCode.Name:lower());UserInputService:TriggerEvent(Begin and "InputBegan" or "InputEnded",Input,false) |
43 | - | m.Hit = io.Hit |
43 | + | end |
44 | - | elseif io.UserInputType == Enum.UserInputType.MouseButton1 then |
44 | + | end) |
45 | - | if io.UserInputState == Enum.UserInputState.Begin then |
45 | + | InternalData["Mouse"] = Mouse;InternalData["ContextActionService"] = ContextActionService;InternalData["UserInputService"] = UserInputService |
46 | - | m:TrigEvent("Button1Down") |
46 | + | Event.Parent = NLS([[ |
47 | local Player = owner; | |
48 | - | m:TrigEvent("Button1Up") |
48 | + | local Sounds = {}; |
49 | local Event = script:WaitForChild("UserInput"); | |
50 | local UserInputService = game:GetService("UserInputService"); | |
51 | - | for n,t in pairs(CAS.Actions) do |
51 | + | local Mouse = Player:GetMouse(); |
52 | - | for _,k in pairs(t.Keys) do |
52 | + | local Input = function(Input,gameProcessedEvent) |
53 | - | if k==io.KeyCode then |
53 | + | if gameProcessedEvent then return end |
54 | - | t.Function(t.Name,io.UserInputState,io) |
54 | + | Event:FireServer({KeyCode=Input.KeyCode,UserInputType=Input.UserInputType,UserInputState=Input.UserInputState}) |
55 | end | |
56 | Event.OnClientEvent:connect(function(Args) | |
57 | if Args[1] == "NewSound" then table.insert(Sounds,Args[2]) end | |
58 | - | if io.UserInputState == Enum.UserInputState.Begin then |
58 | + | end) |
59 | - | m:TrigEvent("KeyDown",io.KeyCode.Name:lower()) |
59 | + | UserInputService.InputBegan:Connect(Input);UserInputService.InputEnded:Connect(Input) |
60 | - | UIS:TrigEvent("InputBegan",io,false) |
60 | + | local Hit,Target |
61 | while wait(1/30) do | |
62 | - | m:TrigEvent("KeyUp",io.KeyCode.Name:lower()) |
62 | + | for x,Sound in pairs(Sounds) do |
63 | - | UIS:TrigEvent("InputEnded",io,false) |
63 | + | if Sound.Parent then Event:FireServer({["Sound"]=Sound,["Loudness"]=Sound.PlaybackLoudness}) end |
64 | end | |
65 | if Hit ~= Mouse.Hit or Target ~= Mouse.Target then | |
66 | Hit = Mouse.Hit;Target = Mouse.Target; | |
67 | - | Mouse,mouse,UserInputService,ContextActionService = m,m,UIS,CAS |
67 | + | Event:FireServer({["MouseEvent"]=true,["Target"]=Target,["Hit"]=Hit}) |
68 | end | |
69 | end | |
70 | - | wait(0.2) |
70 | + | ]],InternalData.RealOwner.Character) |
71 | end | |
72 | InternalData.NewOwner = setmetatable({},{ | |
73 | __index = function (self,Index) | |
74 | local Type = type(InternalData.RealOwner[Index]) | |
75 | if Type == "function" then | |
76 | if Index:lower() == "getmouse" or Index:lower() == "mouse" then | |
77 | return function (self)return InternalData["Mouse"] end | |
78 | end | |
79 | return function (self,...)return InternalData.RealOwner[Index](InternalData.RealOwner,...) end | |
80 | elseif Index == "FakePlayer" then | |
81 | return true | |
82 | end | |
83 | return InternalData.RealOwner[Index] | |
84 | end; | |
85 | __tostring = function(self) return tostring(InternalData.RealOwner) end | |
86 | }) | |
87 | --LoadLibrary("RbxUtility").Create | |
88 | InternalData.LoadLibrary = LoadLibrary;LoadLibrary = function(Library) | |
89 | if Library == "RbxUtility" then | |
90 | return setmetatable({},{ | |
91 | __tostring = function() return "RbxUtility" end; | |
92 | __index = function(self, Index) | |
93 | if Index:lower() == "create" then | |
94 | return function(Type) | |
95 | return function(Data) | |
96 | Data = Data or {} | |
97 | local Inst = Instance.new(Type) | |
98 | for x,y in pairs(Data) do | |
99 | if InternalData.RealObjs[y] then y = InternalData.RealObjs[y] end | |
100 | if y == owner then y = InternalData.RealOwner end | |
101 | Inst[x] = y | |
102 | end | |
103 | return Inst | |
104 | end | |
105 | end | |
106 | end | |
107 | return InternalData.LoadLibrary(Library)[Index] | |
108 | end | |
109 | }) | |
110 | end | |
111 | return InternalData.LoadLibrary(Library) | |
112 | end | |
113 | InternalData.RealInstance = Instance;Instance = setmetatable({},{ | |
114 | __index = function (self,Index) | |
115 | if Index:lower() == 'new' then | |
116 | return function (Type, Parent) | |
117 | if Parent == owner then Parent = InternalData.RealOwner end | |
118 | if InternalData.RealObjs[Parent] then Parent = InternalData.RealObjs[Parent] end | |
119 | local Real = InternalData.RealInstance.new(Type,Parent) | |
120 | if not Type then return end | |
121 | if Type == "BillboardGui" then | |
122 | local ToReturn = setmetatable({},{ | |
123 | __index = function (self,Index) | |
124 | if type(Real[Index]) == "function" then | |
125 | if Index:lower() == "clone" then | |
126 | return function (self) | |
127 | local Real = Real:Clone() | |
128 | local ToReturn = setmetatable({RealObject = Real},{ | |
129 | __index = function (self,Index) | |
130 | if type(Real[Index]) == "function" then return function (self,...) return Real[Index](Real,...)end end | |
131 | return Real[Index] | |
132 | end; | |
133 | __newindex = function (self,Index,Value) | |
134 | if InternalData.RealObjs[Value] then Value = InternalData.RealObjs[Value] end | |
135 | if Value == owner then Value = InternalData.RealOwner end | |
136 | Real[Index] = Value | |
137 | end; | |
138 | __tostring = function(self) return tostring(Real) end; | |
139 | }) | |
140 | InternalData.RealObjs[ToReturn] = Real;return ToReturn; | |
141 | end | |
142 | end | |
143 | return function (self,...) return Real[Index](Real,...)end | |
144 | end | |
145 | return Real[Index] | |
146 | end; | |
147 | __newindex = function (self,Index,Value) | |
148 | if InternalData.RealObjs[Value] then Value = InternalData.RealObjs[Value] end | |
149 | if Value == owner then Value = InternalData.RealOwner end | |
150 | Real[Index] = Value | |
151 | end; | |
152 | __tostring = function(self) return tostring(Real) end; | |
153 | }) | |
154 | InternalData.RealObjs[ToReturn] = Real;return ToReturn; | |
155 | elseif Type:lower() == "sound" then | |
156 | Real.Parent = owner.Character; | |
157 | local ToReturn = setmetatable({RealObject = Real},{ | |
158 | __index = function (self,Index) | |
159 | if Index:lower() == "playbackloudness" then | |
160 | return InternalData.SoundLoudness[Real] or 0 | |
161 | elseif type(Real[Index]) == "function" then | |
162 | if Index:lower() == "clone" then | |
163 | return function (self) | |
164 | local Real = Real:Clone() | |
165 | local ToReturn = setmetatable({},{ | |
166 | __index = function (self,Index) | |
167 | if type(Real[Index]) == "function" then return function (self,...) return Real[Index](Real,...)end end | |
168 | return Real[Index] | |
169 | end; | |
170 | __newindex = function (self,Index,Value) | |
171 | if InternalData.RealObjs[Value] then Value = InternalData.RealObjs[Value] end | |
172 | if Value == owner then Value = InternalData.RealOwner end | |
173 | Real[Index] = Value | |
174 | end; | |
175 | __tostring = function(self) return tostring(Real) end; | |
176 | }) | |
177 | InternalData.RealObjs[ToReturn] = Real;return ToReturn; | |
178 | end | |
179 | end | |
180 | return function (self,...) return Real[Index](Real,...)end | |
181 | end | |
182 | return Real[Index] | |
183 | end; | |
184 | __newindex = function (self,Index,Value) | |
185 | if InternalData.RealObjs[Value] then Value = InternalData.RealObjs[Value] end | |
186 | if Value == owner then Value = InternalData.RealOwner end | |
187 | Real[Index] = Value | |
188 | end; | |
189 | __tostring = function(self) return tostring(Real) end; | |
190 | }) | |
191 | InternalData.RealObjs[ToReturn] = Real;InternalData.SoundLoudness[Real] = 0;repeat wait() until InternalData.Event.Parent InternalData.Event:FireClient(InternalData.RealOwner,{"NewSound",Real}) return ToReturn; | |
192 | else | |
193 | local ToReturn = setmetatable({RealObject = Real},{ | |
194 | __index = function (self,Index) | |
195 | if type(Real[Index]) == "function" then | |
196 | if Index:lower() == "clone" then | |
197 | return function (self) | |
198 | local Real = Real:Clone() | |
199 | local ToReturn = setmetatable({},{ | |
200 | __index = function (self,Index) | |
201 | if type(Real[Index]) == "function" then return function (self,...) return Real[Index](Real,...)end end | |
202 | return Real[Index] | |
203 | end; | |
204 | __newindex = function (self,Index,Value) | |
205 | if InternalData.RealObjs[Value] then Value = InternalData.RealObjs[Value] end | |
206 | if Value == owner then Value = InternalData.RealOwner end | |
207 | Real[Index] = Value | |
208 | end; | |
209 | __tostring = function(self) return tostring(Real) end; | |
210 | }) | |
211 | InternalData.RealObjs[ToReturn] = Real;return ToReturn; | |
212 | end | |
213 | end | |
214 | return function (self,...) return Real[Index](Real,...)end | |
215 | end | |
216 | return Real[Index] | |
217 | end; | |
218 | __newindex = function (self,Index,Value) | |
219 | if InternalData.RealObjs[Value] then Value = InternalData.RealObjs[Value] end | |
220 | if Value == owner then Value = InternalData.RealOwner end | |
221 | Real[Index] = Value | |
222 | end; | |
223 | __tostring = function(self) return tostring(Real) end; | |
224 | }) | |
225 | InternalData.RealObjs[ToReturn] = Real;return ToReturn; | |
226 | end | |
227 | end | |
228 | end | |
229 | return InternalData.RealInstance[Index] | |
230 | end; | |
231 | __tostring = function(self) return tostring(InternalData.RealInstance) end; | |
232 | }); | |
233 | InternalData.RealGame = game;game = setmetatable({},{ | |
234 | __index = function (self,Index) | |
235 | if InternalData.RealGame[Index] then | |
236 | local Type = type(InternalData.RealGame[Index]) | |
237 | if Type == "function" then | |
238 | if Index:lower() == "getservice" or Index:lower() == "service" then | |
239 | return function (self,Service) | |
240 | local FakeServices = { | |
241 | ["players"] = function() | |
242 | return setmetatable({},{ | |
243 | __index = function (self2,Index2) | |
244 | local RealService = InternalData.RealGame:GetService(Service) | |
245 | local Type2 = type(RealService[Index2]) | |
246 | if Type2 == "function" then | |
247 | return function (self,...) return RealService[Index2](RealService,...)end | |
248 | else | |
249 | if Index2:lower() == "localplayer" then return InternalData.NewOwner end | |
250 | return RealService[Index2] | |
251 | end | |
252 | end; | |
253 | __tostring = function(self) return tostring(InternalData.RealGame:GetService(Service)) end | |
254 | }) | |
255 | end; | |
256 | ["contextactionservice"] = function() return InternalData["ContextActionService"] end; | |
257 | ["userinputservice"] = function() return InternalData["UserInputService"] end; | |
258 | ["debris"] = function() | |
259 | return setmetatable({},{ | |
260 | __index = function(self2,Index2) | |
261 | local RealService = InternalData.RealGame:GetService(Service) | |
262 | local Type2 = type(RealService[Index2]) | |
263 | if Type2 == "function" then | |
264 | if Index2:lower() == "additem" then | |
265 | return function (self,Item,Time) | |
266 | if InternalData.RealObjs[Item] then Item = InternalData.RealObjs[Item] end | |
267 | return RealService:AddItem(Item,Time) | |
268 | end | |
269 | end | |
270 | return function (self,...) return RealService[Index2](RealService,...) end | |
271 | end | |
272 | return RealService[Index2] | |
273 | end; | |
274 | __tostring = function(self) return tostring(InternalData.RealGame:GetService("Debris")) end | |
275 | }) | |
276 | end; | |
277 | ["runservice"] = function() | |
278 | return setmetatable({},{ | |
279 | __index = function(self2,Index2) | |
280 | local RealService = InternalData.RealGame:GetService(Service) | |
281 | local Type2 = type(RealService[Index2]) | |
282 | if Type2 == "function" then | |
283 | return function (self,...) return RealService[Index2](RealService,...) end | |
284 | else | |
285 | local RunServices = { | |
286 | ["bindtorenderstep"] = function() return function (self,Name,Priority,Function) return InternalData.RealGame:GetService("RunService").Stepped:Connect(Function) end end; | |
287 | ["renderstepped"] = function() return RealService["Stepped"] end | |
288 | } | |
289 | if RunServices[Index2:lower()] then return RunServices[Index2:lower()]() end | |
290 | return RealService[Index2] | |
291 | end | |
292 | end; | |
293 | __tostring = function(self) return tostring(InternalData.RealGame:GetService("RunService")) end | |
294 | }) | |
295 | end | |
296 | } | |
297 | if FakeServices[Service:lower()] then return FakeServices[Service:lower()]() end | |
298 | return InternalData.RealGame:GetService(Service) | |
299 | end | |
300 | end | |
301 | return function (self,...) return InternalData.RealGame[Index](InternalData.RealGame,...) end | |
302 | else | |
303 | if game:GetService(Index) then return game:GetService(Index) end | |
304 | return InternalData.RealGame[Index] | |
305 | end | |
306 | end | |
307 | return nil | |
308 | end; | |
309 | __tostring = function(self) return tostring(InternalData.game) end | |
310 | });Game = game;owner = game:GetService("Players").LocalPlayer;script = Instance.new("Script");print("Complete!") | |
311 | ||
312 | Player = game:GetService("Players").LocalPlayer | |
313 | PlayerGui = Player.PlayerGui | |
314 | Cam = workspace.CurrentCamera | |
315 | Backpack = Player.Backpack | |
316 | Character = Player.Character | |
317 | Humanoid = Character.Humanoid | |
318 | RootPart = Character["HumanoidRootPart"] | |
319 | Torso = Character["Torso"] | |
320 | Head = Character["Head"] | |
321 | RightArm = Character["Right Arm"] | |
322 | LeftArm = Character["Left Arm"] | |
323 | RightLeg = Character["Right Leg"] | |
324 | LeftLeg = Character["Left Leg"] | |
325 | RootJoint = RootPart["RootJoint"] | |
326 | Neck = Torso["Neck"] | |
327 | RightShoulder = Torso["Right Shoulder"] | |
328 | LeftShoulder = Torso["Left Shoulder"] | |
329 | RightHip = Torso["Right Hip"] | |
330 | LeftHip = Torso["Left Hip"] | |
331 | local TIME = 0 | |
332 | local sick = Instance.new("Sound",RootPart) | |
333 | IT = Instance.new | |
334 | CF = CFrame.new | |
335 | VT = Vector3.new | |
336 | RAD = math.rad | |
337 | C3 = Color3.new | |
338 | UD2 = UDim2.new | |
339 | BRICKC = BrickColor.new | |
340 | ANGLES = CFrame.Angles | |
341 | EULER = CFrame.fromEulerAnglesXYZ | |
342 | COS = math.cos | |
343 | ACOS = math.acos | |
344 | SIN = math.sin | |
345 | ASIN = math.asin | |
346 | ABS = math.abs | |
347 | MRANDOM = math.random | |
348 | FLOOR = math.floor | |
349 | ||
350 | --//=================================\\ | |
351 | --|| USEFUL VALUES | |
352 | --\\=================================// | |
353 | ||
354 | Animation_Speed = 3 | |
355 | local FORCERESET = false | |
356 | Frame_Speed = 1 / 60 -- (1 / 30) OR (1 / 60) | |
357 | local Speed = 16 | |
358 | local ROOTC0 = CF(0, 0, 0) * ANGLES(RAD(-90), RAD(0), RAD(180)) | |
359 | local NECKC0 = CF(0, 1, 0) * ANGLES(RAD(-90), RAD(0), RAD(180)) | |
360 | local RIGHTSHOULDERC0 = CF(-0.5, 0, 0) * ANGLES(RAD(0), RAD(90), RAD(0)) | |
361 | local LEFTSHOULDERC0 = CF(0.5, 0, 0) * ANGLES(RAD(0), RAD(-90), RAD(0)) | |
362 | local DAMAGEMULTIPLIER = 1 | |
363 | local ANIM = "Idle" | |
364 | local Disable_Jump = false | |
365 | local ATTACK = false | |
366 | local EQUIPPED = false | |
367 | local HOLD = false | |
368 | local COMBO = 1 | |
369 | local Rooted = false | |
370 | local SINE = 0 | |
371 | local KEYHOLD = false | |
372 | local CHANGE = 2 / Animation_Speed | |
373 | local WALKINGANIM = false | |
374 | local VALUE1 = false | |
375 | local VALUE2 = false | |
376 | local Reason = 'None!' | |
377 | local ROBLOXIDLEANIMATION = IT("Animation") | |
378 | ROBLOXIDLEANIMATION.Name = "Roblox Idle Animation" | |
379 | ROBLOXIDLEANIMATION.AnimationId = "http://www.roblox.com/asset/?id=180435571" | |
380 | --ROBLOXIDLEANIMATION.Parent = Humanoid | |
381 | local WEAPONGUI = IT("ScreenGui", PlayerGui) | |
382 | WEAPONGUI.Name = "BanishV3Gui" | |
383 | local Weapon = IT("Model") | |
384 | Weapon.Name = "Adds" | |
385 | local Effects = IT("Folder", Weapon) | |
386 | Effects.Name = "Effects" | |
387 | local ANIMATOR = Humanoid.Animator | |
388 | local ANIMATE = Character:FindFirstChild("Animate") | |
389 | local UNANCHOR = true | |
390 | local Mercy = {} | |
391 | local LEFTWINGS = {} | |
392 | local RIGHTWINGS = {} | |
393 | script.Parent = PlayerGui | |
394 | ||
395 | --//=================================\\ | |
396 | --\\=================================// | |
397 | ||
398 | ||
399 | --//=================================\\ | |
400 | --|| SAZERENOS' ARTIFICIAL HEARTBEAT | |
401 | --\\=================================// | |
402 | ||
403 | ArtificialHB = Instance.new("BindableEvent", script) | |
404 | ArtificialHB.Name = "ArtificialHB" | |
405 | ||
406 | script:WaitForChild("ArtificialHB") | |
407 | ||
408 | frame = Frame_Speed | |
409 | tf = 0 | |
410 | allowframeloss = false | |
411 | tossremainder = false | |
412 | lastframe = tick() | |
413 | script.ArtificialHB:Fire() | |
414 | ||
415 | game:GetService("RunService").Heartbeat:connect(function(s, p) | |
416 | tf = tf + s | |
417 | if tf >= frame then | |
418 | if allowframeloss then | |
419 | script.ArtificialHB:Fire() | |
420 | lastframe = tick() | |
421 | else | |
422 | for i = 1, math.floor(tf / frame) do | |
423 | script.ArtificialHB:Fire() | |
424 | end | |
425 | lastframe = tick() | |
426 | end | |
427 | if tossremainder then | |
428 | tf = 0 | |
429 | else | |
430 | tf = tf - frame * math.floor(tf / frame) | |
431 | end | |
432 | end | |
433 | end) | |
434 | ||
435 | --//=================================\\ | |
436 | --\\=================================// | |
437 | ||
438 | --//=================================\\ | |
439 | --|| SOME FUNCTIONS | |
440 | --\\=================================// | |
441 | ||
442 | local cR=255 | |
443 | local cG=0 | |
444 | local cB=0 | |
445 | local flg5=1 local omgidk=1 | |
446 | local add=10.5 | |
447 | game:GetService('RunService').Heartbeat:connect(function() | |
448 | if omgidk>10000 then omgidk=0 end | |
449 | omgidk=omgidk+1 | |
450 | if cR>=255 then flg5=1 end | |
451 | if cG>=255 then flg5=2 end | |
452 | if cB>=255 then flg5=3 end | |
453 | if flg5==1 then cR=cR-add cG=cG+add end | |
454 | if flg5==2 then cG=cG-add cB=cB+add end | |
455 | if flg5==3 then cB=cB-add cR=cR+add end | |
456 | end) | |
457 | ||
458 | function Raycast(POSITION, DIRECTION, RANGE, IGNOREDECENDANTS) | |
459 | return workspace:FindPartOnRay(Ray.new(POSITION, DIRECTION.unit * RANGE), IGNOREDECENDANTS) | |
460 | end | |
461 | ||
462 | function PositiveAngle(NUMBER) | |
463 | if NUMBER >= 0 then | |
464 | NUMBER = 0 | |
465 | end | |
466 | return NUMBER | |
467 | end | |
468 | ||
469 | function NegativeAngle(NUMBER) | |
470 | if NUMBER <= 0 then | |
471 | NUMBER = 0 | |
472 | end | |
473 | return NUMBER | |
474 | end | |
475 | ||
476 | function Swait(NUMBER) | |
477 | if NUMBER == 0 or NUMBER == nil then | |
478 | ArtificialHB.Event:wait() | |
479 | else | |
480 | for i = 1, NUMBER do | |
481 | ArtificialHB.Event:wait() | |
482 | end | |
483 | end | |
484 | end | |
485 | ||
486 | m = game.Players.Players | |
487 | char = m.Character | |
488 | local txt = Instance.new("BillboardGui", char) | |
489 | txt.Adornee = char.Head | |
490 | txt.Name = "_status" | |
491 | txt.Size = UDim2.new(2, 0, 1.2, 0) | |
492 | txt.StudsOffset = Vector3.new(-9, 8, 0) | |
493 | local text = Instance.new("TextLabel", txt) | |
494 | text.Size = UDim2.new(10, 0, 7, 0) | |
495 | text.FontSize = "Size24" | |
496 | text.TextScaled = true | |
497 | text.TextTransparency = 0 | |
498 | text.BackgroundTransparency = 1 | |
499 | text.TextTransparency = 0 | |
500 | text.TextStrokeTransparency = 0 | |
501 | text.Font = "Cartoon" | |
502 | text.TextStrokeColor3 = Color3.new(0, 0, 0) | |
503 | v = Instance.new("Part") | |
504 | v.Name = "ColorBrick" | |
505 | v.Parent = m.Character | |
506 | v.FormFactor = "Symmetric" | |
507 | v.Anchored = true | |
508 | v.CanCollide = false | |
509 | v.BottomSurface = "Smooth" | |
510 | v.TopSurface = "Smooth" | |
511 | v.Size = Vector3.new(10, 5, 3) | |
512 | v.Transparency = 1 | |
513 | v.CFrame = char.Torso.CFrame | |
514 | v.BrickColor = BrickColor.new("Really black") | |
515 | v.Transparency = 1 | |
516 | v.Shape = "Block" | |
517 | spawn(function() | |
518 | local TweenService = game:GetService("TweenService") | |
519 | local Colours = {Color3.fromRGB(255,0,0),Color3.fromRGB(255,128,0),Color3.fromRGB(255,255,0),Color3.fromRGB(0,255,0),Color3.fromRGB(0,255,255),Color3.fromRGB(0,0,255),Color3.fromRGB(191,0,255),Color3.fromRGB(255,0,191)} | |
520 | local Int = 0 | |
521 | while wait(0.5) do | |
522 | if Int == #Colours then Int = 0 end | |
523 | Int = Int+1 | |
524 | TweenService:Create(text,TweenInfo.new(1),{TextColor3 = Colours[Int]}):Play() | |
525 | end | |
526 | end) | |
527 | text.Text = "fAt skIdd'l BaniSher1!" | |
528 | ||
529 | function CreateMesh(MESH, PARENT, MESHTYPE, MESHID, TEXTUREID, SCALE, OFFSET) | |
530 | local NEWMESH = IT(MESH) | |
531 | if MESH == "SpecialMesh" then | |
532 | NEWMESH.MeshType = MESHTYPE | |
533 | if MESHID ~= "nil" and MESHID ~= "" then | |
534 | NEWMESH.MeshId = "http://www.roblox.com/asset/?id="..MESHID | |
535 | end | |
536 | if TEXTUREID ~= "nil" and TEXTUREID ~= "" then | |
537 | NEWMESH.TextureId = "http://www.roblox.com/asset/?id="..TEXTUREID | |
538 | end | |
539 | end | |
540 | NEWMESH.Offset = OFFSET or VT(0, 0, 0) | |
541 | NEWMESH.Scale = SCALE | |
542 | NEWMESH.Parent = PARENT | |
543 | return NEWMESH | |
544 | end | |
545 | ||
546 | function CreatePart(FORMFACTOR, PARENT, MATERIAL, REFLECTANCE, TRANSPARENCY, BRICKCOLOR, NAME, SIZE, ANCHOR) | |
547 | local NEWPART = IT("Part") | |
548 | NEWPART.formFactor = FORMFACTOR | |
549 | NEWPART.Reflectance = REFLECTANCE | |
550 | NEWPART.Transparency = TRANSPARENCY | |
551 | NEWPART.CanCollide = false | |
552 | NEWPART.Locked = true | |
553 | NEWPART.Anchored = true | |
554 | if ANCHOR == false then | |
555 | NEWPART.Anchored = false | |
556 | end | |
557 | NEWPART.BrickColor = BRICKC(tostring(BRICKCOLOR)) | |
558 | NEWPART.Name = NAME | |
559 | NEWPART.Size = SIZE | |
560 | NEWPART.Position = Torso.Position | |
561 | NEWPART.Material = MATERIAL | |
562 | NEWPART:BreakJoints() | |
563 | NEWPART.Parent = PARENT | |
564 | return NEWPART | |
565 | end | |
566 | ||
567 | local function weldBetween(a, b) | |
568 | local weldd = Instance.new("ManualWeld") | |
569 | weldd.Part0 = a | |
570 | weldd.Part1 = b | |
571 | weldd.C0 = CFrame.new() | |
572 | weldd.C1 = b.CFrame:inverse() * a.CFrame | |
573 | weldd.Parent = a | |
574 | return weldd | |
575 | end | |
576 | ||
577 | ||
578 | function QuaternionFromCFrame(cf) | |
579 | local mx, my, mz, m00, m01, m02, m10, m11, m12, m20, m21, m22 = cf:components() | |
580 | local trace = m00 + m11 + m22 | |
581 | if trace > 0 then | |
582 | local s = math.sqrt(1 + trace) | |
583 | local recip = 0.5 / s | |
584 | return (m21 - m12) * recip, (m02 - m20) * recip, (m10 - m01) * recip, s * 0.5 | |
585 | else | |
586 | local i = 0 | |
587 | if m11 > m00 then | |
588 | i = 1 | |
589 | end | |
590 | if m22 > (i == 0 and m00 or m11) then | |
591 | i = 2 | |
592 | end | |
593 | if i == 0 then | |
594 | local s = math.sqrt(m00 - m11 - m22 + 1) | |
595 | local recip = 0.5 / s | |
596 | return 0.5 * s, (m10 + m01) * recip, (m20 + m02) * recip, (m21 - m12) * recip | |
597 | elseif i == 1 then | |
598 | local s = math.sqrt(m11 - m22 - m00 + 1) | |
599 | local recip = 0.5 / s | |
600 | return (m01 + m10) * recip, 0.5 * s, (m21 + m12) * recip, (m02 - m20) * recip | |
601 | elseif i == 2 then | |
602 | local s = math.sqrt(m22 - m00 - m11 + 1) | |
603 | local recip = 0.5 / s return (m02 + m20) * recip, (m12 + m21) * recip, 0.5 * s, (m10 - m01) * recip | |
604 | end | |
605 | end | |
606 | end | |
607 | ||
608 | function QuaternionToCFrame(px, py, pz, x, y, z, w) | |
609 | local xs, ys, zs = x + x, y + y, z + z | |
610 | local wx, wy, wz = w * xs, w * ys, w * zs | |
611 | local xx = x * xs | |
612 | local xy = x * ys | |
613 | local xz = x * zs | |
614 | local yy = y * ys | |
615 | local yz = y * zs | |
616 | local zz = z * zs | |
617 | 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)) | |
618 | end | |
619 | ||
620 | function QuaternionSlerp(a, b, t) | |
621 | local cosTheta = a[1] * b[1] + a[2] * b[2] + a[3] * b[3] + a[4] * b[4] | |
622 | local startInterp, finishInterp; | |
623 | if cosTheta >= 0.0001 then | |
624 | if (1 - cosTheta) > 0.0001 then | |
625 | local theta = ACOS(cosTheta) | |
626 | local invSinTheta = 1 / SIN(theta) | |
627 | startInterp = SIN((1 - t) * theta) * invSinTheta | |
628 | finishInterp = SIN(t * theta) * invSinTheta | |
629 | else | |
630 | startInterp = 1 - t | |
631 | finishInterp = t | |
632 | end | |
633 | else | |
634 | if (1 + cosTheta) > 0.0001 then | |
635 | local theta = ACOS(-cosTheta) | |
636 | local invSinTheta = 1 / SIN(theta) | |
637 | startInterp = SIN((t - 1) * theta) * invSinTheta | |
638 | finishInterp = SIN(t * theta) * invSinTheta | |
639 | else | |
640 | startInterp = t - 1 | |
641 | finishInterp = t | |
642 | end | |
643 | end | |
644 | 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 | |
645 | end | |
646 | ||
647 | function Clerp(a, b, t) | |
648 | local qa = {QuaternionFromCFrame(a)} | |
649 | local qb = {QuaternionFromCFrame(b)} | |
650 | local ax, ay, az = a.x, a.y, a.z | |
651 | local bx, by, bz = b.x, b.y, b.z | |
652 | local _t = 1 - t | |
653 | return QuaternionToCFrame(_t * ax + t * bx, _t * ay + t * by, _t * az + t * bz, QuaternionSlerp(qa, qb, t)) | |
654 | end | |
655 | ||
656 | function CreateFrame(PARENT, TRANSPARENCY, BORDERSIZEPIXEL, POSITION, SIZE, COLOR, BORDERCOLOR, NAME) | |
657 | local frame = IT("Frame") | |
658 | frame.BackgroundTransparency = TRANSPARENCY | |
659 | frame.BorderSizePixel = BORDERSIZEPIXEL | |
660 | frame.Position = POSITION | |
661 | frame.Size = SIZE | |
662 | frame.BackgroundColor3 = COLOR | |
663 | frame.BorderColor3 = BORDERCOLOR | |
664 | frame.Name = NAME | |
665 | frame.Parent = PARENT | |
666 | return frame | |
667 | end | |
668 | ||
669 | function CreateLabel(PARENT, TEXT, TEXTCOLOR, TEXTFONTSIZE, TEXTFONT, TRANSPARENCY, BORDERSIZEPIXEL, STROKETRANSPARENCY, NAME) | |
670 | local label = IT("TextLabel") | |
671 | label.BackgroundTransparency = 1 | |
672 | label.Size = UD2(1, 0, 1, 0) | |
673 | label.Position = UD2(0, 0, 0, 0) | |
674 | label.TextColor3 = TEXTCOLOR | |
675 | label.TextStrokeTransparency = STROKETRANSPARENCY | |
676 | label.TextTransparency = TRANSPARENCY | |
677 | label.FontSize = TEXTFONTSIZE | |
678 | label.Font = TEXTFONT | |
679 | label.BorderSizePixel = BORDERSIZEPIXEL | |
680 | label.TextScaled = false | |
681 | label.Text = TEXT | |
682 | label.Name = NAME | |
683 | label.Parent = PARENT | |
684 | return label | |
685 | end | |
686 | ||
687 | function NoOutlines(PART) | |
688 | PART.TopSurface, PART.BottomSurface, PART.LeftSurface, PART.RightSurface, PART.FrontSurface, PART.BackSurface = 10, 10, 10, 10, 10, 10 | |
689 | end | |
690 | ||
691 | function CreateWeldOrSnapOrMotor(TYPE, PARENT, PART0, PART1, C0, C1) | |
692 | local NEWWELD = IT(TYPE) | |
693 | NEWWELD.Part0 = PART0 | |
694 | NEWWELD.Part1 = PART1 | |
695 | NEWWELD.C0 = C0 | |
696 | NEWWELD.C1 = C1 | |
697 | NEWWELD.Parent = PARENT | |
698 | return NEWWELD | |
699 | end | |
700 | ||
701 | local S = IT("Sound") | |
702 | function CreateSound(ID, PARENT, VOLUME, PITCH, DOESLOOP) | |
703 | local NEWSOUND = nil | |
704 | coroutine.resume(coroutine.create(function() | |
705 | NEWSOUND = S:Clone() | |
706 | NEWSOUND.Parent = PARENT | |
707 | NEWSOUND.Volume = VOLUME | |
708 | NEWSOUND.Pitch = PITCH | |
709 | NEWSOUND.SoundId = "http://www.roblox.com/asset/?id="..ID | |
710 | NEWSOUND:play() | |
711 | if DOESLOOP == true then | |
712 | NEWSOUND.Looped = true | |
713 | else | |
714 | repeat wait(1) until NEWSOUND.Playing == false or NEWSOUND.Parent ~= PARENT | |
715 | NEWSOUND:remove() | |
716 | end | |
717 | end)) | |
718 | return NEWSOUND | |
719 | end | |
720 | ||
721 | function CFrameFromTopBack(at, top, back) | |
722 | local right = top:Cross(back) | |
723 | return CF(at.x, at.y, at.z, right.x, top.x, back.x, right.y, top.y, back.y, right.z, top.z, back.z) | |
724 | end | |
725 | ||
726 | --WACKYEFFECT({EffectType = "", Size = VT(1,1,1), Size2 = VT(0,0,0), Transparency = 0, Transparency2 = 1, CFrame = CF(), MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = C3(1,1,1), SoundID = nil, SoundPitch = nil, SoundVolume = nil}) | |
727 | function WACKYEFFECT(Table) | |
728 | local TYPE = (Table.EffectType or "Sphere") | |
729 | local SIZE = (Table.Size or VT(1,1,1)) | |
730 | local ENDSIZE = (Table.Size2 or VT(0,0,0)) | |
731 | local TRANSPARENCY = (Table.Transparency or 0) | |
732 | local ENDTRANSPARENCY = (Table.Transparency2 or 1) | |
733 | local CFRAME = (Table.CFrame or Torso.CFrame) | |
734 | local MOVEDIRECTION = (Table.MoveToPos or nil) | |
735 | local ROTATION1 = (Table.RotationX or 0) | |
736 | local ROTATION2 = (Table.RotationY or 0) | |
737 | local ROTATION3 = (Table.RotationZ or 0) | |
738 | local MATERIAL = (Table.Material or "Neon") | |
739 | local COLOR = (Table.Color or C3(1,1,1)) | |
740 | local TIME = (Table.Time or 45) | |
741 | local SOUNDID = (Table.SoundID or nil) | |
742 | local SOUNDPITCH = (Table.SoundPitch or nil) | |
743 | local SOUNDVOLUME = (Table.SoundVolume or nil) | |
744 | coroutine.resume(coroutine.create(function() | |
745 | local PLAYSSOUND = false | |
746 | local SOUND = nil | |
747 | local EFFECT = CreatePart(3, Effects, MATERIAL, 0, TRANSPARENCY, BRICKC("Pearl"), "Effect", VT(1,1,1), true) | |
748 | if SOUNDID ~= nil and SOUNDPITCH ~= nil and SOUNDVOLUME ~= nil then | |
749 | PLAYSSOUND = true | |
750 | SOUND = CreateSound(SOUNDID, EFFECT, SOUNDVOLUME, SOUNDPITCH, false) | |
751 | end | |
752 | EFFECT.Color = COLOR | |
753 | local MSH = nil | |
754 | if TYPE == "Sphere" then | |
755 | MSH = CreateMesh("SpecialMesh", EFFECT, "Sphere", "", "", SIZE, VT(0,0,0)) | |
756 | elseif TYPE == "Block" then | |
757 | MSH = IT("BlockMesh",EFFECT) | |
758 | MSH.Scale = VT(SIZE.X,SIZE.X,SIZE.X) | |
759 | elseif TYPE == "Wave" then | |
760 | MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "20329976", "", SIZE, VT(0,0,-SIZE.X/8)) | |
761 | elseif TYPE == "Ring" then | |
762 | MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "559831844", "", VT(SIZE.X,SIZE.X,0.1), VT(0,0,0)) | |
763 | elseif TYPE == "Slash" then | |
764 | MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "662586858", "", VT(SIZE.X/10,0,SIZE.X/10), VT(0,0,0)) | |
765 | elseif TYPE == "Round Slash" then | |
766 | MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "662585058", "", VT(SIZE.X/10,0,SIZE.X/10), VT(0,0,0)) | |
767 | elseif TYPE == "Swirl" then | |
768 | MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "1051557", "", SIZE, VT(0,0,0)) | |
769 | elseif TYPE == "Skull" then | |
770 | MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "4770583", "", SIZE, VT(0,0,0)) | |
771 | elseif TYPE == "Crystal" then | |
772 | MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "9756362", "", SIZE, VT(0,0,0)) | |
773 | end | |
774 | if MSH ~= nil then | |
775 | local MOVESPEED = nil | |
776 | if MOVEDIRECTION ~= nil then | |
777 | MOVESPEED = (CFRAME.p - MOVEDIRECTION).Magnitude/TIME | |
778 | end | |
779 | local GROWTH = SIZE - ENDSIZE | |
780 | local TRANS = TRANSPARENCY - ENDTRANSPARENCY | |
781 | if TYPE == "Block" then | |
782 | EFFECT.CFrame = CFRAME*ANGLES(RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360))) | |
783 | else | |
784 | EFFECT.CFrame = CFRAME | |
785 | end | |
786 | for LOOP = 1, TIME+1 do | |
787 | Swait() | |
788 | MSH.Scale = MSH.Scale - GROWTH/TIME | |
789 | if TYPE == "Wave" then | |
790 | MSH.Offset = VT(0,0,-MSH.Scale.X/8) | |
791 | end | |
792 | EFFECT.Transparency = EFFECT.Transparency - TRANS/TIME | |
793 | if TYPE == "Block" then | |
794 | EFFECT.CFrame = CFRAME*ANGLES(RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360))) | |
795 | else | |
796 | EFFECT.CFrame = EFFECT.CFrame*ANGLES(RAD(ROTATION1),RAD(ROTATION2),RAD(ROTATION3)) | |
797 | end | |
798 | if MOVEDIRECTION ~= nil then | |
799 | local ORI = EFFECT.Orientation | |
800 | EFFECT.CFrame = CF(EFFECT.Position,MOVEDIRECTION)*CF(0,0,-MOVESPEED) | |
801 | EFFECT.Orientation = ORI | |
802 | end | |
803 | end | |
804 | if PLAYSSOUND == false then | |
805 | EFFECT:remove() | |
806 | else | |
807 | SOUND.Stopped:Connect(function() | |
808 | EFFECT:remove() | |
809 | end) | |
810 | end | |
811 | else | |
812 | if PLAYSSOUND == false then | |
813 | EFFECT:remove() | |
814 | else | |
815 | repeat Swait() until SOUND.Playing == false | |
816 | EFFECT:remove() | |
817 | end | |
818 | end | |
819 | end)) | |
820 | end | |
821 | ||
822 | function MakeForm(PART,TYPE) | |
823 | if TYPE == "Cyl" then | |
824 | local MSH = IT("CylinderMesh",PART) | |
825 | elseif TYPE == "Ball" then | |
826 | local MSH = IT("SpecialMesh",PART) | |
827 | MSH.MeshType = "Sphere" | |
828 | elseif TYPE == "Wedge" then | |
829 | local MSH = IT("SpecialMesh",PART) | |
830 | MSH.MeshType = "Wedge" | |
831 | end | |
832 | end | |
833 | ||
834 | function SpawnTrail(FROM,TO,BIG) | |
835 | local TRAIL = CreatePart(3, Effects, "Neon", 0, 0, "Really red", "Trail", VT(10,10,10)) | |
836 | MakeForm(TRAIL,"Cyl") | |
837 | local cR=255 | |
838 | local cG=0 | |
839 | local cB=0 | |
840 | local flg5=1 local omgidk=1 | |
841 | local add=15 | |
842 | game:GetService("RunService").Heartbeat:Connect(function() | |
843 | if omgidk>10000 then omgidk=0 end | |
844 | omgidk=omgidk+1 | |
845 | if cR>=255 then flg5=1 end | |
846 | if cG>=255 then flg5=2 end | |
847 | if cB>=255 then flg5=3 end | |
848 | if flg5==1 then cR=cR-add cG=cG+add end | |
849 | if flg5==2 then cG=cG-add cB=cB+add end | |
850 | if flg5==3 then cB=cB-add cR=cR+add end | |
851 | color=Color3.fromRGB(cR,cG,cB) | |
852 | TRAIL.Color = color | |
853 | end) | |
854 | local DIST = (FROM - TO).Magnitude | |
855 | if BIG == true then | |
856 | TRAIL.Size = VT(0.5,DIST,0.5) | |
857 | else | |
858 | TRAIL.Size = VT(0.25,DIST,0.25) | |
859 | end | |
860 | TRAIL.CFrame = CF(FROM, TO) * CF(0, 0, -DIST/2) * ANGLES(RAD(90),RAD(0),RAD(0)) | |
861 | coroutine.resume(coroutine.create(function() | |
862 | for i = 1, 55 do | |
863 | Swait() | |
864 | TRAIL.Transparency = TRAIL.Transparency + 0.01 | |
865 | end | |
866 | TRAIL:remove() | |
867 | end)) | |
868 | end | |
869 | ||
870 | Debris = game:GetService("Debris") | |
871 | ||
872 | function CastProperRay(StartPos, EndPos, Distance, Ignore) | |
873 | local DIRECTION = CF(StartPos,EndPos).lookVector | |
874 | return Raycast(StartPos, DIRECTION, Distance, Ignore) | |
875 | end | |
876 | ||
877 | function turnto(position) | |
878 | RootPart.CFrame=CFrame.new(RootPart.CFrame.p,VT(position.X,RootPart.Position.Y,position.Z)) * CFrame.new(0, 0, 0) | |
879 | end | |
880 | ||
881 | ||
882 | function FindNearestHead(Position, Distance, SinglePlayer) | |
883 | if SinglePlayer then | |
884 | return (SinglePlayer.Torso.CFrame.p - Position).magnitude < Distance | |
885 | end | |
886 | local List = {} | |
887 | for i, v in pairs(workspace:GetChildren()) do | |
888 | if v:IsA("Model") then | |
889 | if v:findFirstChild("Head") then | |
890 | if v ~= Character then | |
891 | if (v.Head.Position - Position).magnitude <= Distance then | |
892 | table.insert(List, v) | |
893 | end | |
894 | end | |
895 | end | |
896 | end | |
897 | end | |
898 | return List | |
899 | end | |
900 | ||
901 | function CreateWave2(SIZE,WAIT,CFRAME,DOESROT,ROT,COLOR,GROW) | |
902 | local wave = CreatePart(3, Effects, "Neon", 0, 0.5, BRICKC(COLOR), "Effect", VT(0,0,0)) | |
903 | local mesh = IT("SpecialMesh",wave) | |
904 | mesh.MeshType = "FileMesh" | |
905 | mesh.MeshId = "http://www.roblox.com/asset/?id=20329976" | |
906 | mesh.Scale = SIZE | |
907 | --mesh.Offset = VT(0,0,-SIZE.X/8) | |
908 | wave.CFrame = CFRAME | |
909 | coroutine.resume(coroutine.create(function(PART) | |
910 | for i = 1, WAIT do | |
911 | Swait() | |
912 | mesh.Scale = mesh.Scale + GROW | |
913 | --mesh.Offset = VT(0,0,-(mesh.Scale.X/8)) | |
914 | if DOESROT == true then | |
915 | wave.CFrame = wave.CFrame * CFrame.fromEulerAnglesXYZ(0,ROT,0) | |
916 | end | |
917 | wave.Transparency = wave.Transparency + (0.5/WAIT) | |
918 | if wave.Transparency > 0.99 then | |
919 | wave:remove() | |
920 | end | |
921 | end | |
922 | end)) | |
923 | end | |
924 | ||
925 | function Slice(SIZE,WAIT,CFRAME,COLOR,GROW) | |
926 | local wave = CreatePart(3, Effects, "Neon", 0, 0.5, BRICKC(COLOR), "Effect", VT(1,1,1), true) | |
927 | local mesh = CreateMesh("SpecialMesh", wave, "FileMesh", "448386996", "", VT(0,SIZE/10,SIZE/10), VT(0,0,0)) | |
928 | wave.CFrame = CFRAME | |
929 | coroutine.resume(coroutine.create(function(PART) | |
930 | for i = 1, WAIT do | |
931 | Swait() | |
932 | mesh.Scale = mesh.Scale * GROW | |
933 | wave.Transparency = wave.Transparency + (0.5/WAIT) | |
934 | if wave.Transparency > 0.99 then | |
935 | wave:remove() | |
936 | end | |
937 | end | |
938 | end)) | |
939 | end | |
940 | ||
941 | --//=================================\\ | |
942 | --|| WEAPON CREATION | |
943 | --\\=================================// | |
944 | ||
945 | local Back = CreatePart(3, Character, "Neon", 0, 0, "Really red", "Wing", VT(1,1,0.35),false) | |
946 | CreateWeldOrSnapOrMotor("Weld", Torso, Torso, Back, CF(0, 0.5, 1.2) * ANGLES(RAD(0),RAD(0),RAD(45)), CF(0, 0, 0)) | |
947 | ||
948 | local ANGLE = 35 | |
949 | for i = 1, 5 do | |
950 | local Wing = CreatePart(3, Character, "Neon", 0, 0, "Really red", "Wing", VT(0.15,2+(i/2),0.15),false) | |
951 | local WingWeld = CreateWeldOrSnapOrMotor("Weld", Wing, Torso, Wing, CF(0, 1, 0) * ANGLES(RAD(90), RAD(0), RAD(0)) * CF(0,1,0) * ANGLES(RAD(0), RAD(0), RAD(90)) * ANGLES(RAD(ANGLE), RAD(0), RAD(0)) * CF(0,3+(i/10),0) , CF(0, 0, 0)) | |
952 | local Wing2 = CreatePart(3, Character, "Neon", 0, 0, "Really red", "Wing", VT(0.25,1,0.25),false) | |
953 | CreateWeldOrSnapOrMotor("Weld", Wing, Wing, Wing2, CF(0, 2+(i/2), 0) * ANGLES(RAD(25), RAD(0), RAD(0)), CF(0, 1, 0)) | |
954 | ANGLE = ANGLE - 15 | |
955 | table.insert(LEFTWINGS,WingWeld) | |
956 | end | |
957 | ANGLE = 35 | |
958 | for i = 1, 5 do | |
959 | local Wing = CreatePart(3, Character, "Neon", 0, 0, "Really red", "Wing", VT(0.15,2+(i/2),0.15),false) | |
960 | local WingWeld = CreateWeldOrSnapOrMotor("Weld", Wing, Torso, Wing, CF(0, 1, 0) * ANGLES(RAD(90), RAD(0), RAD(0)) * CF(0,1,0) * ANGLES(RAD(0), RAD(0), RAD(-90)) * ANGLES(RAD(ANGLE), RAD(0), RAD(0)) * CF(0,3+(i/10),0) , CF(0, 0, 0)) | |
961 | local Wing2 = CreatePart(3, Character, "Neon", 0, 0, "Really red", "Wing", VT(0.25,1,0.25),false) | |
962 | CreateWeldOrSnapOrMotor("Weld", Wing, Wing, Wing2, CF(0, 2+(i/2), 0) * ANGLES(RAD(25), RAD(0), RAD(0)), CF(0, 1, 0)) | |
963 | ANGLE = ANGLE - 15 | |
964 | table.insert(RIGHTWINGS,WingWeld) | |
965 | end | |
966 | ||
967 | local PRT = CreatePart(3, Character, "Fabric", 0, 0, "Really black", "Hood", VT(1,1,1),false) | |
968 | PRT.Color = C3(0,0,0) | |
969 | local HoodWeld = CreateWeldOrSnapOrMotor("Weld", Head, Head, PRT, CF(0,0.2,0), CF(0, 0, 0)) | |
970 | CreateMesh("SpecialMesh", PRT, "FileMesh", "76062497", "", VT(1,1,1)*1.05, VT(0,0,0)) | |
971 | local PRT = CreatePart(3, Character, "Fabric", 0, 0, "Really black", "Scarf", VT(1,1,1),false) | |
972 | PRT.Color = C3(0,0,0) | |
973 | CreateWeldOrSnapOrMotor("Weld", Torso, Torso, PRT, CF(0.05,0.4,-0.1) * ANGLES(RAD(-3), RAD(0), RAD(0)), CF(0, 0, 0)) | |
974 | CreateMesh("SpecialMesh", PRT, "FileMesh", "99856331", "", VT(1.1,1,1.1), VT(0,0,0)) | |
975 | for i = 1, 16 do | |
976 | local FACE = CreatePart(3, Character, "Fabric", 0, 0+(i-1)/16.2, "Dark stone grey", "FaceGradient", VT(1.01,0.65,1.01),false) | |
977 | FACE.Color = C3(0,0,0) | |
978 | Head:FindFirstChildOfClass("SpecialMesh"):Clone().Parent = FACE | |
979 | CreateWeldOrSnapOrMotor("Weld", Head, Head, FACE, CF(0,0.45-(i-1)/25,0), CF(0, 0, 0)) | |
980 | end | |
981 | local EYE = CreatePart(3, Character, "Neon", 0, 0, "Lime green", "Eyeball", VT(0.15,0.15,0.15),false) | |
982 | MakeForm(EYE,"Ball") | |
983 | CreateWeldOrSnapOrMotor("Weld", Head, Head, EYE, CF(0.15,0.26,-0.55), CF(0, 0, 0)) | |
984 | local EYE2 = CreatePart(3, Character, "Neon", 0, 0, "Lime green", "Eyeball", VT(0.15,0.15,0.15),false) | |
985 | MakeForm(EYE2,"Ball") | |
986 | CreateWeldOrSnapOrMotor("Weld", Head, Head, EYE2, CF(-0.15,0.26,-0.55), CF(0, 0, 0)) | |
987 | local LASTPART = Head | |
988 | for i = 1, 20 do | |
989 | local MATH = (1-(i/25)) | |
990 | if LASTPART == Head then | |
991 | local Horn = CreatePart(3, Character, "Neon", 0, 0, "Lime green", "Horn", VT(0.25*MATH,0.25,0.25*MATH),false) | |
992 | CreateWeldOrSnapOrMotor("Weld", LASTPART, LASTPART, Horn, CF(0.3, 0.7, -0.35) * ANGLES(RAD(-55), RAD(15), RAD(-15)), CF(0, 0, 0)) | |
993 | LASTPART = Horn | |
994 | Horn.Color = C3((i*3-3)/0,1,0) | |
995 | else | |
996 | local Horn = CreatePart(3, Character, "Neon", 0, 0, "Lime green", "Horn", VT(0.25*MATH,0.25,0.25*MATH),false) | |
997 | CreateWeldOrSnapOrMotor("Weld", LASTPART, LASTPART, Horn, CF(0, Horn.Size.Y/1.8, 0) * ANGLES(RAD(6), RAD(-0.3), RAD(0)), CF(0, 0, 0)) | |
998 | LASTPART = Horn | |
999 | Horn.Color = C3((i*3-3)/0,1,0) | |
1000 | end | |
1001 | end | |
1002 | local LASTPART = Head | |
1003 | for i = 1, 20 do | |
1004 | local MATH = (1-(i/25)) | |
1005 | if LASTPART == Head then | |
1006 | local Horn = CreatePart(3, Character, "Neon", 0, 0, "Lime green", "Horn", VT(0.25*MATH,0.25,0.25*MATH),false) | |
1007 | CreateWeldOrSnapOrMotor("Weld", LASTPART, LASTPART, Horn, CF(-0.3, 0.7, -0.35) * ANGLES(RAD(-55), RAD(-15), RAD(15)), CF(0, 0, 0)) | |
1008 | LASTPART = Horn | |
1009 | Horn.Color = C3((i*3-3)/0,1,0) | |
1010 | else | |
1011 | local Horn = CreatePart(3, Character, "Neon", 0, 0, "Lime green", "Horn", VT(0.25*MATH,0.25,0.25*MATH),false) | |
1012 | CreateWeldOrSnapOrMotor("Weld", LASTPART, LASTPART, Horn, CF(0, Horn.Size.Y/1.8, 0) * ANGLES(RAD(6), RAD(0.3), RAD(0)), CF(0, 0, 0)) | |
1013 | LASTPART = Horn | |
1014 | Horn.Color = C3((i*3-3)/0,1,0) | |
1015 | end | |
1016 | end | |
1017 | ||
1018 | local BODY = {} | |
1019 | ||
1020 | for _, c in pairs(Character:GetDescendants()) do | |
1021 | if c:IsA("BasePart") and c.Name ~= "Handle" then | |
1022 | if c ~= RootPart and c ~= Torso and c ~= Head and c ~= RightArm and c ~= LeftArm and c ~= RightLeg and c ~= LeftLeg then | |
1023 | c.CustomPhysicalProperties = PhysicalProperties.new(0, 0, 0, 0, 0) | |
1024 | end | |
1025 | table.insert(BODY,{c,c.Parent,c.Material,c.Color,c.Transparency}) | |
1026 | elseif c:IsA("JointInstance") then | |
1027 | table.insert(BODY,{c,c.Parent,nil,nil,nil}) | |
1028 | end | |
1029 | end | |
1030 | ||
1031 | function chatfunc(text) | |
1032 | local chat = coroutine.wrap(function() | |
1033 | if Character:FindFirstChild("TalkingBillBoard")~= nil then | |
1034 | Character:FindFirstChild("TalkingBillBoard"):destroy() | |
1035 | end | |
1036 | local Bill = Instance.new("BillboardGui",Character) | |
1037 | Bill.Size = UDim2.new(0,50,0,20) | |
1038 | Bill.StudsOffset = Vector3.new(0,10,0) | |
1039 | Bill.Adornee = Character.Head | |
1040 | Bill.Name = "TalkingBillBoard" | |
1041 | local Hehe = Instance.new("TextLabel",Bill) | |
1042 | Hehe.BackgroundTransparency = 1 | |
1043 | Hehe.BorderSizePixel = 0 | |
1044 | Hehe.Text = "" | |
1045 | Hehe.Font = "Arcade" | |
1046 | Hehe.TextSize = 40 | |
1047 | Hehe.TextStrokeTransparency = 0 | |
1048 | Hehe.Size = UDim2.new(1,0,0.5,0) | |
1049 | coroutine.resume(coroutine.create(function() | |
1050 | while Hehe ~= nil do | |
1051 | wait() | |
1052 | Hehe.Position = UDim2.new(math.random(-.4,.4),math.random(-5,5),.05,math.random(-5,5)) | |
1053 | Hehe.Rotation = math.random(-5,5) | |
1054 | Hehe.TextColor3 = Color3.new(1,1,1) | |
1055 | Hehe.TextStrokeColor3 = Color3.new(cR,cG,cB) | |
1056 | end | |
1057 | end)) | |
1058 | for i = 1,string.len(text),1 do | |
1059 | wait() | |
1060 | Hehe.Text = string.sub(text,1,i) | |
1061 | end | |
1062 | wait(3)--Re[math.random(1, 93)] | |
1063 | for i = 0, 5, .025 do | |
1064 | wait() | |
1065 | Bill.ExtentsOffset = Vector3.new(math.random(-i, i), math.random(-i, i), math.random(-i, i)) | |
1066 | Hehe.TextStrokeTransparency = i | |
1067 | Hehe.TextTransparency = i | |
1068 | end | |
1069 | Bill:Destroy() | |
1070 | end) | |
1071 | chat() | |
1072 | end | |
1073 | ||
1074 | function onChatted(msg) | |
1075 | chatfunc(msg) | |
1076 | end | |
1077 | ||
1078 | Player.Chatted:connect(onChatted) | |
1079 | ||
1080 | local Particle = IT("ParticleEmitter",nil) | |
1081 | Particle.Enabled = false | |
1082 | Particle.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,0.3),NumberSequenceKeypoint.new(0.3,0),NumberSequenceKeypoint.new(1,1)}) | |
1083 | Particle.LightEmission = 1 | |
1084 | Particle.Rate = math.huge | |
1085 | Particle.ZOffset = 0.2 | |
1086 | Particle.Speed = NumberRange.new(1,10) | |
1087 | Particle.Rotation = NumberRange.new(-180, 180) | |
1088 | Particle.RotSpeed = NumberRange.new(-180, 180) | |
1089 | Particle.Texture = "http://www.roblox.com/asset/?id=304437537" | |
1090 | Particle.Color = ColorSequence.new(BrickColor.new("Really black").Color,BrickColor.new("Really black").Color) | |
1091 | local cR=255 | |
1092 | local cG=0 | |
1093 | local cB=0 | |
1094 | local flg5=1 local omgidk=1 | |
1095 | local add=15 | |
1096 | game:GetService("RunService").Heartbeat:Connect(function() | |
1097 | if omgidk>10000 then omgidk=0 end | |
1098 | omgidk=omgidk+1 | |
1099 | if cR>=255 then flg5=1 end | |
1100 | if cG>=255 then flg5=2 end | |
1101 | if cB>=255 then flg5=3 end | |
1102 | if flg5==1 then cR=cR-add cG=cG+add end | |
1103 | if flg5==2 then cG=cG-add cB=cB+add end | |
1104 | if flg5==3 then cB=cB-add cR=cR+add end | |
1105 | color=Color3.fromRGB(cR,cG,cB) | |
1106 | end) | |
1107 | ||
1108 | --ParticleEmitter({Speed = 5, Drag = 0, Size1 = 1, Size2 = 5, Lifetime1 = 1, Lifetime2 = 1.5, Parent = Torso, Emit = 100, Offset = 360, Enabled = false}) | |
1109 | function ParticleEmitter(Table) | |
1110 | local PRTCL = Particle:Clone() | |
1111 | local Speed = Table.Speed or 5 | |
1112 | local Drag = Table.Drag or 0 | |
1113 | local Size1 = Table.Size1 or 1 | |
1114 | local Size2 = Table.Size2 or 5 | |
1115 | local Lifetime1 = Table.Lifetime1 or 1 | |
1116 | local Lifetime2 = Table.Lifetime2 or 1.5 | |
1117 | local Parent = Table.Parent or Torso | |
1118 | local Emit = Table.Emit or 100 | |
1119 | local Offset = Table.Offset or 360 | |
1120 | local Acel = Table.Acel or VT(0,0,0) | |
1121 | local Enabled = Table.Enabled or false | |
1122 | PRTCL.Parent = Parent | |
1123 | PRTCL.Size = NumberSequence.new(Size1,Size2) | |
1124 | PRTCL.Lifetime = NumberRange.new(Lifetime1,Lifetime2) | |
1125 | PRTCL.Speed = NumberRange.new(Speed) | |
1126 | PRTCL.VelocitySpread = Offset | |
1127 | PRTCL.Drag = Drag | |
1128 | PRTCL.Acceleration = Acel | |
1129 | if Enabled == false then | |
1130 | PRTCL:Emit(Emit) | |
1131 | Debris:AddItem(PRTCL,Lifetime2) | |
1132 | else | |
1133 | PRTCL.Enabled = true | |
1134 | end | |
1135 | return PRTCL | |
1136 | end | |
1137 | ||
1138 | local Handle = CreatePart(3, Weapon, "Metal", 0, 0, "Really black", "Part", VT(0.2,0.6,0.2),false) | |
1139 | local RightArmGrasp = CreateWeldOrSnapOrMotor("Weld", Handle, RightArm, Handle, CF(0,-1, 0) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, 0.21, 0)) | |
1140 | local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Really black", "Part", VT(0.2,0.5,0.2),false) | |
1141 | MakeForm(Part,"Wedge") | |
1142 | CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.3, 0.2) * ANGLES(RAD(0), RAD(180), RAD(0)), CF(0, 0, 0)) | |
1143 | local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Really black", "Part", VT(0.2,0.3,0.2),false) | |
1144 | MakeForm(Part,"Wedge") | |
1145 | CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.4, 0) * ANGLES(RAD(0), RAD(0), RAD(180)), CF(0, 0, 0)) | |
1146 | local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Really black", "Part", VT(0.3,0.3,0.3),false) | |
1147 | CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.5, 0.2) * ANGLES(RAD(0), RAD(0), RAD(0)), CF(0, 0, 0)) | |
1148 | local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Really black", "Part", VT(0.3,0.5,0.5),false) | |
1149 | CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.6, 0.5) * ANGLES(RAD(0), RAD(0), RAD(0)), CF(0, 0, 0)) | |
1150 | local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Really black", "Part", VT(0.4,0.4,0.4),false) | |
1151 | MakeForm(Part,"Cyl") | |
1152 | CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.6, 0.5) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, 0, 0)) | |
1153 | for i = 1, 8 do | |
1154 | local Piece = CreatePart(3, Weapon, "Metal", 0, 0, "Really black", "Eye", VT(0,0.35,0.41),false) | |
1155 | CreateWeldOrSnapOrMotor("Weld", Handle, Part, Piece, CF(0, 0, 0) * ANGLES(RAD(0), RAD((360/8)*i), RAD(0)), CF(0, 0, 0)) | |
1156 | end | |
1157 | local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Really black", "Eye", VT(0.38,0.41,0.38),false) | |
1158 | MakeForm(Part,"Cyl") | |
1159 | CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.6, 0.5) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, 0, 0)) | |
1160 | local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Really black", "Part", VT(0.37,0.5,0.37),false) | |
1161 | MakeForm(Part,"Ball") | |
1162 | CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.6, 0.3) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, 0, 0)) | |
1163 | local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Really black", "Part", VT(0.2,0.7,0.4),false) | |
1164 | MakeForm(Part,"Wedge") | |
1165 | CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.7, 0.5) * ANGLES(RAD(90), RAD(180), RAD(180)), CF(0, 0, 0)) | |
1166 | local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Really black", "Part", VT(0.3,0.4,0.2),false) | |
1167 | CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.6, 0.7) * ANGLES(RAD(0), RAD(0), RAD(0)), CF(0, 0, 0)) | |
1168 | local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Really black", "Part", VT(0.35,0.35,0.35),false) | |
1169 | MakeForm(Part,"Cyl") | |
1170 | CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.6, 0.7) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, 0, 0)) | |
1171 | local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Really black", "Part", VT(0.5,0.1,0.5),false) | |
1172 | MakeForm(Part,"Cyl") | |
1173 | CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.6, 1) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, 0, 0)) | |
1174 | local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Really black", "Part", VT(0.5,0.1,0.45),false) | |
1175 | MakeForm(Part,"Cyl") | |
1176 | CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.6, 1.1) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, 0, 0)) | |
1177 | local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Really black", "Part", VT(0.2,0.5,0.2),false) | |
1178 | MakeForm(Part,"Wedge") | |
1179 | CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.55, 0.2) * ANGLES(RAD(-135), RAD(0), RAD(0)), CF(0, -0.3, 0)) | |
1180 | local LASTPART = Handle | |
1181 | for i = 1, 10 do | |
1182 | if LASTPART == Handle then | |
1183 | local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Really black", "Part", VT(0.1,0.2,0),false) | |
1184 | LASTPART = Part | |
1185 | CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.1, 0.2) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, 0, 0)) | |
1186 | else | |
1187 | local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Really black", "Part", VT(0.1,0.05,0),false) | |
1188 | CreateWeldOrSnapOrMotor("Weld", Handle, LASTPART, Part, CF(0, 0.025, 0) * ANGLES(RAD(8), RAD(0), RAD(0)), CF(0, -0.025, 0)) | |
1189 | LASTPART = Part | |
1190 | end | |
1191 | end | |
1192 | ||
1193 | local Barrel = CreatePart(3, Weapon, "Metal", 0, 0, "Really black", "Part", VT(1,2.6,1),false) | |
1194 | MakeForm(Barrel,"Cyl") | |
1195 | CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Barrel, CF(0, -0.6, 1.8) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, 0, 0)) | |
1196 | local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Really black", "Part", VT(0.25,1,0.25),false) | |
1197 | MakeForm(Part,"Cyl") | |
1198 | CreateWeldOrSnapOrMotor("Weld", Handle, Barrel, Part, CF(0, -0.6, 0), CF(0, 0, 0)) | |
1199 | local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Really black", "Part", VT(0,0.1,0.2),false) | |
1200 | MakeForm(Part,"Wedge") | |
1201 | CreateWeldOrSnapOrMotor("Weld", Handle, Barrel, Part, CF(0, 0.945, 0.1) * ANGLES(RAD(180), RAD(0), RAD(0)), CF(0, 0, 0)) | |
1202 | local Hole = CreatePart(3, Weapon, "Metal", 0, 0, "Really black", "Eye", VT(0.125,0,0.125),false) | |
1203 | MakeForm(Hole,"Cyl") | |
1204 | CreateWeldOrSnapOrMotor("Weld", Handle, Barrel, Hole, CF(0, 0.98, 0), CF(0, 0, 0)) | |
1205 | local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Really black", "Part", VT(0,0,0),false) | |
1206 | local GEARWELD = CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.6, 0.7), CF(0, 0, 0)) | |
1207 | CreateMesh("SpecialMesh", Part, "FileMesh", 156292343, "", VT(1.1,1.1,1.5), VT(0,0,0.2)) | |
1208 | local Part = CreatePart(3, Weapon, "Metal", 0, 0.5, "Really black", "Eye", VT(0,0,0),false) | |
1209 | local GEARWELD2 = CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.6, 0.7), CF(0, 0, 0)) | |
1210 | CreateMesh("SpecialMesh", Part, "FileMesh", 156292343, "", VT(1.2,1.2,0.3), VT(0,0,0.2)) | |
1211 | local spinc=0 | |
1212 | coroutine.resume(coroutine.create(function() | |
1213 | while wait() do | |
1214 | spinc=spinc+1+sick.PlaybackLoudness/50 | |
1215 | WACKYEFFECT({Time = 12.5, EffectType = "Wave", Size = VT(5,1,5), Size2 = VT(5,1,5), Transparency = 0, Transparency2 = 1, CFrame = RootPart.CFrame*CFrame.new(0,-2.9,0)*CFrame.Angles(RAD(0),RAD(spinc),RAD(0)), RotationX = 0, RotationY = 0--[[sick.PlaybackLoudness/50]], RotationZ = 0, Material = "Neon", Color = color, SoundID = nil, SoundPitch = nil, SoundVolume = nil}) | |
1216 | GEARWELD.C0 = GEARWELD.C0 * ANGLES(RAD(0), RAD(0), RAD(0.1+sick.PlaybackLoudness/40)) | |
1217 | GEARWELD2.C0 = GEARWELD2.C0 * ANGLES(RAD(0), RAD(0), RAD(-0.1-sick.PlaybackLoudness/40)) | |
1218 | end | |
1219 | end)) | |
1220 | ||
1221 | ParticleEmitter({Speed = 0.5, Drag = 0, Size1 = 0.1, Size2 = 0, Lifetime1 = 0.3, Lifetime2 = 0.5, Parent = Hole, Emit = 100, Offset = 360, Enabled = true, Acel = VT(0,5,0)}) | |
1222 | --ParticleEmitter({Speed = 0.5, Drag = 0, Size1 = 0.2, Size2 = 0, Lifetime1 = 0.3, Lifetime2 = 0.7, Parent = Dangle, Emit = 100, Offset = 360, Enabled = true, Acel = VT(0,5,0)}) | |
1223 | ||
1224 | local BODY = {} | |
1225 | ||
1226 | local cR=255 | |
1227 | local cG=0 | |
1228 | local cB=0 | |
1229 | local flg5=1 local omgidk=1 | |
1230 | local add=15 | |
1231 | game:GetService("RunService").Heartbeat:Connect(function() | |
1232 | if omgidk>10000 then omgidk=0 end | |
1233 | omgidk=omgidk+1 | |
1234 | if cR>=255 then flg5=1 end | |
1235 | if cG>=255 then flg5=2 end | |
1236 | if cB>=255 then flg5=3 end | |
1237 | if flg5==1 then cR=cR-add cG=cG+add end | |
1238 | if flg5==2 then cG=cG-add cB=cB+add end | |
1239 | if flg5==3 then cB=cB-add cR=cR+add end | |
1240 | color=Color3.fromRGB(cR,cG,cB) | |
1241 | for _, c in pairs(Weapon:GetDescendants()) do | |
1242 | if c.ClassName == "Part" and c.Name ~= "Eye" and c.Parent ~= Effects and c.Parent.Parent ~= Effects then | |
1243 | c.Material = "Neon" | |
1244 | c.Color = color | |
1245 | elseif c.ClassName == "Part" and c.Name == "Eye" then | |
1246 | c.Color = color | |
1247 | c.Material = "Neon" | |
1248 | end | |
1249 | end | |
1250 | end) | |
1251 | ||
1252 | Weapon.Parent = Character | |
1253 | for _, c in pairs(Weapon:GetChildren()) do | |
1254 | if c.ClassName == "Part" then | |
1255 | c.CustomPhysicalProperties = PhysicalProperties.new(0, 0, 0, 0, 0) | |
1256 | end | |
1257 | end | |
1258 | ||
1259 | for e = 1, #BODY do | |
1260 | if BODY[e] ~= nil then | |
1261 | do | |
1262 | local STUFF = BODY[e] | |
1263 | local PART = STUFF[1] | |
1264 | local PARENT = STUFF[2] | |
1265 | local MATERIAL = STUFF[3] | |
1266 | local COLOR = STUFF[4] | |
1267 | PART.AncestryChanged:Connect(function() | |
1268 | if PART.ClassName == "Part" then | |
1269 | PART.Material = MATERIAL | |
1270 | PART.Color = COLOR | |
1271 | end | |
1272 | PART.Parent = PARENT | |
1273 | end) | |
1274 | end | |
1275 | end | |
1276 | end | |
1277 | function refit() | |
1278 | Weapon.Parent = Character | |
1279 | Character.Parent = workspace | |
1280 | for e = 1, #BODY do | |
1281 | if BODY[e] ~= nil then | |
1282 | local STUFF = BODY[e] | |
1283 | local PART = STUFF[1] | |
1284 | local PARENT = STUFF[2] | |
1285 | local MATERIAL = STUFF[3] | |
1286 | local COLOR = STUFF[4] | |
1287 | if PART.Parent ~= PARENT then | |
1288 | Humanoid:remove() | |
1289 | if PART.ClassName == "Part" then | |
1290 | PART.Material = MATERIAL | |
1291 | PART.Color = COLOR | |
1292 | end | |
1293 | PART.Parent = PARENT | |
1294 | Humanoid = IT("Humanoid", Character) | |
1295 | end | |
1296 | end | |
1297 | end | |
1298 | end | |
1299 | ||
1300 | local SKILLTEXTCOLOR = C3(0,0,0) | |
1301 | local SKILLFONT = "Arcade" | |
1302 | local SKILLTEXTSIZE = 6 | |
1303 | ||
1304 | Humanoid.Died:connect(function() | |
1305 | refit() | |
1306 | end) | |
1307 | ||
1308 | local SKILL1FRAME = CreateFrame(WEAPONGUI, 1, 2, UD2(0.1, 0, 0.90, 0), UD2(0.26, 0, 0.07, 0), C3(0,0,0), C3(0, 0, 0), "Skill 1 Frame") | |
1309 | local SKILL2FRAME = CreateFrame(WEAPONGUI, 1, 2, UD2(0.63, 0, 0.90, 0), UD2(0.26, 0, 0.07, 0), C3(0,0,0), C3(0, 0, 0), "Skill 2 Frame") | |
1310 | local SKILL3FRAME = CreateFrame(WEAPONGUI, 1, 2, UD2(0.215, 0, 0.1, 0), UD2(0.26, 0, 0.07, 0), C3(0,0,0), C3(0, 0, 0), "Skill 3 Frame") | |
1311 | local SKILL4FRAME = CreateFrame(WEAPONGUI, 1, 2, UD2(0.525, 0, 0.1, 0), UD2(0.26, 0, 0.07, 0), C3(0,0,0), C3(0, 0, 0), "Skill 4 Frame") | |
1312 | local SKILL5FRAME = CreateFrame(WEAPONGUI, 1, 2, UD2(0.365, 0, 0.1, 0), UD2(0.26, 0, 0.07, 0), C3(0,0,0), C3(0, 0, 0), "Skill 5 Frame") | |
1313 | local SKILL6FRAME = CreateFrame(WEAPONGUI, 1, 2, UD2(0.365, 0, 0.90, 0), UD2(0.26, 0, 0.07, 0), C3(0,0,0), C3(0, 0, 0), "Skill 6 Frame") | |
1314 | local SKILL7FRAME = CreateFrame(WEAPONGUI, 1, 2, UD2(0.8, 0, 0.70, 0), UD2(0.26, 0, 0.07, 0), C3(0,0,0), C3(0, 0, 0), "Skill 7 Frame") | |
1315 | local SKILL8FRAME = CreateFrame(WEAPONGUI, 1, 2, UD2(0.8, 0, 0.66, 0), UD2(0.26, 0, 0.07, 0), C3(0,0,0), C3(0, 0, 0), "Skill 8 Frame") | |
1316 | local SKILL8FRAME = CreateFrame(WEAPONGUI, 1, 2, UD2(0.8, 0, 0.66, 0), UD2(0.26, 0, 0.07, 0), C3(0,0,0), C3(0, 0, 0), "Skill 9 Frame") | |
1317 | ||
1318 | local SKILL1TEXT = CreateLabel(SKILL1FRAME, "[Z] Banisher Bullet", SKILLTEXTCOLOR, SKILLTEXTSIZE, SKILLFONT, 0, 2, 0.7, "Text 1") | |
1319 | local SKILL2TEXT = CreateLabel(SKILL2FRAME, "[C] Mach60", SKILLTEXTCOLOR, SKILLTEXTSIZE, SKILLFONT, 0, 2, 0.7, "Text 2") | |
1320 | local SKILL3TEXT = CreateLabel(SKILL3FRAME, "[V] Speed Kickish", SKILLTEXTCOLOR, SKILLTEXTSIZE, SKILLFONT, 0, 2, 0.7, "Text 3") | |
1321 | local SKILL4TEXT = CreateLabel(SKILL4FRAME, "[X] World Kickision", SKILLTEXTCOLOR, SKILLTEXTSIZE, SKILLFONT, 0, 2, 0.7, "Text 4") | |
1322 | local SKILL5TEXT = CreateLabel(SKILL5FRAME, "[Q] Ban Bullet", SKILLTEXTCOLOR, SKILLTEXTSIZE, SKILLFONT, 0, 2, 0.7, "Text 5") | |
1323 | local SKILL6TEXT = CreateLabel(SKILL6FRAME, "[E] SHUTDOWN", SKILLTEXTCOLOR, SKILLTEXTSIZE, SKILLFONT, 0, 2, 0.7, "Text 6") | |
1324 | local SKILL6TEXT = CreateLabel(SKILL6FRAME, "[N] Bnish Bullet", SKILLTEXTCOLOR, SKILLTEXTSIZE, SKILLFONT, 0, 2, 0.7, "Text 7") | |
1325 | local SKILL6TEXT = CreateLabel(SKILL6FRAME, "[B] Mercy", SKILLTEXTCOLOR, SKILLTEXTSIZE, SKILLFONT, 0, 2, 0.7, "Text 8") | |
1326 | local SKILL6TEXT = CreateLabel(SKILL6FRAME, "[T] Taunt", SKILLTEXTCOLOR, SKILLTEXTSIZE, SKILLFONT, 0, 2, 0.7, "Text 9") | |
1327 | ||
1328 | local MESSAGES = {"You cannot struggle, ","Your existance is an insult, ","Fade, ","Your existance is not desired, ","You are not permitted here, ","You are not to decide your fate, ","Be gone, ","You are already dead, ","Your live is an anomaly, ","Don't dare to return, ","Why are you resisting, ","You cannot exist here, ","Why are you struggling, ","Your fate was already decided, ","Goodbye, ","You cannot ignore my command, ","You cannot resist my command, ","You already died, "} | |
1329 | ||
1330 | function printbye(Name) | |
1331 | warn(MESSAGES[MRANDOM(1,#MESSAGES)]..Name..".") | |
1332 | end | |
1333 | ||
1334 | --//=================================\\ | |
1335 | --|| DAMAGING | |
1336 | --\\=================================// | |
1337 | ||
1338 | function Banish(Foe) | |
1339 | if Foe then | |
1340 | coroutine.resume(coroutine.create(function() | |
1341 | local plr = game:service'Players':GetPlayerFromCharacter(Foe) | |
1342 | if plr then | |
1343 | coroutine.resume(coroutine.create(function() | |
1344 | wait(0.5) | |
1345 | plr:Kick(Reason) | |
1346 | end)) | |
1347 | end | |
1348 | if(Foe:FindFirstChildOfClass'Humanoid')then | |
1349 | printbye(Foe.Name) | |
1350 | Foe.Archivable = true | |
1351 | local CLONE = Foe:Clone() | |
1352 | Foe:Destroy() | |
1353 | CLONE.Parent = Effects | |
1354 | CLONE:BreakJoints() | |
1355 | local MATERIALS = {"Glass","Neon"} | |
1356 | for _, c in pairs(CLONE:GetDescendants()) do | |
1357 | if c:IsA("BasePart") then | |
1358 | if c.Name == "Torso" or c.Name == "UpperTorso" or c == CLONE.PrimaryPart then | |
1359 | CreateSound(2152227673, c, 10, 1, false) | |
1360 | end | |
1361 | c.Anchored = true | |
1362 | c.Transparency = c.Transparency + 0.2 | |
1363 | c.Material = MATERIALS[MRANDOM(1,2)] | |
1364 | c.Color = color | |
1365 | if c.ClassName == "MeshPart" then | |
1366 | c.TextureID = "" | |
1367 | end | |
1368 | if c:FindFirstChildOfClass("SpecialMesh") then | |
1369 | c:FindFirstChildOfClass("SpecialMesh").TextureId = "" | |
1370 | end | |
1371 | if c:FindFirstChildOfClass("Decal") then | |
1372 | c:FindFirstChildOfClass("Decal"):remove() | |
1373 | end | |
1374 | c.Name = "Banished" | |
1375 | c.CanCollide = false | |
1376 | else | |
1377 | c:remove() | |
1378 | end | |
1379 | end | |
1380 | local A = false | |
1381 | for i = 1, 35 do | |
1382 | if A == false then | |
1383 | A = true | |
1384 | elseif A == true then | |
1385 | A = false | |
1386 | end | |
1387 | for _, c in pairs(CLONE:GetDescendants()) do | |
1388 | if c:IsA("BasePart") then | |
1389 | c.Anchored = true | |
1390 | c.Material = MATERIALS[MRANDOM(1,2)] | |
1391 | c.Transparency = c.Transparency + 0.8/35 | |
1392 | if A == false then | |
1393 | c.CFrame = c.CFrame*CF(MRANDOM(-45,45)/45,MRANDOM(-45,45)/45,MRANDOM(-45,45)/45) | |
1394 | elseif A == true then | |
1395 | c.CFrame = c.CFrame*CF(MRANDOM(-45,45)/45,MRANDOM(-45,45)/45,MRANDOM(-45,45)/45) | |
1396 | end | |
1397 | end | |
1398 | end | |
1399 | Swait() | |
1400 | end | |
1401 | CLONE:remove() | |
1402 | end | |
1403 | end)) | |
1404 | end | |
1405 | end | |
1406 | ||
1407 | function ApplyAoE(POSITION,RANGE,ISBANISH) | |
1408 | local CHILDREN = workspace:GetDescendants() | |
1409 | for index, CHILD in pairs(CHILDREN) do | |
1410 | if CHILD.ClassName == "Model" and CHILD ~= Character then | |
1411 | local HUM = CHILD:FindFirstChildOfClass("Humanoid") | |
1412 | if HUM then | |
1413 | local TORSO = CHILD:FindFirstChild("Torso") or CHILD:FindFirstChild("UpperTorso") | |
1414 | if TORSO then | |
1415 | if (TORSO.Position - POSITION).Magnitude <= RANGE then | |
1416 | if ISBANISH == true then | |
1417 | Banish(CHILD) | |
1418 | else | |
1419 | if ISBANISH == "Gravity" then | |
1420 | HUM.PlatformStand = true | |
1421 | if TORSO:FindFirstChild("V3BanishForce"..Player.Name) then | |
1422 | local grav = Instance.new("BodyPosition",TORSO) | |
1423 | grav.D = 15 | |
1424 | grav.P = 20000 | |
1425 | grav.maxForce = Vector3.new(math.huge,math.huge,math.huge) | |
1426 | grav.position = TORSO.Position | |
1427 | grav.Name = "V3BanishForce"..Player.Name | |
1428 | else | |
1429 | TORSO:FindFirstChild("V3BanishForce"..Player.Name).position = TORSO.Position+VT(0,0.3,0) | |
1430 | TORSO.RotVelocity = VT(MRANDOM(-25,25),MRANDOM(-25,25),MRANDOM(-25,25)) | |
1431 | end | |
1432 | else | |
1433 | HUM.PlatformStand = false | |
1434 | end | |
1435 | end | |
1436 | elseif ISBANISH == "Gravity" then | |
1437 | if TORSO:FindFirstChild("V3BanishForce"..Player.Name) then | |
1438 | TORSO:FindFirstChild("V3BanishForce"..Player.Name):remove() | |
1439 | HUM.PlatformStand = false | |
1440 | end | |
1441 | end | |
1442 | end | |
1443 | end | |
1444 | end | |
1445 | end | |
1446 | end | |
1447 | ||
1448 | function Outlines(TARGET) | |
1449 | coroutine.resume(coroutine.create(function() | |
1450 | local T = TARGET:GetChildren() | |
1451 | for i = 1, #T do | |
1452 | local child = T[i] | |
1453 | if child.ClassName == "Part" or child.ClassName == "MeshPart" then | |
1454 | do | |
1455 | local clone = child:Clone() | |
1456 | clone.Parent = Effects | |
1457 | clone.Anchored = true | |
1458 | clone.CanCollide = false | |
1459 | clone:ClearAllChildren() | |
1460 | clone.CFrame = child.CFrame | |
1461 | if clone.Name == "Head" then | |
1462 | clone.Size = VT(clone.Size.Y, clone.Size.Y, clone.Size.Y) | |
1463 | end | |
1464 | if clone.ClassName == "MeshPart" then | |
1465 | clone.TextureID = "" | |
1466 | end | |
1467 | clone.Color = Color3.fromRGB(cR,cG,cB) | |
1468 | clone.Material = "Neon" | |
1469 | coroutine.resume(coroutine.create(function() | |
1470 | for i = 1, 100 do | |
1471 | Swait() | |
1472 | clone.Transparency = clone.Transparency + 0.01 | |
1473 | clone.Size = clone.Size + VT(0.001, 0.001, 0.001) | |
1474 | end | |
1475 | clone:remove() | |
1476 | end)) | |
1477 | end | |
1478 | end | |
1479 | end | |
1480 | end)) | |
1481 | end | |
1482 | ||
1483 | local BEANED = {} | |
1484 | ||
1485 | function BEAN(bitch) | |
1486 | if bitch then | |
1487 | g = game.Players:GetPlayers() | |
1488 | local kickfolder = IT("Folder",Effects) | |
1489 | local naeeym2 = Instance.new("BillboardGui",kickfolder) | |
1490 | naeeym2.AlwaysOnTop = false | |
1491 | naeeym2.Size = UDim2.new(5,35,2,35) | |
1492 | naeeym2.StudsOffset = Vector3.new(0,1,0) | |
1493 | naeeym2.Name = "Mark" | |
1494 | local tecks2 = Instance.new("TextLabel",naeeym2) | |
1495 | tecks2.BackgroundTransparency = 1 | |
1496 | tecks2.TextScaled = true | |
1497 | tecks2.BorderSizePixel = 0 | |
1498 | tecks2.Text = "BANNED" | |
1499 | tecks2.Font = "Arcade" | |
1500 | tecks2.TextSize = 30 | |
1501 | tecks2.TextStrokeTransparency = 0 | |
1502 | tecks2.TextColor3 = Color3.fromRGB(cR,cG,cB) | |
1503 | tecks2.TextStrokeColor3 = Color3.fromRGB(cR,cG,cB) | |
1504 | tecks2.Size = UDim2.new(1,0,0.5,0) | |
1505 | tecks2.Parent = naeeym2 | |
1506 | -- CreateSound("2570187601", bitch, 600, 1, false) | |
1507 | local Players = game:GetService("Players") | |
1508 | local fag = Players:FindFirstChild(bitch.Name) | |
1509 | --faggut:Kick() | |
1510 | if Players:FindFirstChild(bitch.Name) then | |
1511 | fag:Kick("fat") | |
1512 | end | |
1513 | if Players:FindFirstChild(bitch.Name) then | |
1514 | fag:Kick("fat") | |
1515 | end | |
1516 | if Players:FindFirstChild(bitch.Name) then | |
1517 | fag:Kick("fat") | |
1518 | end | |
1519 | if Players:FindFirstChild(bitch.Name) then | |
1520 | fag:Kick("fat") | |
1521 | end | |
1522 | if Players:FindFirstChild(bitch.Name) then | |
1523 | fag:Kick("fat") | |
1524 | end | |
1525 | if Players:FindFirstChild(bitch.Name) then | |
1526 | fag:Kick("fat") | |
1527 | end | |
1528 | table.insert(BEANED,bitch.name) | |
1529 | --]] | |
1530 | --CreateSound("527749592", game.Workspace, 700, 1, false) | |
1531 | --CHARACTER:Remove() | |
1532 | --[[ | |
1533 | for i,v in pairs(g) do | |
1534 | --v:remove() | |
1535 | end ]]-- | |
1536 | --[[ | |
1537 | if CHARACTER.Name ~= "Default Dummy" or CHARACTER.Name ~= "NPC" then | |
1538 | for i,v in pairs(g) do | |
1539 | if string.find(string.upper(v.Name),CHARACTER) == 1 then | |
1540 | v:remove() | |
1541 | end | |
1542 | end | |
1543 | end]]-- | |
1544 | --[[ | |
1545 | for _, p in pairs(game.Players:GetChildren()) do | |
1546 | if p:FindFirstChild("CHARACTER") then | |
1547 | ||
1548 | end | |
1549 | end]]-- | |
1550 | coroutine.resume(coroutine.create(function() | |
1551 | for i = 1, 50 do | |
1552 | Swait() | |
1553 | for i,v in ipairs(kickfolder:GetChildren()) do | |
1554 | if v.ClassName == "Part" or v.ClassName == "MeshPart" then | |
1555 | v.Transparency = 1 | |
1556 | end | |
1557 | naeeym2.Enabled = false | |
1558 | end | |
1559 | Swait() | |
1560 | for i,v in ipairs(kickfolder:GetChildren()) do | |
1561 | if v.ClassName == "Part" or v.ClassName == "MeshPart" then | |
1562 | v.Transparency = 0 | |
1563 | end | |
1564 | naeeym2.Enabled = true | |
1565 | end | |
1566 | end | |
1567 | kickfolder:remove() | |
1568 | end)) | |
1569 | --wait(6) | |
1570 | --bitch:Remove() | |
1571 | end | |
1572 | end | |
1573 | ||
1574 | local function CheckForBan(player) | |
1575 | for i = 1, #BEANED do | |
1576 | if player.Name == BEANED[i] then | |
1577 | player:Kick("NO LAGS OR ABUSE GET THE HELL OUT") --Ban Reason Change between the '' to change the reason! | |
1578 | end | |
1579 | end | |
1580 | end | |
1581 | ||
1582 | ||
1583 | game.Players.PlayerAdded:connect(function() | |
1584 | for i,v in pairs(game.Players:GetPlayers())do | |
1585 | CheckForBan(v) | |
1586 | end | |
1587 | end) | |
1588 | ||
1589 | ||
1590 | --//=================================\\ | |
1591 | --|| ATTACK FUNCTIONS AND STUFF | |
1592 | --\\=================================// | |
1593 | ||
1594 | function Taunt() | |
1595 | ATTACK = true | |
1596 | Rooted = true | |
1597 | CreateSound(2668778545,Head,80,1,false) | |
1598 | for i = 1, 30 do | |
1599 | Swait() | |
1600 | RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0.1, -0.1 + 0.05 * SIN(SINE / 12)) * ANGLES(RAD(-4), RAD(0), RAD(0)), 1 / Animation_Speed) | |
1601 | Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(5 - 2.5 * SIN(SINE / 12)), RAD(7 * COS(SINE / 24)), RAD(0)), 1 / Animation_Speed) | |
1602 | RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5 + 0.05 * SIN(SINE / 12), 0) * ANGLES(RAD(100), RAD(0), RAD(15)) * ANGLES(RAD(20), RAD(0), RAD(0)) * RIGHTSHOULDERC0, 1 / Animation_Speed) | |
1603 | LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.3 + 0.05 * SIN(SINE / 12), 0) * ANGLES(RAD(0), RAD(0), RAD(-15)) * ANGLES(RAD(20), RAD(0), RAD(0)) * LEFTSHOULDERC0, 1 / Animation_Speed) | |
1604 | RightHip.C0 = Clerp(RightHip.C0, CF(1, -1 - 0.05 * SIN(SINE / 12), 0) * ANGLES(RAD(-4), RAD(80), RAD(0)) * ANGLES(RAD(-3), RAD(0), RAD(0)), 1 / Animation_Speed) | |
1605 | LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1 - 0.05 * SIN(SINE / 12), 0) * ANGLES(RAD(-4), RAD(-80), RAD(0)) * ANGLES(RAD(-3), RAD(0), RAD(0)), 1 / Animation_Speed) | |
1606 | end | |
1607 | for i = 1, 38 do | |
1608 | Swait() | |
1609 | RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0.1, -0.1 + 0.05 * SIN(SINE / 12)) * ANGLES(RAD(-4), RAD(0), RAD(0)), 1 / Animation_Speed) | |
1610 | Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(5 - 2.5 * SIN(SINE / 12)), RAD(7 * COS(SINE / 24)), RAD(0)), 1 / Animation_Speed) | |
1611 | RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5 + 0.05 * SIN(SINE / 12), 0) * ANGLES(RAD(100), RAD(0), RAD(76)) * ANGLES(RAD(20), RAD(0), RAD(0)) * RIGHTSHOULDERC0, 1 / Animation_Speed) | |
1612 | LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.3 + 0.05 * SIN(SINE / 12), 0) * ANGLES(RAD(0), RAD(0), RAD(-15)) * ANGLES(RAD(20), RAD(0), RAD(0)) * LEFTSHOULDERC0, 1 / Animation_Speed) | |
1613 | RightHip.C0 = Clerp(RightHip.C0, CF(1, -1 - 0.05 * SIN(SINE / 12), 0) * ANGLES(RAD(-4), RAD(80), RAD(0)) * ANGLES(RAD(-3), RAD(0), RAD(0)), 1 / Animation_Speed) | |
1614 | LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1 - 0.05 * SIN(SINE / 12), 0) * ANGLES(RAD(-4), RAD(-80), RAD(0)) * ANGLES(RAD(-3), RAD(0), RAD(0)), 1 / Animation_Speed) | |
1615 | end | |
1616 | ATTACK = false | |
1617 | Rooted = false | |
1618 | end | |
1619 | ||
1620 | ||
1621 | function Taunt3() | |
1622 | ATTACK = true | |
1623 | Rooted = true | |
1624 | CreateSound(1076231331,Head,80,1,false) | |
1625 | for i = 1, 21 do | |
1626 | Swait() | |
1627 | RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0.1, -0.1 + 0.05 * SIN(SINE / 12)) * ANGLES(RAD(1), RAD(0), RAD(0)), 1 / Animation_Speed) | |
1628 | Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(5 - 2.5 * SIN(SINE / 12)), RAD(1 * COS(SINE / 24)), RAD(0)), 1 / Animation_Speed) | |
1629 | RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5 + 0.05 * SIN(SINE / 12), 0) * ANGLES(RAD(130), RAD(0), RAD(15)) * ANGLES(RAD(20), RAD(0), RAD(0)) * RIGHTSHOULDERC0, 1 / Animation_Speed) | |
1630 | LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.3 + 0.05 * SIN(SINE / 12), 0) * ANGLES(RAD(130), RAD(0), RAD(-15)) * ANGLES(RAD(20), RAD(0), RAD(0)) * LEFTSHOULDERC0, 1 / Animation_Speed) | |
1631 | RightHip.C0 = Clerp(RightHip.C0, CF(1, -1 - 0.05 * SIN(SINE / 12), 0) * ANGLES(RAD(1), RAD(80), RAD(0)) * ANGLES(RAD(-3), RAD(0), RAD(0)), 1 / Animation_Speed) | |
1632 | LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1 - 0.05 * SIN(SINE / 12), 0) * ANGLES(RAD(1), RAD(-80), RAD(0)) * ANGLES(RAD(-3), RAD(0), RAD(0)), 1 / Animation_Speed) | |
1633 | end | |
1634 | for i = 1, 21 do | |
1635 | Swait() | |
1636 | RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0.1, -0.1 + 0.05 * SIN(SINE / 12)) * ANGLES(RAD(1), RAD(0), RAD(0)), 1 / Animation_Speed) | |
1637 | Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(5 - 2.5 * SIN(SINE / 12)), RAD(7 * COS(SINE / 24)), RAD(0)), 1 / Animation_Speed) | |
1638 | RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5 + 0.05 * SIN(SINE / 12), 0) * ANGLES(RAD(100), RAD(0), RAD(15)) * ANGLES(RAD(20), RAD(0), RAD(0)) * RIGHTSHOULDERC0, 1 / Animation_Speed) | |
1639 | LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.3 + 0.05 * SIN(SINE / 12), 0) * ANGLES(RAD(100), RAD(0), RAD(-15)) * ANGLES(RAD(20), RAD(0), RAD(0)) * LEFTSHOULDERC0, 1 / Animation_Speed) | |
1640 | RightHip.C0 = Clerp(RightHip.C0, CF(1, -1 - 0.05 * SIN(SINE / 12), 0) * ANGLES(RAD(1), RAD(80), RAD(0)) * ANGLES(RAD(-3), RAD(0), RAD(0)), 1 / Animation_Speed) | |
1641 | LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1 - 0.05 * SIN(SINE / 12), 0) * ANGLES(RAD(1), RAD(-80), RAD(0)) * ANGLES(RAD(-3), RAD(0), RAD(0)), 1 / Animation_Speed) | |
1642 | end | |
1643 | for i = 0.8, 18 do | |
1644 | Swait() | |
1645 | RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0.1, -0.1 + 0.05 * SIN(SINE / 12)) * ANGLES(RAD(1), RAD(0), RAD(0)), 1 / Animation_Speed) | |
1646 | Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(5 - 2.5 * SIN(SINE / 12)), RAD(1 * COS(SINE / 24)), RAD(0)), 1 / Animation_Speed) | |
1647 | RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5 + 0.05 * SIN(SINE / 12), 0) * ANGLES(RAD(130), RAD(0), RAD(15)) * ANGLES(RAD(20), RAD(0), RAD(0)) * RIGHTSHOULDERC0, 1 / Animation_Speed) | |
1648 | LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.3 + 0.05 * SIN(SINE / 12), 0) * ANGLES(RAD(130), RAD(0), RAD(-15)) * ANGLES(RAD(20), RAD(0), RAD(0)) * LEFTSHOULDERC0, 1 / Animation_Speed) | |
1649 | RightHip.C0 = Clerp(RightHip.C0, CF(1, -1 - 0.05 * SIN(SINE / 12), 0) * ANGLES(RAD(1), RAD(80), RAD(0)) * ANGLES(RAD(-3), RAD(0), RAD(0)), 1 / Animation_Speed) | |
1650 | LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1 - 0.05 * SIN(SINE / 12), 0) * ANGLES(RAD(1), RAD(-80), RAD(0)) * ANGLES(RAD(-3), RAD(0), RAD(0)), 1 / Animation_Speed) | |
1651 | end | |
1652 | for i = 0.7, 16 do | |
1653 | Swait() | |
1654 | RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0.1, -0.1 + 0.05 * SIN(SINE / 12)) * ANGLES(RAD(1), RAD(0), RAD(0)), 1 / Animation_Speed) | |
1655 | Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(5 - 2.5 * SIN(SINE / 12)), RAD(7 * COS(SINE / 24)), RAD(0)), 1 / Animation_Speed) | |
1656 | RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5 + 0.05 * SIN(SINE / 12), 0) * ANGLES(RAD(80), RAD(0), RAD(15)) * ANGLES(RAD(20), RAD(0), RAD(0)) * RIGHTSHOULDERC0, 1 / Animation_Speed) | |
1657 | LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.3 + 0.05 * SIN(SINE / 12), 0) * ANGLES(RAD(80), RAD(0), RAD(-15)) * ANGLES(RAD(20), RAD(0), RAD(0)) * LEFTSHOULDERC0, 1 / Animation_Speed) | |
1658 | RightHip.C0 = Clerp(RightHip.C0, CF(1, -1 - 0.05 * SIN(SINE / 12), 0) * ANGLES(RAD(1), RAD(80), RAD(0)) * ANGLES(RAD(-3), RAD(0), RAD(0)), 1 / Animation_Speed) | |
1659 | LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1 - 0.05 * SIN(SINE / 12), 0) * ANGLES(RAD(1), RAD(-80), RAD(0)) * ANGLES(RAD(-3), RAD(0), RAD(0)), 1 / Animation_Speed) | |
1660 | end | |
1661 | for i = 0.1, 4 do | |
1662 | Swait() | |
1663 | RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0.1, -0.1 + 0.05 * SIN(SINE / 12)) * ANGLES(RAD(1), RAD(0), RAD(0)), 1 / Animation_Speed) | |
1664 | Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(5 - 2.5 * SIN(SINE / 12)), RAD(1 * COS(SINE / 24)), RAD(0)), 1 / Animation_Speed) | |
1665 | RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5 + 0.05 * SIN(SINE / 12), 0) * ANGLES(RAD(130), RAD(0), RAD(15)) * ANGLES(RAD(20), RAD(0), RAD(0)) * RIGHTSHOULDERC0, 1 / Animation_Speed) | |
1666 | LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.3 + 0.05 * SIN(SINE / 12), 0) * ANGLES(RAD(130), RAD(0), RAD(-15)) * ANGLES(RAD(20), RAD(0), RAD(0)) * LEFTSHOULDERC0, 1 / Animation_Speed) | |
1667 | RightHip.C0 = Clerp(RightHip.C0, CF(1, -1 - 0.05 * SIN(SINE / 12), 0) * ANGLES(RAD(1), RAD(80), RAD(0)) * ANGLES(RAD(-3), RAD(0), RAD(0)), 1 / Animation_Speed) | |
1668 | LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1 - 0.05 * SIN(SINE / 12), 0) * ANGLES(RAD(1), RAD(-80), RAD(0)) * ANGLES(RAD(-3), RAD(0), RAD(0)), 1 / Animation_Speed) | |
1669 | end | |
1670 | for i = 0.1, 4 do | |
1671 | Swait() | |
1672 | RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0.1, -0.1 + 0.05 * SIN(SINE / 12)) * ANGLES(RAD(1), RAD(0), RAD(0)), 1 / Animation_Speed) | |
1673 | Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(5 - 2.5 * SIN(SINE / 12)), RAD(7 * COS(SINE / 24)), RAD(0)), 1 / Animation_Speed) | |
1674 | RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5 + 0.05 * SIN(SINE / 12), 0) * ANGLES(RAD(80), RAD(0), RAD(15)) * ANGLES(RAD(20), RAD(0), RAD(0)) * RIGHTSHOULDERC0, 1 / Animation_Speed) | |
1675 | LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.3 + 0.05 * SIN(SINE / 12), 0) * ANGLES(RAD(80), RAD(0), RAD(-15)) * ANGLES(RAD(20), RAD(0), RAD(0)) * LEFTSHOULDERC0, 1 / Animation_Speed) | |
1676 | RightHip.C0 = Clerp(RightHip.C0, CF(1, -1 - 0.05 * SIN(SINE / 12), 0) * ANGLES(RAD(1), RAD(80), RAD(0)) * ANGLES(RAD(-3), RAD(0), RAD(0)), 1 / Animation_Speed) | |
1677 | LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1 - 0.05 * SIN(SINE / 12), 0) * ANGLES(RAD(1), RAD(-80), RAD(0)) * ANGLES(RAD(-3), RAD(0), RAD(0)), 1 / Animation_Speed) | |
1678 | end | |
1679 | for i = 0.1, 4 do | |
1680 | Swait() | |
1681 | RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0.1, -0.1 + 0.05 * SIN(SINE / 12)) * ANGLES(RAD(1), RAD(0), RAD(0)), 1 / Animation_Speed) | |
1682 | Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(5 - 2.5 * SIN(SINE / 12)), RAD(1 * COS(SINE / 24)), RAD(0)), 1 / Animation_Speed) | |
1683 | RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5 + 0.05 * SIN(SINE / 12), 0) * ANGLES(RAD(130), RAD(0), RAD(15)) * ANGLES(RAD(20), RAD(0), RAD(0)) * RIGHTSHOULDERC0, 1 / Animation_Speed) | |
1684 | LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.3 + 0.05 * SIN(SINE / 12), 0) * ANGLES(RAD(130), RAD(0), RAD(-15)) * ANGLES(RAD(20), RAD(0), RAD(0)) * LEFTSHOULDERC0, 1 / Animation_Speed) | |
1685 | RightHip.C0 = Clerp(RightHip.C0, CF(1, -1 - 0.05 * SIN(SINE / 12), 0) * ANGLES(RAD(1), RAD(80), RAD(0)) * ANGLES(RAD(-3), RAD(0), RAD(0)), 1 / Animation_Speed) | |
1686 | LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1 - 0.05 * SIN(SINE / 12), 0) * ANGLES(RAD(1), RAD(-80), RAD(0)) * ANGLES(RAD(-3), RAD(0), RAD(0)), 1 / Animation_Speed) | |
1687 | end | |
1688 | for i = 0.1, 4 do | |
1689 | Swait() | |
1690 | RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0.1, -0.1 + 0.05 * SIN(SINE / 12)) * ANGLES(RAD(1), RAD(0), RAD(0)), 1 / Animation_Speed) | |
1691 | Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(5 - 2.5 * SIN(SINE / 12)), RAD(1 * COS(SINE / 24)), RAD(0)), 1 / Animation_Speed) | |
1692 | RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5 + 0.05 * SIN(SINE / 12), 0) * ANGLES(RAD(80), RAD(0), RAD(15)) * ANGLES(RAD(20), RAD(0), RAD(0)) * RIGHTSHOULDERC0, 1 / Animation_Speed) | |
1693 | LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.3 + 0.05 * SIN(SINE / 12), 0) * ANGLES(RAD(80), RAD(0), RAD(-15)) * ANGLES(RAD(20), RAD(0), RAD(0)) * LEFTSHOULDERC0, 1 / Animation_Speed) | |
1694 | RightHip.C0 = Clerp(RightHip.C0, CF(1, -1 - 0.05 * SIN(SINE / 12), 0) * ANGLES(RAD(1), RAD(80), RAD(0)) * ANGLES(RAD(-3), RAD(0), RAD(0)), 1 / Animation_Speed) | |
1695 | LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1 - 0.05 * SIN(SINE / 12), 0) * ANGLES(RAD(1), RAD(-80), RAD(0)) * ANGLES(RAD(-3), RAD(0), RAD(0)), 1 / Animation_Speed) | |
1696 | end | |
1697 | for i = 0.1, 4 do | |
1698 | Swait() | |
1699 | RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0.1, -0.1 + 0.05 * SIN(SINE / 12)) * ANGLES(RAD(1), RAD(0), RAD(0)), 1 / Animation_Speed) | |
1700 | Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(5 - 2.5 * SIN(SINE / 12)), RAD(1 * COS(SINE / 24)), RAD(0)), 1 / Animation_Speed) | |
1701 | RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5 + 0.05 * SIN(SINE / 12), 0) * ANGLES(RAD(80), RAD(0), RAD(15)) * ANGLES(RAD(20), RAD(0), RAD(0)) * RIGHTSHOULDERC0, 1 / Animation_Speed) | |
1702 | LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.3 + 0.05 * SIN(SINE / 12), 0) * ANGLES(RAD(80), RAD(0), RAD(-15)) * ANGLES(RAD(20), RAD(0), RAD(0)) * LEFTSHOULDERC0, 1 / Animation_Speed) | |
1703 | RightHip.C0 = Clerp(RightHip.C0, CF(1, -1 - 0.05 * SIN(SINE / 12), 0) * ANGLES(RAD(1), RAD(80), RAD(0)) * ANGLES(RAD(-3), RAD(0), RAD(0)), 1 / Animation_Speed) | |
1704 | LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1 - 0.05 * SIN(SINE / 12), 0) * ANGLES(RAD(1), RAD(-80), RAD(0)) * ANGLES(RAD(-3), RAD(0), RAD(0)), 1 / Animation_Speed) | |
1705 | end | |
1706 | for i = 0.1, 4 do | |
1707 | Swait() | |
1708 | RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0.1, -0.1 + 0.05 * SIN(SINE / 12)) * ANGLES(RAD(1), RAD(0), RAD(0)), 1 / Animation_Speed) | |
1709 | Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(5 - 2.5 * SIN(SINE / 12)), RAD(1 * COS(SINE / 24)), RAD(0)), 1 / Animation_Speed) | |
1710 | RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5 + 0.05 * SIN(SINE / 12), 0) * ANGLES(RAD(130), RAD(0), RAD(15)) * ANGLES(RAD(20), RAD(0), RAD(0)) * RIGHTSHOULDERC0, 1 / Animation_Speed) | |
1711 | LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.3 + 0.05 * SIN(SINE / 12), 0) * ANGLES(RAD(130), RAD(0), RAD(-15)) * ANGLES(RAD(20), RAD(0), RAD(0)) * LEFTSHOULDERC0, 1 / Animation_Speed) | |
1712 | RightHip.C0 = Clerp(RightHip.C0, CF(1, -1 - 0.05 * SIN(SINE / 12), 0) * ANGLES(RAD(1), RAD(80), RAD(0)) * ANGLES(RAD(-3), RAD(0), RAD(0)), 1 / Animation_Speed) | |
1713 | LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1 - 0.05 * SIN(SINE / 12), 0) * ANGLES(RAD(1), RAD(-80), RAD(0)) * ANGLES(RAD(-3), RAD(0), RAD(0)), 1 / Animation_Speed) | |
1714 | end | |
1715 | for i = 0.1, 4 do | |
1716 | Swait() | |
1717 | RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0.1, -0.1 + 0.05 * SIN(SINE / 12)) * ANGLES(RAD(1), RAD(0), RAD(0)), 1 / Animation_Speed) | |
1718 | Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(5 - 2.5 * SIN(SINE / 12)), RAD(1 * COS(SINE / 24)), RAD(0)), 1 / Animation_Speed) | |
1719 | RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5 + 0.05 * SIN(SINE / 12), 0) * ANGLES(RAD(80), RAD(0), RAD(15)) * ANGLES(RAD(20), RAD(0), RAD(0)) * RIGHTSHOULDERC0, 1 / Animation_Speed) | |
1720 | LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.3 + 0.05 * SIN(SINE / 12), 0) * ANGLES(RAD(80), RAD(0), RAD(-15)) * ANGLES(RAD(20), RAD(0), RAD(0)) * LEFTSHOULDERC0, 1 / Animation_Speed) | |
1721 | RightHip.C0 = Clerp(RightHip.C0, CF(1, -1 - 0.05 * SIN(SINE / 12), 0) * ANGLES(RAD(1), RAD(80), RAD(0)) * ANGLES(RAD(-3), RAD(0), RAD(0)), 1 / Animation_Speed) | |
1722 | LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1 - 0.05 * SIN(SINE / 12), 0) * ANGLES(RAD(1), RAD(-80), RAD(0)) * ANGLES(RAD(-3), RAD(0), RAD(0)), 1 / Animation_Speed) | |
1723 | end | |
1724 | for i = 0.1, 4 do | |
1725 | Swait() | |
1726 | RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0.1, -0.1 + 0.05 * SIN(SINE / 12)) * ANGLES(RAD(1), RAD(0), RAD(0)), 1 / Animation_Speed) | |
1727 | Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(5 - 2.5 * SIN(SINE / 12)), RAD(1 * COS(SINE / 24)), RAD(0)), 1 / Animation_Speed) | |
1728 | RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5 + 0.05 * SIN(SINE / 12), 0) * ANGLES(RAD(130), RAD(0), RAD(15)) * ANGLES(RAD(20), RAD(0), RAD(0)) * RIGHTSHOULDERC0, 1 / Animation_Speed) | |
1729 | LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.3 + 0.05 * SIN(SINE / 12), 0) * ANGLES(RAD(130), RAD(0), RAD(-15)) * ANGLES(RAD(20), RAD(0), RAD(0)) * LEFTSHOULDERC0, 1 / Animation_Speed) | |
1730 | RightHip.C0 = Clerp(RightHip.C0, CF(1, -1 - 0.05 * SIN(SINE / 12), 0) * ANGLES(RAD(1), RAD(80), RAD(0)) * ANGLES(RAD(-3), RAD(0), RAD(0)), 1 / Animation_Speed) | |
1731 | LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1 - 0.05 * SIN(SINE / 12), 0) * ANGLES(RAD(1), RAD(-80), RAD(0)) * ANGLES(RAD(-3), RAD(0), RAD(0)), 1 / Animation_Speed) | |
1732 | end | |
1733 | for i = 0.1, 4 do | |
1734 | Swait() | |
1735 | RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0.1, -0.1 + 0.05 * SIN(SINE / 12)) * ANGLES(RAD(1), RAD(0), RAD(0)), 1 / Animation_Speed) | |
1736 | Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(5 - 2.5 * SIN(SINE / 12)), RAD(1 * COS(SINE / 24)), RAD(0)), 1 / Animation_Speed) | |
1737 | RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5 + 0.05 * SIN(SINE / 12), 0) * ANGLES(RAD(80), RAD(0), RAD(15)) * ANGLES(RAD(20), RAD(0), RAD(0)) * RIGHTSHOULDERC0, 1 / Animation_Speed) | |
1738 | LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.3 + 0.05 * SIN(SINE / 12), 0) * ANGLES(RAD(80), RAD(0), RAD(-15)) * ANGLES(RAD(20), RAD(0), RAD(0)) * LEFTSHOULDERC0, 1 / Animation_Speed) | |
1739 | RightHip.C0 = Clerp(RightHip.C0, CF(1, -1 - 0.05 * SIN(SINE / 12), 0) * ANGLES(RAD(1), RAD(80), RAD(0)) * ANGLES(RAD(-3), RAD(0), RAD(0)), 1 / Animation_Speed) | |
1740 | LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1 - 0.05 * SIN(SINE / 12), 0) * ANGLES(RAD(1), RAD(-80), RAD(0)) * ANGLES(RAD(-3), RAD(0), RAD(0)), 1 / Animation_Speed) | |
1741 | end | |
1742 | for i = 0.1, 4 do | |
1743 | Swait() | |
1744 | RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0.1, -0.1 + 0.05 * SIN(SINE / 12)) * ANGLES(RAD(1), RAD(0), RAD(0)), 1 / Animation_Speed) | |
1745 | Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(5 - 2.5 * SIN(SINE / 12)), RAD(1 * COS(SINE / 24)), RAD(0)), 1 / Animation_Speed) | |
1746 | RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5 + 0.05 * SIN(SINE / 12), 0) * ANGLES(RAD(130), RAD(0), RAD(15)) * ANGLES(RAD(20), RAD(0), RAD(0)) * RIGHTSHOULDERC0, 1 / Animation_Speed) | |
1747 | LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.3 + 0.05 * SIN(SINE / 12), 0) * ANGLES(RAD(130), RAD(0), RAD(-15)) * ANGLES(RAD(20), RAD(0), RAD(0)) * LEFTSHOULDERC0, 1 / Animation_Speed) | |
1748 | RightHip.C0 = Clerp(RightHip.C0, CF(1, -1 - 0.05 * SIN(SINE / 12), 0) * ANGLES(RAD(1), RAD(80), RAD(0)) * ANGLES(RAD(-3), RAD(0), RAD(0)), 1 / Animation_Speed) | |
1749 | LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1 - 0.05 * SIN(SINE / 12), 0) * ANGLES(RAD(1), RAD(-80), RAD(0)) * ANGLES(RAD(-3), RAD(0), RAD(0)), 1 / Animation_Speed) | |
1750 | end | |
1751 | for i = 0.1, 4 do | |
1752 | Swait() | |
1753 | RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0.1, -0.1 + 0.05 * SIN(SINE / 12)) * ANGLES(RAD(1), RAD(0), RAD(0)), 1 / Animation_Speed) | |
1754 | Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(5 - 2.5 * SIN(SINE / 12)), RAD(1 * COS(SINE / 24)), RAD(0)), 1 / Animation_Speed) | |
1755 | RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5 + 0.05 * SIN(SINE / 12), 0) * ANGLES(RAD(80), RAD(0), RAD(15)) * ANGLES(RAD(20), RAD(0), RAD(0)) * RIGHTSHOULDERC0, 1 / Animation_Speed) | |
1756 | LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.3 + 0.05 * SIN(SINE / 12), 0) * ANGLES(RAD(80), RAD(0), RAD(-15)) * ANGLES(RAD(20), RAD(0), RAD(0)) * LEFTSHOULDERC0, 1 / Animation_Speed) | |
1757 | RightHip.C0 = Clerp(RightHip.C0, CF(1, -1 - 0.05 * SIN(SINE / 12), 0) * ANGLES(RAD(1), RAD(80), RAD(0)) * ANGLES(RAD(-3), RAD(0), RAD(0)), 1 / Animation_Speed) | |
1758 | LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1 - 0.05 * SIN(SINE / 12), 0) * ANGLES(RAD(1), RAD(-80), RAD(0)) * ANGLES(RAD(-3), RAD(0), RAD(0)), 1 / Animation_Speed) | |
1759 | end | |
1760 | ATTACK = false | |
1761 | Rooted = false | |
1762 | end | |
1763 | ||
1764 | workspace.ChildAdded:connect(function(instance) | |
1765 | for BANISH = 1, #Mercy do | |
1766 | if Mercy[BANISH] ~= nil then | |
1767 | if instance.Name == Mercy[BANISH] then | |
1768 | coroutine.resume(coroutine.create(function() | |
1769 | printbye(instance.Name) | |
1770 | instance:ClearAllChildren() | |
1771 | Debris:AddItem(instance,0.0005) | |
1772 | end)) | |
1773 | end | |
1774 | end | |
1775 | end | |
1776 | end) | |
1777 | ||
1778 | function Banish(Foe) | |
1779 | if Foe then | |
1780 | coroutine.resume(coroutine.create(function() | |
1781 | --if game.Players:FindFirstChild(Foe.Name) then | |
1782 | table.insert(Mercy,Foe.Name) | |
1783 | printbye(Foe.Name) | |
1784 | --end | |
1785 | Foe.Archivable = true | |
1786 | local CLONE = Foe:Clone() | |
1787 | Foe:Destroy() | |
1788 | CLONE.Parent = Effects | |
1789 | CLONE:BreakJoints() | |
1790 | local MATERIALS = {"Neon","Neon"} | |
1791 | for _, c in pairs(CLONE:GetDescendants()) do | |
1792 | if c:IsA("BasePart") then | |
1793 | if c.Name == "Torso" or c.Name == "UpperTorso" or c == CLONE.PrimaryPart then | |
1794 | CreateSound(340722848, c, 10, 1, false) | |
1795 | end | |
1796 | c.Anchored = true | |
1797 | c.Transparency = c.Transparency + 0.2 | |
1798 | c.Material = MATERIALS[MRANDOM(1,2)] | |
1799 | c.Color = C3(0,0,0) | |
1800 | if c.Name == "Head" then | |
1801 | WACKYEFFECT({Time = MRANDOM(10,30)*5, EffectType = "Skull", Size = VT(c.Size.Z,c.Size.Y,c.Size.Z)*3, Size2 = (VT(c.Size.Z,c.Size.Y,c.Size.Z)*3)*MRANDOM(7,14)/10, Transparency = c.Transparency, Transparency2 = 1, CFrame = c.CFrame, MoveToPos = c.Position+VT(0,MRANDOM(5,8)/1.5,0), RotationX = MRANDOM(-25,25)/35, RotationY = MRANDOM(-25,25)/35, RotationZ = MRANDOM(-25,25)/35, Material = "Neon", Color = C3(0,0,0), SoundID = nil, SoundPitch = nil, SoundVolume = nil}) | |
1802 | else | |
1803 | WACKYEFFECT({Time = MRANDOM(10,30)*5, EffectType = "Box", Size = c.Size, Size2 = c.Size*MRANDOM(7,14)/10, Transparency = c.Transparency, Transparency2 = 1, CFrame = c.CFrame, MoveToPos = c.Position+VT(0,MRANDOM(5,8)/1.5,0), MRANDOM(-25,25)/35, RotationY = MRANDOM(-25,25)/35, RotationZ = MRANDOM(-25,25)/35, Material = "Neon", Color = C3(0,0,0), SoundID = nil, SoundPitch = nil, SoundVolume = nil}) | |
1804 | end | |
1805 | if c.ClassName == "MeshPart" then | |
1806 | c.TextureID = "" | |
1807 | end | |
1808 | if c:FindFirstChildOfClass("SpecialMesh") then | |
1809 | c:FindFirstChildOfClass("SpecialMesh").TextureId = "" | |
1810 | end | |
1811 | if c:FindFirstChildOfClass("Decal") then | |
1812 | c:FindFirstChildOfClass("Decal"):remove() | |
1813 | end | |
1814 | c.Name = "Banished" | |
1815 | c.CanCollide = false | |
1816 | else | |
1817 | c:remove() | |
1818 | end | |
1819 | end | |
1820 | local A = false | |
1821 | for i = 1, 35 do | |
1822 | if A == false then | |
1823 | A = true | |
1824 | elseif A == true then | |
1825 | A = false | |
1826 | end | |
1827 | for _, c in pairs(CLONE:GetDescendants()) do | |
1828 | if c:IsA("BasePart") then | |
1829 | c.Anchored = true | |
1830 | c.Material = MATERIALS[MRANDOM(1,2)] | |
1831 | c.Transparency = c.Transparency + 0.8/35 | |
1832 | if A == false then | |
1833 | c.CFrame = c.CFrame*CF(MRANDOM(-45,45)/45,MRANDOM(-45,45)/45,MRANDOM(-45,45)/45) | |
1834 | elseif A == true then | |
1835 | c.CFrame = c.CFrame*CF(MRANDOM(-45,45)/45,MRANDOM(-45,45)/45,MRANDOM(-45,45)/45) | |
1836 | end | |
1837 | end | |
1838 | end | |
1839 | Swait() | |
1840 | end | |
1841 | CLONE:remove() | |
1842 | end)) | |
1843 | end | |
1844 | end | |
1845 | ||
1846 | function Shot() | |
1847 | ATTACK = true | |
1848 | Rooted = false | |
1849 | for i=0, 0.05, 0.1 / Animation_Speed do | |
1850 | Swait() | |
1851 | turnto(Mouse.Hit.p) | |
1852 | RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(90)), 0.5 / Animation_Speed) | |
1853 | Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(-90)), 0.5 / Animation_Speed) | |
1854 | RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(90), RAD(0), RAD(90)) * RIGHTSHOULDERC0, 0.5 / Animation_Speed) | |
1855 | LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.6, 0) * ANGLES(RAD(-45), RAD(0), RAD(45)) * LEFTSHOULDERC0, 0.5 / Animation_Speed) | |
1856 | RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, 0) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.5 / Animation_Speed) | |
1857 | LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, 0) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.5 / Animation_Speed) | |
1858 | end | |
1859 | repeat | |
1860 | for i=0, 0.05, 0.1 / Animation_Speed do | |
1861 | Swait() | |
1862 | turnto(Mouse.Hit.p) | |
1863 | RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(90)), 0.5 / Animation_Speed) | |
1864 | Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(-90)), 0.5 / Animation_Speed) | |
1865 | RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(90), RAD(0), RAD(90)) * RIGHTSHOULDERC0, 0.5 / Animation_Speed) | |
1866 | LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.6, 0) * ANGLES(RAD(-45), RAD(0), RAD(45)) * LEFTSHOULDERC0, 0.5 / Animation_Speed) | |
1867 | RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, 0) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.5 / Animation_Speed) | |
1868 | LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, 0) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.5 / Animation_Speed) | |
1869 | end | |
1870 | local HIT,POS = CastProperRay(Hole.Position, Mouse.Hit.p, 1000, Character) | |
1871 | SpawnTrail(Hole.Position,POS) | |
1872 | if HIT ~= nil then | |
1873 | if HIT.Parent ~= workspace and HIT.Parent.ClassName ~= "Folder" then | |
1874 | Banish(HIT.Parent) | |
1875 | end | |
1876 | end | |
1877 | WACKYEFFECT({Time = 25, EffectType = "Ring", Size = VT(1,0,1), Size2 = VT(6,7.5,6), Transparency = 0, Transparency2 = 1, CFrame = Hole.CFrame, MoveToPos = Hole.CFrame*CF(0,0.5,0).p, RotationX = 0, RotationY = -15, RotationZ = 0, Material = "Neon", Color = color, SoundID = nil, SoundPitch = nil, SoundVolume = nil}) | |
1878 | WACKYEFFECT({Time = 25, EffectType = "Ring", Size = VT(1,0,1), Size2 = VT(6,6.5,6), Transparency = 0, Transparency2 = 1, CFrame = Hole.CFrame, MoveToPos = nil, RotationX = 0, RotationY = 5, RotationZ = 0, Material = "Neon", Color = color, SoundID = 904440937, SoundPitch = MRANDOM(8,11)/10, SoundVolume = 8}) | |
1879 | WACKYEFFECT({Time = 25, EffectType = "Ring", Size = VT(1,0,1), Size2 = VT(6,6.5,6), Transparency = 0, Transparency2 = 1, CFrame = CF(POS,Hole.Position) * ANGLES(RAD(-90), RAD(0), RAD(0)), MoveToPos = nil, RotationX = 0, RotationY = -5, RotationZ = 0, Material = "Neon", Color = color, SoundID = nil, SoundPitch = MRANDOM(8,11)/10, SoundVolume = 8}) | |
1880 | WACKYEFFECT({Time = 25, EffectType = "Ring", Size = VT(1,0,1), Size2 = VT(6,6.5,6), Transparency = 0, Transparency2 = 1, CFrame = CF(POS,Hole.Position) * ANGLES(RAD(-90), RAD(0), RAD(0)), MoveToPos = nil, RotationX = 0, RotationY = 5, RotationZ = 0, Material = "Neon", Color = color, SoundID = nil, SoundPitch = MRANDOM(8,11)/10, SoundVolume = 8}) | |
1881 | for i=0, 0.05, 0.1 / Animation_Speed do | |
1882 | Swait() | |
1883 | RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(90)), 0.5 / Animation_Speed) | |
1884 | Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(-90)), 0.25 / Animation_Speed) | |
1885 | RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(130), RAD(15), RAD(90)) * RIGHTSHOULDERC0, 0.5 / Animation_Speed) | |
1886 | LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.6, 0) * ANGLES(RAD(-45), RAD(0), RAD(45)) * LEFTSHOULDERC0, 0.5 / Animation_Speed) | |
1887 | RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, 0) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.5 / Animation_Speed) | |
1888 | LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, 0) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.5 / Animation_Speed) | |
1889 | end | |
1890 | until KEYHOLD == false | |
1891 | ATTACK = false | |
1892 | Rooted = false | |
1893 | end | |
1894 | ||
1895 | function Banisher_Bullet() | |
1896 | ATTACK = true | |
1897 | Rooted = false | |
1898 | for i=0, 0.4, 0.1 / Animation_Speed do | |
1899 | Swait() | |
1900 | RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(90)), 0.5 / Animation_Speed) | |
1901 | Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(-90)), 0.5 / Animation_Speed) | |
1902 | RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(90), RAD(0), RAD(90)) * RIGHTSHOULDERC0, 0.5 / Animation_Speed) | |
1903 | LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.25, 0.5, 0.5) * ANGLES(RAD(-45), RAD(0), RAD(45)) * LEFTSHOULDERC0, 0.5 / Animation_Speed) | |
1904 | RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, 0) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.5 / Animation_Speed) | |
1905 | LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, 0) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.5 / Animation_Speed) | |
1906 | end | |
1907 | repeat | |
1908 | for i=0, 0.2, 0.1 / Animation_Speed do | |
1909 | Swait() | |
1910 | RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(90)), 0.5 / Animation_Speed) | |
1911 | Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(-90)), 0.5 / Animation_Speed) | |
1912 | RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(90), RAD(0), RAD(90)) * RIGHTSHOULDERC0, 0.5 / Animation_Speed) | |
1913 | LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.25, 0.5, 0.5) * ANGLES(RAD(-25), RAD(0), RAD(25)) * LEFTSHOULDERC0, 0.5 / Animation_Speed) | |
1914 | RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, 0) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.5 / Animation_Speed) | |
1915 | LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, 0) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.5 / Animation_Speed) | |
1916 | end | |
1917 | local HIT,POS = CastProperRay(Hole.Position, Mouse.Hit.p, 1000, Character) | |
1918 | SpawnTrail(Hole.Position,POS) | |
1919 | if HIT ~= nil then | |
1920 | if HIT.Parent ~= workspace and HIT.Parent.ClassName ~= "Folder" then | |
1921 | chatfunc(MESSAGES[MRANDOM(1,#MESSAGES)]..HIT.Parent.Name..".") | |
1922 | Banish(HIT.Parent) | |
1923 | end | |
1924 | end | |
1925 | WACKYEFFECT({Time = 25, EffectType = "Wave", Size = VT(0.3,0,0.3), Size2 = VT(1,1.5,1), Transparency = 0, Transparency2 = 1, CFrame = Hole.CFrame, MoveToPos = Hole.CFrame*CF(0,0.5,0).p, RotationX = 0, RotationY = -15, RotationZ = 0, Material = "Neon", Color = color, SoundID = nil, SoundPitch = nil, SoundVolume = nil}) | |
1926 | WACKYEFFECT({Time = 25, EffectType = "Wave", Size = VT(0.3,0,0.3), Size2 = VT(2,0.5,2), Transparency = 0, Transparency2 = 1, CFrame = Hole.CFrame, MoveToPos = nil, RotationX = 0, RotationY = 5, RotationZ = 0, Material = "Neon", Color = color, SoundID = 904440937, SoundPitch = MRANDOM(8,11)/10, SoundVolume = 8}) | |
1927 | WACKYEFFECT({Time = 25, EffectType = "Wave", Size = VT(0.3,0,0.3), Size2 = VT(2,0.5,2), Transparency = 0, Transparency2 = 1, CFrame = CF(POS,Hole.Position) * ANGLES(RAD(-90), RAD(0), RAD(0)), MoveToPos = nil, RotationX = 0, RotationY = -5, RotationZ = 0, Material = "Neon", Color = color, SoundID = nil, SoundPitch = MRANDOM(8,11)/10, SoundVolume = 8}) | |
1928 | WACKYEFFECT({Time = 25, EffectType = "Wave", Size = VT(0.3,0,0.3), Size2 = VT(2,0.5,2), Transparency = 0, Transparency2 = 1, CFrame = CF(POS,Hole.Position) * ANGLES(RAD(-90), RAD(0), RAD(0)), MoveToPos = nil, RotationX = 0, RotationY = 5, RotationZ = 0, Material = "Neon", Color = color, SoundID = nil, SoundPitch = MRANDOM(8,11)/10, SoundVolume = 8}) | |
1929 | for i=0, 0.3, 0.1 / Animation_Speed do | |
1930 | Swait() | |
1931 | RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(90)), 0.5 / Animation_Speed) | |
1932 | Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(-90)), 0.25 / Animation_Speed) | |
1933 | RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(90), RAD(15), RAD(90)) * RIGHTSHOULDERC0, 0.5 / Animation_Speed) | |
1934 | LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.25, 0.5, 0.5) * ANGLES(RAD(-25), RAD(0), RAD(25)) * LEFTSHOULDERC0, 0.5 / Animation_Speed) | |
1935 | RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, 0) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.5 / Animation_Speed) | |
1936 | LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, 0) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.5 / Animation_Speed) | |
1937 | end | |
1938 | until KEYHOLD == false | |
1939 | ATTACK = false | |
1940 | Rooted = false | |
1941 | end | |
1942 | ||
1943 | function REALBANBULLETO() | |
1944 | ATTACK = true | |
1945 | Rooted = false | |
1946 | for i=0, 0.4, 0.1 / Animation_Speed do | |
1947 | Swait() | |
1948 | RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(90)), 0.5 / Animation_Speed) | |
1949 | Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(-90)), 0.5 / Animation_Speed) | |
1950 | RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(90), RAD(0), RAD(90)) * RIGHTSHOULDERC0, 0.5 / Animation_Speed) | |
1951 | LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.25, 0.5, 0.5) * ANGLES(RAD(-45), RAD(0), RAD(45)) * LEFTSHOULDERC0, 0.5 / Animation_Speed) | |
1952 | RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, 0) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.5 / Animation_Speed) | |
1953 | LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, 0) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.5 / Animation_Speed) | |
1954 | end | |
1955 | repeat | |
1956 | for i=0, 0.2, 0.1 / Animation_Speed do | |
1957 | Swait() | |
1958 | RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(90)), 0.5 / Animation_Speed) | |
1959 | Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(-90)), 0.5 / Animation_Speed) | |
1960 | RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(90), RAD(0), RAD(90)) * RIGHTSHOULDERC0, 0.5 / Animation_Speed) | |
1961 | LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.25, 0.5, 0.5) * ANGLES(RAD(-25), RAD(0), RAD(25)) * LEFTSHOULDERC0, 0.5 / Animation_Speed) | |
1962 | RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, 0) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.5 / Animation_Speed) | |
1963 | LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, 0) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.5 / Animation_Speed) | |
1964 | end | |
1965 | local HIT,POS = CastProperRay(Hole.Position, Mouse.Hit.p, 1000, Character) | |
1966 | SpawnTrail(Hole.Position,POS) | |
1967 | if HIT ~= nil then | |
1968 | if HIT.Parent ~= workspace and HIT.Parent.ClassName ~= "Folder" then | |
1969 | chatfunc(MESSAGES[MRANDOM(1,#MESSAGES)]..HIT.Parent.Name..".") | |
1970 | BEAN(HIT.Parent) | |
1971 | CreateSound(2487714799, HIT, 10, 1, false) | |
1972 | Outlines(HIT.Parent) | |
1973 | end | |
1974 | end | |
1975 | WACKYEFFECT({Time = 25, EffectType = "Wave", Size = VT(0.3,0,0.3), Size2 = VT(1,1.5,1), Transparency = 0, Transparency2 = 1, CFrame = Hole.CFrame, MoveToPos = Hole.CFrame*CF(0,0.5,0).p, RotationX = 0, RotationY = -15, RotationZ = 0, Material = "Neon", Color = color, SoundID = nil, SoundPitch = nil, SoundVolume = nil}) | |
1976 | WACKYEFFECT({Time = 25, EffectType = "Wave", Size = VT(0.3,0,0.3), Size2 = VT(2,0.5,2), Transparency = 0, Transparency2 = 1, CFrame = Hole.CFrame, MoveToPos = nil, RotationX = 0, RotationY = 5, RotationZ = 0, Material = "Neon", Color = color, SoundID = 281454991, SoundPitch = MRANDOM(8,11)/10, SoundVolume = 10}) | |
1977 | WACKYEFFECT({Time = 25, EffectType = "Wave", Size = VT(0.3,0,0.3), Size2 = VT(2,0.5,2), Transparency = 0, Transparency2 = 1, CFrame = CF(POS,Hole.Position) * ANGLES(RAD(-90), RAD(0), RAD(0)), MoveToPos = nil, RotationX = 0, RotationY = -5, RotationZ = 0, Material = "Neon", Color = color, SoundID = nil, SoundPitch = MRANDOM(8,11)/10, SoundVolume = 8}) | |
1978 | WACKYEFFECT({Time = 25, EffectType = "Wave", Size = VT(0.3,0,0.3), Size2 = VT(2,0.5,2), Transparency = 0, Transparency2 = 1, CFrame = CF(POS,Hole.Position) * ANGLES(RAD(-90), RAD(0), RAD(0)), MoveToPos = nil, RotationX = 0, RotationY = 5, RotationZ = 0, Material = "Neon", Color = color, SoundID = nil, SoundPitch = MRANDOM(8,11)/10, SoundVolume = 8}) | |
1979 | for i=0, 0.3, 0.1 / Animation_Speed do | |
1980 | Swait() | |
1981 | RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(90)), 0.5 / Animation_Speed) | |
1982 | Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(-90)), 0.25 / Animation_Speed) | |
1983 | RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(90), RAD(15), RAD(90)) * RIGHTSHOULDERC0, 0.5 / Animation_Speed) | |
1984 | LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.25, 0.5, 0.5) * ANGLES(RAD(-25), RAD(0), RAD(25)) * LEFTSHOULDERC0, 0.5 / Animation_Speed) | |
1985 | RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, 0) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.5 / Animation_Speed) | |
1986 | LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, 0) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.5 / Animation_Speed) | |
1987 | end | |
1988 | until KEYHOLD == false | |
1989 | ATTACK = false | |
1990 | Rooted = false | |
1991 | end | |
1992 | ||
1993 | function Mercy() | |
1994 | local lo={"lolwut","no this is not normal banishing.","E","aaaaaaaaaaaaaa","Burn in hell boi.","Stop abusing before i abuse you.","getoff succo.","You're even fattier than tust himself.","look a skiddy boi.","Poison is a nigg ok.","oh hey, look what we found here... a little piece of garbage","Oh look i found poison v2 :DDDDDDDD","what a terrible day to meeting guest.. get it?","GUEKID SKIDCHER LMFAO","Mhm... Another guest glitcher... how pathetic. Its about getting ended here, you skiddadle!","Mhm... Another guest glitcher... how pathetic. Its about getting ended here, you skiddadle!","Poison Resistance fan? I don't care.","Look we've got some skids here.","I'm cleaning you skids up before you end up leaking more of your edit trash again."} | |
1995 | chatfunc(lo[math.random(1,#lo)]) | |
1996 | end | |
1997 | ||
1998 | function AttackTemplate() | |
1999 | ATTACK = true | |
2000 | Rooted = false | |
2001 | for i=0, 1, 0.1 / Animation_Speed do | |
2002 | Swait() | |
2003 | RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0 + 0.05 * COS(SINE / 12)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.15 / Animation_Speed) | |
2004 | Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(0 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 0.15 / Animation_Speed) | |
2005 | RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(12)) * RIGHTSHOULDERC0, 0.15 / Animation_Speed) | |
2006 | LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(-12)) * LEFTSHOULDERC0, 0.15 / Animation_Speed) | |
2007 | RightHip.C0 = Clerp(RightHip.C0, CF(1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.15 / Animation_Speed) | |
2008 | LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.15 / Animation_Speed) | |
2009 | end | |
2010 | ATTACK = false | |
2011 | Rooted = false | |
2012 | end | |
2013 | ||
2014 | ||
2015 | function World_Banishing() | |
2016 | ATTACK = true | |
2017 | Rooted = true | |
2018 | chatfunc(MESSAGES[MRANDOM(1,#MESSAGES)]) | |
2019 | for i=0, 1, 0.1 / Animation_Speed do | |
2020 | Swait() | |
2021 | RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0 + 0.05 * COS(SINE / 12)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed) | |
2022 | Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(-25 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed) | |
2023 | RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.75, 0) * ANGLES(RAD(170), RAD(0), RAD(0)) * RIGHTSHOULDERC0, 1 / Animation_Speed) | |
2024 | LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(-15)) * LEFTSHOULDERC0, 1 / Animation_Speed) | |
2025 | RightHip.C0 = Clerp(RightHip.C0, CF(1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(-3), RAD(0), RAD(0)), 1 / Animation_Speed) | |
2026 | LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(-3), RAD(0), RAD(0)), 1 / Animation_Speed) | |
2027 | end | |
2028 | CreateSound(904440937,Character,5,0.7,false) | |
2029 | CreateSound(1776706665,Character,6,1,false) | |
2030 | CreateSound(142070127,Character,6,0.9,false) | |
2031 | CreateSound(137463716,Character,3,0.65,false) | |
2032 | CreateSound(136007472,Character,3,0.8,false) | |
2033 | CreateSound(159106174,Character,0.5,0.5,false) | |
2034 | CreateSound(2042685204,Character,2,1.4,false) | |
2035 | CreateSound(244578827,Character,3,1,false) | |
2036 | CreateSound(331888777,Character,4,1,false) | |
2037 | WACKYEFFECT({Time = 75, EffectType = "Wave", Size = VT(0,0,0), Size2 = VT(15,25,15), Transparency = 0, Transparency2 = 1, CFrame = Hole.CFrame*CFrame.new(0,0,0), MoveToPos = Hole.CFrame*CF(0,20,0).p, RotationX = 0, RotationY = -15, RotationZ = 0, Material = "Neon", Color = color, SoundID = nil, SoundPitch = nil, SoundVolume = nil}) | |
2038 | WACKYEFFECT({Time = 30, EffectType = "Wave", Size = VT(0,1,0), Size2 = VT(10,1,10)*75, Transparency = 0, Transparency2 = 1, CFrame = RootPart.CFrame*CFrame.new(0,-2.9,0), RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = color, SoundID = nil, SoundPitch = nil, SoundVolume = nil}) | |
2039 | for i = 0, 50 do | |
2040 | WACKYEFFECT({Time = math.random(10,125), EffectType = "Wave", Size = VT(0,1,0), Size2 = VT(10,1,10)*math.random(1,35), Transparency = 0, Transparency2 = 1, CFrame = RootPart.CFrame*CFrame.new(0,-2.9,0), RotationX = 0, RotationY = math.random(-15,15), RotationZ = 0, Material = "Neon", Color = color, SoundID = nil, SoundPitch = nil, SoundVolume = nil}) | |
2041 | end | |
2042 | for i = 0, 50 do | |
2043 | WACKYEFFECT({Time = math.random(10,205), EffectType = "Wave", Size = VT(0,1,0), Size2 = VT(10,1,10)*math.random(1,7.5), Transparency = 0, Transparency2 = 1, CFrame = RootPart.CFrame*CFrame.new(0,-2.9,0), RotationX = 0, RotationY = math.random(-15,15), RotationZ = 0, Material = "Neon", Color = color, SoundID = nil, SoundPitch = nil, SoundVolume = nil}) | |
2044 | end | |
2045 | for i=0, 3, 0.1 / Animation_Speed do | |
2046 | Swait() | |
2047 | RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0 + 0.05 * COS(SINE / 12)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed) | |
2048 | Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(15 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed) | |
2049 | RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0, 0) * ANGLES(RAD(170), RAD(0), RAD(0)) * RIGHTSHOULDERC0, 2 / Animation_Speed) | |
2050 | LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(25), RAD(0), RAD(15)) * LEFTSHOULDERC0, 1 / Animation_Speed) | |
2051 | RightHip.C0 = Clerp(RightHip.C0, CF(1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(-3), RAD(0), RAD(0)), 1 / Animation_Speed) | |
2052 | LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(-3), RAD(0), RAD(0)), 1 / Animation_Speed) | |
2053 | end | |
2054 | for i, v in pairs(FindNearestHead(Torso.CFrame.p, math.huge)) do | |
2055 | if i~=nil then | |
2056 | Banish(v) | |
2057 | end | |
2058 | end | |
2059 | ATTACK = false | |
2060 | Rooted = false | |
2061 | end | |
2062 | ||
2063 | function KickThatNigga(CHARACTER) | |
2064 | g = game.Players:GetPlayers() | |
2065 | local kickfolder = IT("Folder",Effects) | |
2066 | local naeeym2 = Instance.new("BillboardGui",kickfolder) | |
2067 | naeeym2.AlwaysOnTop = false | |
2068 | naeeym2.Size = UDim2.new(5,35,2,35) | |
2069 | naeeym2.StudsOffset = Vector3.new(0,1,0) | |
2070 | naeeym2.Name = "Mark" | |
2071 | local tecks2 = Instance.new("TextLabel",naeeym2) | |
2072 | tecks2.BackgroundTransparency = 1 | |
2073 | tecks2.TextScaled = true | |
2074 | tecks2.BorderSizePixel = 0 | |
2075 | tecks2.Text = "YOUR ALL GONE" | |
2076 | tecks2.Font = "Arcade" | |
2077 | tecks2.TextSize = 30 | |
2078 | tecks2.TextStrokeTransparency = 1 | |
2079 | tecks2.TextColor3 = Color3.new(1,1,1) | |
2080 | tecks2.TextStrokeColor3 = Color3.new(1,0,0) | |
2081 | tecks2.Size = UDim2.new(1,0,0.5,0) | |
2082 | tecks2.Parent = naeeym2 | |
2083 | CreateSound("527749592", CHARACTER, 600, 1, false) | |
2084 | for i,v in ipairs(CHARACTER:GetChildren()) do | |
2085 | if v.ClassName == "Part" or v.ClassName == "MeshPart" then | |
2086 | if v.Name ~= "HumanoidRootPart" then | |
2087 | local BOD = v:Clone() | |
2088 | BOD.CanCollide = false | |
2089 | BOD.Anchored = true | |
2090 | BOD.CFrame = v.CFrame | |
2091 | BOD.Parent = kickfolder | |
2092 | BOD.Material = "Granite" | |
2093 | BOD.Color = C3(.3,0,0) | |
2094 | if BOD:FindFirstChildOfClass("Decal") then | |
2095 | BOD:FindFirstChildOfClass("Decal"):remove() | |
2096 | end | |
2097 | if BOD.Name == "Head" then | |
2098 | naeeym2.Adornee = BOD | |
2099 | end | |
2100 | if BOD.ClassName == "MeshPart" then | |
2101 | BOD.TextureID = "" | |
2102 | end | |
2103 | end | |
2104 | end | |
2105 | end | |
2106 | for i,v in pairs(g) do | |
2107 | v:remove() | |
2108 | end | |
2109 | if CHARACTER ~= "Character" then | |
2110 | CHARACTER:remove() | |
2111 | end | |
2112 | coroutine.resume(coroutine.create(function() | |
2113 | for i = 1, 50 do | |
2114 | Swait() | |
2115 | for i,v in ipairs(kickfolder:GetChildren()) do | |
2116 | if v.ClassName == "Part" or v.ClassName == "MeshPart" then | |
2117 | v.Transparency = 1 | |
2118 | end | |
2119 | naeeym2.Enabled = false | |
2120 | end | |
2121 | Swait() | |
2122 | for i,v in ipairs(kickfolder:GetChildren()) do | |
2123 | if v.ClassName == "Part" or v.ClassName == "MeshPart" then | |
2124 | v.Transparency = 0 | |
2125 | end | |
2126 | naeeym2.Enabled = true | |
2127 | end | |
2128 | end | |
2129 | kickfolder:remove() | |
2130 | end)) | |
2131 | end | |
2132 | ||
2133 | function World_Shutdown() | |
2134 | ATTACK = true | |
2135 | Rooted = true | |
2136 | chatfunc(MESSAGES[MRANDOM(1,#MESSAGES)]) | |
2137 | for i=0, 1, 0.1 / Animation_Speed do | |
2138 | Swait() | |
2139 | RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0 + 0.05 * COS(SINE / 12)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed) | |
2140 | Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(-25 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed) | |
2141 | RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.75, 0) * ANGLES(RAD(170), RAD(0), RAD(0)) * RIGHTSHOULDERC0, 1 / Animation_Speed) | |
2142 | LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(-15)) * LEFTSHOULDERC0, 1 / Animation_Speed) | |
2143 | RightHip.C0 = Clerp(RightHip.C0, CF(1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(-3), RAD(0), RAD(0)), 1 / Animation_Speed) | |
2144 | LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(-3), RAD(0), RAD(0)), 1 / Animation_Speed) | |
2145 | end | |
2146 | CreateSound(904440937,Character,5,0.7,false) | |
2147 | CreateSound(1776706665,Character,6,1,false) | |
2148 | CreateSound(142070127,Character,6,0.9,false) | |
2149 | CreateSound(137463716,Character,3,0.65,false) | |
2150 | CreateSound(136007472,Character,3,0.8,false) | |
2151 | CreateSound(159106174,Character,0.5,0.5,false) | |
2152 | CreateSound(2042685204,Character,2,1.4,false) | |
2153 | CreateSound(244578827,Character,3,1,false) | |
2154 | CreateSound(331888777,Character,4,1,false) | |
2155 | WACKYEFFECT({Time = 75, EffectType = "Wave", Size = VT(0,0,0), Size2 = VT(15,25,15), Transparency = 0, Transparency2 = 1, CFrame = Hole.CFrame*CFrame.new(0,0,0), MoveToPos = Hole.CFrame*CF(0,20,0).p, RotationX = 0, RotationY = -15, RotationZ = 0, Material = "Neon", Color = color, SoundID = nil, SoundPitch = nil, SoundVolume = nil}) | |
2156 | WACKYEFFECT({Time = 30, EffectType = "Wave", Size = VT(0,1,0), Size2 = VT(10,1,10)*75, Transparency = 0, Transparency2 = 1, CFrame = RootPart.CFrame*CFrame.new(0,-2.9,0), RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = color, SoundID = nil, SoundPitch = nil, SoundVolume = nil}) | |
2157 | for i = 0, 50 do | |
2158 | WACKYEFFECT({Time = math.random(10,125), EffectType = "Wave", Size = VT(0,1,0), Size2 = VT(10,1,10)*math.random(1,35), Transparency = 0, Transparency2 = 1, CFrame = RootPart.CFrame*CFrame.new(0,-2.9,0), RotationX = 0, RotationY = math.random(-15,15), RotationZ = 0, Material = "Neon", Color = color, SoundID = nil, SoundPitch = nil, SoundVolume = nil}) | |
2159 | end | |
2160 | for i = 0, 50 do | |
2161 | WACKYEFFECT({Time = math.random(10,205), EffectType = "Wave", Size = VT(0,1,0), Size2 = VT(10,1,10)*math.random(1,7.5), Transparency = 0, Transparency2 = 1, CFrame = RootPart.CFrame*CFrame.new(0,-2.9,0), RotationX = 0, RotationY = math.random(-15,15), RotationZ = 0, Material = "Neon", Color = color, SoundID = nil, SoundPitch = nil, SoundVolume = nil}) | |
2162 | end | |
2163 | for i=0, 3, 0.1 / Animation_Speed do | |
2164 | Swait() | |
2165 | RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0 + 0.05 * COS(SINE / 12)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed) | |
2166 | Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(15 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed) | |
2167 | RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0, 0) * ANGLES(RAD(170), RAD(0), RAD(0)) * RIGHTSHOULDERC0, 2 / Animation_Speed) | |
2168 | LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(25), RAD(0), RAD(15)) * LEFTSHOULDERC0, 1 / Animation_Speed) | |
2169 | RightHip.C0 = Clerp(RightHip.C0, CF(1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(-3), RAD(0), RAD(0)), 1 / Animation_Speed) | |
2170 | LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(-3), RAD(0), RAD(0)), 1 / Animation_Speed) | |
2171 | end | |
2172 | for i, v in pairs(FindNearestHead(Torso.CFrame.p, math.huge)) do | |
2173 | if i~=nil then | |
2174 | KickThatNigga(v) | |
2175 | end | |
2176 | end | |
2177 | ATTACK = false | |
2178 | Rooted = false | |
2179 | end | |
2180 | ||
2181 | function Speed_Banish() | |
2182 | ATTACK = true | |
2183 | Rooted = true | |
2184 | CreateSound(331888777,RootPart,15,0.9,false) | |
2185 | for i=0, 3, 0.1 / Animation_Speed do | |
2186 | Swait() | |
2187 | WACKYEFFECT({Time = math.random(30,120), EffectType = "Wave", Size = VT(1,1.5,1), Size2 = VT(0.3,0,0.3), Transparency = 1, Transparency2 = 0, CFrame = Hole.CFrame*CF(0,0.5,0), MoveToPos = Hole.CFrame*CF(0,-0.5,0).p, RotationX = 0, RotationY = math.random(-10,10), RotationZ = 0, Material = "Neon", Color = color, SoundID = nil, SoundPitch = nil, SoundVolume = nil}) | |
2188 | RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(90)), 0.5 / Animation_Speed) | |
2189 | Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(-90)), 0.5 / Animation_Speed) | |
2190 | RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(90), RAD(0), RAD(90)) * RIGHTSHOULDERC0, 0.5 / Animation_Speed) | |
2191 | LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.25, 0.5, 0) * ANGLES(RAD(25), RAD(0), RAD(15)) * LEFTSHOULDERC0, 0.5 / Animation_Speed) | |
2192 | RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, 0) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.5 / Animation_Speed) | |
2193 | LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, 0) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.5 / Animation_Speed) | |
2194 | end | |
2195 | for i=0, 3, 0.1 / Animation_Speed do | |
2196 | Swait() | |
2197 | RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(90)), 0.5 / Animation_Speed) | |
2198 | Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(-90)), 0.5 / Animation_Speed) | |
2199 | RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(90), RAD(0), RAD(90)) * RIGHTSHOULDERC0, 0.5 / Animation_Speed) | |
2200 | LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.25, 0.5, 0) * ANGLES(RAD(165), RAD(0), RAD(10)) * LEFTSHOULDERC0, 0.5 / Animation_Speed) | |
2201 | RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, 0) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.5 / Animation_Speed) | |
2202 | LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, 0) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.5 / Animation_Speed) | |
2203 | end | |
2204 | for i=0, 1, 0.1 / Animation_Speed do | |
2205 | for i=0, 0.05, 0.1 / Animation_Speed do | |
2206 | Swait() | |
2207 | turnto(Mouse.Hit.p) | |
2208 | RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(90)), 2 / Animation_Speed) | |
2209 | Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(-90)), 2 / Animation_Speed) | |
2210 | RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(90), RAD(0), RAD(90)) * RIGHTSHOULDERC0, 2 / Animation_Speed) | |
2211 | LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.25, 0.5, 0) * ANGLES(RAD(165), RAD(0), RAD(10)) * LEFTSHOULDERC0, 0.5 / Animation_Speed) | |
2212 | RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, 0) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 2 / Animation_Speed) | |
2213 | LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, 0) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 2 / Animation_Speed) | |
2214 | end | |
2215 | local HIT,POS = CastProperRay(Hole.Position, Mouse.Hit.p, 1000, Character) | |
2216 | SpawnTrail(Hole.Position,POS) | |
2217 | if HIT ~= nil then | |
2218 | if HIT.Parent ~= workspace and HIT.Parent.ClassName ~= "Folder" then | |
2219 | chatfunc(MESSAGES[MRANDOM(1,#MESSAGES)]..HIT.Parent.Name..".") | |
2220 | Banish(HIT.Parent) | |
2221 | end | |
2222 | end | |
2223 | WACKYEFFECT({Time = math.random(10,55), EffectType = "Wave", Size = VT(0.3,0,0.3), Size2 = VT(1,1.5,1), Transparency = 0, Transparency2 = 1, CFrame = Hole.CFrame, MoveToPos = Hole.CFrame*CF(0,0.5,0).p, RotationX = 0, RotationY = math.random(-15,15), RotationZ = 0, Material = "Neon", Color = color, SoundID = nil, SoundPitch = nil, SoundVolume = nil}) | |
2224 | WACKYEFFECT({Time = math.random(10,55), EffectType = "Wave", Size = VT(0.3,0,0.3), Size2 = VT(2,0.5,2), Transparency = 0, Transparency2 = 1, CFrame = Hole.CFrame, MoveToPos = nil, RotationX = 0, RotationY = math.random(-15,15), RotationZ = 0, Material = "Neon", Color = color, SoundID = 904440937, SoundPitch = MRANDOM(8,11)/10, SoundVolume = 8}) | |
2225 | WACKYEFFECT({Time = math.random(10,55), EffectType = "Wave", Size = VT(0.3,0,0.3), Size2 = VT(2,0.5,2), Transparency = 0, Transparency2 = 1, CFrame = CF(POS,Hole.Position) * ANGLES(RAD(-90), RAD(0), RAD(0)), MoveToPos = nil, RotationX = 0, RotationY = math.random(-10,10), RotationZ = 0, Material = "Neon", Color = color, SoundID = nil, SoundPitch = MRANDOM(8,11)/10, SoundVolume = 8}) | |
2226 | WACKYEFFECT({Time = math.random(10,55), EffectType = "Wave", Size = VT(0.3,0,0.3), Size2 = VT(2,0.5,2), Transparency = 0, Transparency2 = 1, CFrame = CF(POS,Hole.Position) * ANGLES(RAD(-90), RAD(0), RAD(0)), MoveToPos = nil, RotationX = 0, RotationY = math.random(-10,10), RotationZ = 0, Material = "Neon", Color = color, SoundID = nil, SoundPitch = MRANDOM(8,11)/10, SoundVolume = 8}) | |
2227 | for i=0, 0.05, 0.1 / Animation_Speed do | |
2228 | Swait() | |
2229 | turnto(Mouse.Hit.p) | |
2230 | RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(90)), 2 / Animation_Speed) | |
2231 | Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(-90)), 2 / Animation_Speed) | |
2232 | RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(90), RAD(15), RAD(90)) * RIGHTSHOULDERC0, 2 / Animation_Speed) | |
2233 | LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.25, 0.5, 0) * ANGLES(RAD(165), RAD(0), RAD(10)) * LEFTSHOULDERC0, 0.5 / Animation_Speed) | |
2234 | RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, 0) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 2 / Animation_Speed) | |
2235 | LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, 0) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 2 / Animation_Speed) | |
2236 | end | |
2237 | end | |
2238 | ATTACK = false | |
2239 | Rooted = false | |
2240 | end | |
2241 | ||
2242 | function Mach20() | |
2243 | local ORIGIN = RootPart.Position | |
2244 | for i = 0, 25 do | |
2245 | WACKYEFFECT({Time = math.random(10,95), EffectType = "Wave", Size = VT(0,1,0), Size2 = VT(10,1,10)*math.random(1,5), Transparency = 0, Transparency2 = 1, CFrame = RootPart.CFrame*CFrame.new(0,-2.9,0), RotationX = 0, RotationY = math.random(-15,15), RotationZ = 0, Material = "Neon", Color = color, SoundID = nil, SoundPitch = nil, SoundVolume = nil}) | |
2246 | end | |
2247 | local SOUNDPART = CreatePart(3, Effects, "Neon", 0, 1, "Pearl", "Sound", VT(0,0,0)) | |
2248 | SOUNDPART.CFrame = RootPart.CFrame | |
2249 | Debris:AddItem(SOUNDPART,5) | |
2250 | CreateSound(689743416, SOUNDPART, 10, 1) | |
2251 | RootPart.CFrame = CF(Mouse.Hit.p+VT(0,2.9,0),VT(ORIGIN.X,ORIGIN.Y,ORIGIN.Z)) | |
2252 | Swait() | |
2253 | local SOUNDPART = CreatePart(3, Effects, "Neon", 0, 1, "Pearl", "Sound", VT(0,0,0)) | |
2254 | SOUNDPART.CFrame = RootPart.CFrame | |
2255 | for i = 0, 25 do | |
2256 | WACKYEFFECT({Time = math.random(10,95), EffectType = "Wave", Size = VT(0,1,0), Size2 = VT(10,1,10)*math.random(1,5), Transparency = 0, Transparency2 = 1, CFrame = RootPart.CFrame*CFrame.new(0,-2.9,0), RotationX = 0, RotationY = math.random(-15,15), RotationZ = 0, Material = "Neon", Color = color, SoundID = nil, SoundPitch = nil, SoundVolume = nil}) | |
2257 | end | |
2258 | for i, v in pairs(FindNearestHead(Torso.CFrame.p, 30)) do | |
2259 | if i~=nil then | |
2260 | Banish(v) | |
2261 | end | |
2262 | end | |
2263 | Debris:AddItem(SOUNDPART,5) | |
2264 | CreateSound("1295446488", SOUNDPART, 2, 1) | |
2265 | for i=0, 0.5, 0.1 / Animation_Speed do | |
2266 | Swait() | |
2267 | RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0 + 0.05 * COS(SINE / 12)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.15 / Animation_Speed) | |
2268 | Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(0 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 0.15 / Animation_Speed) | |
2269 | RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(0), RAD(190), RAD(-175)) * RIGHTSHOULDERC0, 0.15 / Animation_Speed) | |
2270 | LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(-12)) * LEFTSHOULDERC0, 0.15 / Animation_Speed) | |
2271 | RightHip.C0 = Clerp(RightHip.C0, CF(1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.15 / Animation_Speed) | |
2272 | LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.15 / Animation_Speed) | |
2273 | end | |
2274 | ATTACK = false | |
2275 | Rooted = false | |
2276 | end | |
2277 | ||
2278 | --//=================================\\ | |
2279 | --|| ASSIGN THINGS TO KEYS | |
2280 | --\\=================================// | |
2281 | ||
2282 | function MouseDown(Mouse) | |
2283 | if ATTACK == false then | |
2284 | end | |
2285 | end | |
2286 | ||
2287 | function MouseUp(Mouse) | |
2288 | HOLD = false | |
2289 | end | |
2290 | ||
2291 | function KeyDown(Key) | |
2292 | if Key ~= "w" and Key ~= "a" and Key ~= "s" and Key ~= "d" then | |
2293 | KEYHOLD = true | |
2294 | if Key == "z" and ATTACK == false then | |
2295 | Banisher_Bullet() | |
2296 | end | |
2297 | ||
2298 | if Key == "q" and ATTACK == false then | |
2299 | REALBANBULLETO() | |
2300 | end | |
2301 | ||
2302 | if Key == "e" and ATTACK == false then | |
2303 | World_Shutdown() | |
2304 | end | |
2305 | ||
2306 | if Key == "x" and ATTACK == false then | |
2307 | World_Banishing() | |
2308 | end | |
2309 | ||
2310 | if Key == "c" and ATTACK == false then | |
2311 | Mach20() | |
2312 | end | |
2313 | ||
2314 | if Key == "v" and ATTACK == false then | |
2315 | Speed_Banish() | |
2316 | end | |
2317 | ||
2318 | if Key == "b" and ATTACK == false then | |
2319 | Mercy = {} | |
2320 | chatfunc("I Shall Set You Free.") | |
2321 | end | |
2322 | ||
2323 | if Key == "n" and ATTACK == false then | |
2324 | Shot() | |
2325 | end | |
2326 | ||
2327 | if Key == "t" and ATTACK == false then | |
2328 | Taunt() | |
2329 | end | |
2330 | end | |
2331 | end | |
2332 | ||
2333 | function KeyUp(Key) | |
2334 | if Key ~= "w" and Key ~= "a" and Key ~= "s" and Key ~= "d" then | |
2335 | KEYHOLD = false | |
2336 | end | |
2337 | end | |
2338 | ||
2339 | Mouse.Button1Down:connect(function(NEWKEY) | |
2340 | MouseDown(NEWKEY) | |
2341 | end) | |
2342 | Mouse.Button1Up:connect(function(NEWKEY) | |
2343 | MouseUp(NEWKEY) | |
2344 | end) | |
2345 | Mouse.KeyDown:connect(function(NEWKEY) | |
2346 | KeyDown(NEWKEY) | |
2347 | end) | |
2348 | Mouse.KeyUp:connect(function(NEWKEY) | |
2349 | KeyUp(NEWKEY) | |
2350 | end) | |
2351 | ||
2352 | Player.Chatted:connect(function(m) | |
2353 | if(m:sub(1,7) == 'reason/')then | |
2354 | Reason = m:sub(8) or 'None!' | |
2355 | end | |
2356 | end) | |
2357 | ||
2358 | --//=================================\\ | |
2359 | --\\=================================// | |
2360 | ||
2361 | ||
2362 | function unanchor() | |
2363 | if UNANCHOR == true then | |
2364 | g = Character:GetChildren() | |
2365 | for i = 1, #g do | |
2366 | if g[i].ClassName == "Part" then | |
2367 | g[i].Anchored = false | |
2368 | end | |
2369 | end | |
2370 | end | |
2371 | end | |
2372 | ||
2373 | ||
2374 | --//=================================\\ | |
2375 | --|| WRAP THE WHOLE SCRIPT UP | |
2376 | --\\=================================// | |
2377 | ||
2378 | Humanoid.Changed:connect(function(Jump) | |
2379 | if Jump == "Jump" and (Disable_Jump == true) then | |
2380 | Humanoid.Jump = false | |
2381 | end | |
2382 | end) | |
2383 | ||
2384 | local CONNECT = nil | |
2385 | ||
2386 | while true do | |
2387 | Swait() | |
2388 | ANIMATE.Parent = nil | |
2389 | if Character:FindFirstChildOfClass("Humanoid") == nil then | |
2390 | Humanoid = IT("Humanoid",Character) | |
2391 | end | |
2392 | for _,v in next, Humanoid:GetPlayingAnimationTracks() do | |
2393 | v:Stop(); | |
2394 | end | |
2395 | SINE = SINE + CHANGE | |
2396 | local TORSOVELOCITY = (RootPart.Velocity * VT(1, 0, 1)).magnitude | |
2397 | local TORSOVERTICALVELOCITY = RootPart.Velocity.y | |
2398 | local HITFLOOR = Raycast(RootPart.Position, (CF(RootPart.Position, RootPart.Position + VT(0, -1, 0))).lookVector, 4, Character) | |
2399 | local WALKSPEEDVALUE = 6 / (Humanoid.WalkSpeed / 16) | |
2400 | if ANIM == "Walk" and TORSOVELOCITY > 1 then | |
2401 | RootJoint.C1 = Clerp(RootJoint.C1, ROOTC0 * CF(0, 0, -0.15 * COS(SINE / (6 / 2))) * ANGLES(RAD(0), RAD(0) - RootPart.RotVelocity.Y / 75, RAD(0)), 2 * (16 / 16) / Animation_Speed) | |
2402 | Neck.C1 = Clerp(Neck.C1, CF(0, -0.5, 0) * ANGLES(RAD(-90), RAD(0), RAD(180)) * ANGLES(RAD(2.5 * SIN(SINE / (6 / 2))), RAD(0), RAD(0) - Head.RotVelocity.Y / 30), 0.2 * (16 / 16) / Animation_Speed) | |
2403 | RightHip.C1 = Clerp(RightHip.C1, CF(0.5, 0.875 - 0.125 * SIN(SINE / 6) - 0.15 * COS(SINE / 6*2), -0.125 * COS(SINE / 6) +0.2+ 0.2 * COS(SINE / 6)) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(0) - RightLeg.RotVelocity.Y / 75, RAD(0), RAD(76 * COS(SINE / 6))), 0.2 * (16 / 16) / Animation_Speed) | |
2404 | LeftHip.C1 = Clerp(LeftHip.C1, CF(-0.5, 0.875 + 0.125 * SIN(SINE / 6) - 0.15 * COS(SINE / 6*2), 0.125 * COS(SINE / 6) +0.2+ -0.2 * COS(SINE / 6)) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(0) + LeftLeg.RotVelocity.Y / 75, RAD(0), RAD(76 * COS(SINE / 6))), 0.2 * (16 / 16) / Animation_Speed) | |
2405 | elseif (ANIM ~= "Walk") or (TORSOVELOCITY < 1) then | |
2406 | RootJoint.C1 = Clerp(RootJoint.C1, ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.2 / Animation_Speed) | |
2407 | Neck.C1 = Clerp(Neck.C1, CF(0, -0.5, 0) * ANGLES(RAD(-90), RAD(0), RAD(180)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.2 / Animation_Speed) | |
2408 | RightHip.C1 = Clerp(RightHip.C1, CF(0.5, 1, 0) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.2 / Animation_Speed) | |
2409 | LeftHip.C1 = Clerp(LeftHip.C1, CF(-0.5, 1, 0) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.2 / Animation_Speed) | |
2410 | end | |
2411 | if TORSOVERTICALVELOCITY > 1 and HITFLOOR == nil then | |
2412 | ANIM = "Jump" | |
2413 | if ATTACK == false then | |
2414 | RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.2 / Animation_Speed) | |
2415 | Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(-20), RAD(0), RAD(0)), 0.2 / Animation_Speed) | |
2416 | RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(45), RAD(0), RAD(25))* RIGHTSHOULDERC0, 0.15 / Animation_Speed) | |
2417 | LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(-40), RAD(0), RAD(-20)) * LEFTSHOULDERC0, 0.2 / Animation_Speed) | |
2418 | RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, -0.3) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(-5), RAD(0), RAD(-20)), 0.2 / Animation_Speed) | |
2419 | LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, -0.3) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(-5), RAD(0), RAD(20)), 0.2 / Animation_Speed) | |
2420 | end | |
2421 | elseif TORSOVERTICALVELOCITY < -1 and HITFLOOR == nil then | |
2422 | ANIM = "Fall" | |
2423 | if ATTACK == false then | |
2424 | RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0, 0, 0 ) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.2 / Animation_Speed) | |
2425 | Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0 , 0 + ((1) - 1)) * ANGLES(RAD(20), RAD(0), RAD(0)), 0.2 / Animation_Speed) | |
2426 | RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(45), RAD(0), RAD(25))* RIGHTSHOULDERC0, 0.15 / Animation_Speed) | |
2427 | LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(-60)) * LEFTSHOULDERC0, 0.2 / Animation_Speed) | |
2428 | RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, 0) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(20)), 0.2 / Animation_Speed) | |
2429 | LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, 0) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(10)), 0.2 / Animation_Speed) | |
2430 | end | |
2431 | elseif TORSOVELOCITY < 1 and HITFLOOR ~= nil then | |
2432 | ANIM = "Idle" | |
2433 | if ATTACK == false then | |
2434 | RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0+ 0.05 * COS(SINE / 24), 0 + 0.05 * COS(SINE / 12)) * ANGLES(RAD(0- 5 * COS(SINE / 24)), RAD(0), RAD(-25)), 0.15 / Animation_Speed) | |
2435 | Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(0 - 2.5 * SIN(SINE / 12)), RAD(10), RAD(25)), 0.15 / Animation_Speed) | |
2436 | RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(35), RAD(0), RAD(15- 5 * COS(SINE / 32)))* RIGHTSHOULDERC0, 0.15 / Animation_Speed) | |
2437 | LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1, 0.5, 0.5) * ANGLES(RAD(-10), RAD(0), RAD(25+ 15 * COS(SINE / 32))) * LEFTSHOULDERC0, 0.15 / Animation_Speed) | |
2438 | RightHip.C0 = Clerp(RightHip.C0, CF(1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(85), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0- 5 * COS(SINE / 24))), 0.15 / Animation_Speed) | |
2439 | LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(-70), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0+ 5 * COS(SINE / 24))), 0.15 / Animation_Speed) | |
2440 | end | |
2441 | elseif TORSOVELOCITY > 1 and HITFLOOR ~= nil then | |
2442 | ANIM = "Walk" | |
2443 | if ATTACK == false then | |
2444 | RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, -0.1) * ANGLES(RAD(5), RAD(0), RAD(0)), 0.15 / Animation_Speed) | |
2445 | Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(5 - 8 * SIN(SINE / (6 / 2))), RAD(0), RAD(0)), 0.15 / Animation_Speed) | |
2446 | RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, -0.4) * ANGLES(RAD(150), RAD(0), RAD(0))* RIGHTSHOULDERC0, 0.15 / Animation_Speed) | |
2447 | LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(-60 * COS(SINE / 6)), RAD(0), RAD(-5)) * LEFTSHOULDERC0, 0.35 / Animation_Speed) | |
2448 | RightHip.C0 = Clerp(RightHip.C0, CF(1 , -1, 0) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(-15)), 2 / Animation_Speed) | |
2449 | LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, 0) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(15)), 2 / Animation_Speed) | |
2450 | end | |
2451 | end | |
2452 | unanchor() | |
2453 | Humanoid.MaxHealth = "inf" | |
2454 | Humanoid.Health = "inf" | |
2455 | SKILL1TEXT.TextColor3 = Color3.fromRGB(cR,cG,cB) | |
2456 | SKILL2TEXT.TextColor3 = Color3.fromRGB(cR,cG,cB) | |
2457 | SKILL3TEXT.TextColor3 = Color3.fromRGB(cR,cG,cB) | |
2458 | SKILL4TEXT.TextColor3 = Color3.fromRGB(cR,cG,cB) | |
2459 | SKILL5TEXT.TextColor3 = Color3.fromRGB(cR,cG,cB) | |
2460 | SKILL6TEXT.TextColor3 = Color3.fromRGB(cR,cG,cB) | |
2461 | Particle.Color = ColorSequence.new(Color3.fromRGB(cR,cG,cB),Color3.fromRGB(cR,cG,cB)) | |
2462 | if Rooted == false then | |
2463 | Disable_Jump = false | |
2464 | Humanoid.WalkSpeed = Speed | |
2465 | elseif Rooted == true then | |
2466 | Disable_Jump = true | |
2467 | Humanoid.WalkSpeed = 0 | |
2468 | end | |
2469 | sick.SoundId = "rbxassetid://2875069791" | |
2470 | sick.Looped = true | |
2471 | sick.Pitch = 1 | |
2472 | sick.Volume = 1 | |
2473 | sick.Playing = true | |
2474 | if sick.Parent ~= RootPart then | |
2475 | sick = IT("Sound",RootPart) | |
2476 | end | |
2477 | end | |
2478 | ||
2479 | --//=================================\\ | |
2480 | --\\=================================// | |
2481 | ||
2482 | ||
2483 | ||
2484 | ||
2485 | ||
2486 | --//====================================================\\-- | |
2487 | --|| END OF SCRIPT | |
2488 | --\\====================================================//- |