SHOW:
|
|
- or go back to the newest paste.
1 | --------------- | |
2 | --Ae0nian beta v1.4-- | |
3 | ---------------------------------------------------------------- | |
4 | print([[ | |
5 | --made by Makhail07/Theamazingnater | |
6 | --FE code by Mokiros | |
7 | --Edited by ozzak1003 | |
8 | --Re-edited by cade44889 -- | |
9 | --YT: https://www.youtube.com/channel/UC38cAdtSgPWJVEHV8zgZi6A-- | |
10 | --Discord: ozzak1003#3275 | |
11 | -------------------------------- | |
12 | hello good sir | |
13 | Don't leak pls | |
14 | Enjoy ;) | |
15 | -------------------------------- | |
16 | ]]) | |
17 | if game:GetService("RunService"):IsClient() then error("Script must be server-side in order to work; use h/ and not hl/") end | |
18 | local Player,game,owner = owner,game | |
19 | local RealPlayer = Player | |
20 | do | |
21 | print("FE Compatibility code by Mokiros") | |
22 | local rp = RealPlayer | |
23 | script.Parent = rp.Character | |
24 | ||
25 | --RemoteEvent for communicating | |
26 | local Event = Instance.new("RemoteEvent") | |
27 | Event.Name = "UserInput_Event" | |
28 | ||
29 | --Fake event to make stuff like Mouse.KeyDown work | |
30 | local function fakeEvent() | |
31 | local t = {_fakeEvent=true,Functions={},Connect=function(self,f)table.insert(self.Functions,f) end} | |
32 | t.connect = t.Connect | |
33 | return t | |
34 | end | |
35 | ||
36 | --Creating fake input objects with fake variables | |
37 | local m = {Target=nil,Hit=CFrame.new(),KeyUp=fakeEvent(),KeyDown=fakeEvent(),Button1Up=fakeEvent(),Button1Down=fakeEvent()} | |
38 | local UIS = {InputBegan=fakeEvent(),InputEnded=fakeEvent()} | |
39 | local CAS = {Actions={},BindAction=function(self,name,fun,touch,...) | |
40 | CAS.Actions[name] = fun and {Name=name,Function=fun,Keys={...}} or nil | |
41 | end} | |
42 | --Merged 2 functions into one by checking amount of arguments | |
43 | CAS.UnbindAction = CAS.BindAction | |
44 | ||
45 | --This function will trigger the events that have been :Connect()'ed | |
46 | local function te(self,ev,...) | |
47 | local t = m[ev] | |
48 | if t and t._fakeEvent then | |
49 | for _,f in pairs(t.Functions) do | |
50 | f(...) | |
51 | end | |
52 | end | |
53 | end | |
54 | m.TrigEvent = te | |
55 | UIS.TrigEvent = te | |
56 | ||
57 | Event.OnServerEvent:Connect(function(plr,io) | |
58 | if plr~=rp then return end | |
59 | m.Target = io.Target | |
60 | m.Hit = io.Hit | |
61 | if not io.isMouse then | |
62 | local b = io.UserInputState == Enum.UserInputState.Begin | |
63 | if io.UserInputType == Enum.UserInputType.MouseButton1 then | |
64 | return m:TrigEvent(b and "Button1Down" or "Button1Up") | |
65 | end | |
66 | for _,t in pairs(CAS.Actions) do | |
67 | for _,k in pairs(t.Keys) do | |
68 | if k==io.KeyCode then | |
69 | t.Function(t.Name,io.UserInputState,io) | |
70 | end | |
71 | end | |
72 | end | |
73 | m:TrigEvent(b and "KeyDown" or "KeyUp",io.KeyCode.Name:lower()) | |
74 | UIS:TrigEvent(b and "InputBegan" or "InputEnded",io,false) | |
75 | end | |
76 | end) | |
77 | Event.Parent = NLS([==[ | |
78 | local Player = game:GetService("Players").LocalPlayer | |
79 | local Event = script:WaitForChild("UserInput_Event") | |
80 | ||
81 | local Mouse = Player:GetMouse() | |
82 | local UIS = game:GetService("UserInputService") | |
83 | local input = function(io,a) | |
84 | if a then return end | |
85 | --Since InputObject is a client-side instance, we create and pass table instead | |
86 | Event:FireServer({KeyCode=io.KeyCode,UserInputType=io.UserInputType,UserInputState=io.UserInputState,Hit=Mouse.Hit,Target=Mouse.Target}) | |
87 | end | |
88 | UIS.InputBegan:Connect(input) | |
89 | UIS.InputEnded:Connect(input) | |
90 | ||
91 | local h,t | |
92 | --Give the server mouse data 30 times every second, but only if the values changed | |
93 | --If player is not moving their mouse, client won't fire events | |
94 | while wait(1/30) do | |
95 | if h~=Mouse.Hit or t~=Mouse.Target then | |
96 | h,t=Mouse.Hit,Mouse.Target | |
97 | Event:FireServer({isMouse=true,Target=t,Hit=h}) | |
98 | end | |
99 | end]==],Player.Character) | |
100 | ||
101 | ----Sandboxed game object that allows the usage of client-side methods and services | |
102 | --Real game object | |
103 | local _rg = game | |
104 | ||
105 | --Metatable for fake service | |
106 | local fsmt = { | |
107 | __index = function(self,k) | |
108 | local s = rawget(self,"_RealService") | |
109 | if s then return s[k] end | |
110 | end, | |
111 | __newindex = function(self,k,v) | |
112 | local s = rawget(self,"_RealService") | |
113 | if s then s[k]=v end | |
114 | end, | |
115 | __call = function(self,...) | |
116 | local s = rawget(self,"_RealService") | |
117 | if s then return s(...) end | |
118 | end | |
119 | } | |
120 | local function FakeService(t,RealService) | |
121 | t._RealService = typeof(RealService)=="string" and _rg:GetService(RealService) or RealService | |
122 | return setmetatable(t,fsmt) | |
123 | end | |
124 | ||
125 | --Fake game object | |
126 | local g = { | |
127 | GetService = function(self,s) | |
128 | return self[s] | |
129 | end, | |
130 | Players = FakeService({ | |
131 | LocalPlayer = FakeService({GetMouse=function(self)return m end},Player) | |
132 | },"Players"), | |
133 | UserInputService = FakeService(UIS,"UserInputService"), | |
134 | ContextActionService = FakeService(CAS,"ContextActionService"), | |
135 | } | |
136 | rawset(g.Players,"localPlayer",g.Players.LocalPlayer) | |
137 | g.service = g.GetService | |
138 | ||
139 | g.RunService = FakeService({ | |
140 | RenderStepped = _rg:GetService("RunService").Heartbeat, | |
141 | BindToRenderStep = function(self,name,_,fun) | |
142 | self._btrs[name] = self.Heartbeat:Connect(fun) | |
143 | end, | |
144 | UnbindFromRenderStep = function(self,name) | |
145 | self._btrs[name]:Disconnect() | |
146 | end, | |
147 | },"RunService") | |
148 | ||
149 | setmetatable(g,{ | |
150 | __index=function(self,s) | |
151 | return _rg:GetService(s) or typeof(_rg[s])=="function" | |
152 | and function(_,...)return _rg[s](_rg,...)end or _rg[s] | |
153 | end, | |
154 | __newindex = fsmt.__newindex, | |
155 | __call = fsmt.__call | |
156 | }) | |
157 | --Changing owner to fake player object to support owner:GetMouse() | |
158 | game,owner = g,g.Players.LocalPlayer | |
159 | end | |
160 | ||
161 | Player = owner | |
162 | PlayerGui = Player.PlayerGui | |
163 | Cam = workspace.CurrentCamera | |
164 | Backpack = Player.Backpack | |
165 | Character = Player.Character | |
166 | Humanoid = Character.Humanoid | |
167 | Mouse = Player:GetMouse() | |
168 | RootPart = Character["HumanoidRootPart"] | |
169 | Torso = Character["Torso"] | |
170 | Head = Character["Head"] | |
171 | RightArm = Character["Right Arm"] | |
172 | LeftArm = Character["Left Arm"] | |
173 | RightLeg = Character["Right Leg"] | |
174 | LeftLeg = Character["Left Leg"] | |
175 | RootJoint = RootPart["RootJoint"] | |
176 | Neck = Torso["Neck"] | |
177 | RightShoulder = Torso["Right Shoulder"] | |
178 | LeftShoulder = Torso["Left Shoulder"] | |
179 | RightHip = Torso["Right Hip"] | |
180 | LeftHip = Torso["Left Hip"] | |
181 | ||
182 | Character = Player.Character | |
183 | Humanoid = Character.Humanoid | |
184 | ||
185 | ----- | |
186 | ||
187 | plr = game.Players.LocalPlayer | |
188 | char = plr.Character | |
189 | ||
190 | ||
191 | -- Defining RenderStepped? | |
192 | renders = game:GetService("RunService").RenderStepped | |
193 | -- Intro | |
194 | char.Torso.roblox.Texture = "rbxassetid://305296807" | |
195 | local rhandclone = game.Players.LocalPlayer.Character.Torso["Right Shoulder"]:Clone() | |
196 | local rhandweld = Instance.new("Weld", game.Players.LocalPlayer.Character.Torso) | |
197 | rhandweld.Part0 = game.Players.LocalPlayer.Character.Torso | |
198 | rhandweld.Part1 = game.Players.LocalPlayer.Character["Right Arm"] | |
199 | rhandweld.C0 = CFrame.new(1.5, 0, 0, 1, -1.6395192e-43, 0, -1.6395192e-43, 1, 0, 0, 0, 1) | |
200 | local lhandclone = game.Players.LocalPlayer.Character.Torso["Left Shoulder"]:Clone() | |
201 | local lhandweld = Instance.new("Weld", game.Players.LocalPlayer.Character.Torso) | |
202 | lhandweld.Part0 = game.Players.LocalPlayer.Character.Torso | |
203 | lhandweld.Part1 = game.Players.LocalPlayer.Character["Left Arm"] | |
204 | lhandweld.C0 = CFrame.new(-1.5, 0, 0, 1, -1.6395192e-43, 0, -1.6395192e-43, 1, 0, 0, 0, 1) | |
205 | local llegclone = game.Players.LocalPlayer.Character.Torso["Left Hip"]:Clone() | |
206 | game.Players.LocalPlayer.Character.Torso["Left Hip"]:Remove() | |
207 | local llegweld = Instance.new("Weld", game.Players.LocalPlayer.Character.Torso) | |
208 | llegweld.Part0 = game.Players.LocalPlayer.Character.Torso | |
209 | llegweld.Part1 = game.Players.LocalPlayer.Character["Left Leg"] | |
210 | llegweld.C0 = CFrame.new(-0.5, -1, 0, -0, -0, -1, 0, 1, 0, 1, 0, 0) * CFrame.new(0,-1,0) | |
211 | local rlegclone = game.Players.LocalPlayer.Character.Torso["Right Hip"]:Clone() | |
212 | game.Players.LocalPlayer.Character.Torso["Right Hip"]:Remove() | |
213 | local rlegweld = Instance.new("Weld", game.Players.LocalPlayer.Character.Torso) | |
214 | rlegweld.Part0 = game.Players.LocalPlayer.Character.Torso | |
215 | rlegweld.Part1 = game.Players.LocalPlayer.Character["Right Leg"] | |
216 | rlegweld.C0 = CFrame.new(0.5, -1, 0, 0, 0, 1, 0, 1, 0, -1, -0, -0) * CFrame.new(0,-1,0) | |
217 | local rootjointclone = game.Players.LocalPlayer.Character.HumanoidRootPart.RootJoint:Clone() | |
218 | game.Players.LocalPlayer.Character.HumanoidRootPart.RootJoint:Remove() | |
219 | local humanoidrootpart = Instance.new("Weld", game.Players.LocalPlayer.Character.Torso) | |
220 | humanoidrootpart.Part0 = game.Players.LocalPlayer.Character.HumanoidRootPart | |
221 | humanoidrootpart.Part1 = game.Players.LocalPlayer.Character.Torso | |
222 | local heed = game.Players.LocalPlayer.Character.Torso["Neck"]:Clone() | |
223 | local headweld = Instance.new("Weld", game.Players.LocalPlayer.Character.Torso) | |
224 | headweld.Part0 = game.Players.LocalPlayer.Character.Torso | |
225 | headweld.Part1 = game.Players.LocalPlayer.Character.Head | |
226 | headweld.C0 = headweld.C0 * CFrame.new(0,1.5,0) | |
227 | local gunshot = Instance.new("Sound",char.Torso) | |
228 | gunshot.Name = "BANG" | |
229 | gunshot.SoundId = "rbxassetid://213603013" | |
230 | gunshot.Volume = 2 | |
231 | gunshot:Play() | |
232 | char.Humanoid.WalkSpeed = 0 | |
233 | char.Humanoid.JumpPower = 0 | |
234 | for i = 0,1 , 0.03 do | |
235 | rlegweld.C0 = rlegweld.C0:lerp(CFrame.new(0.975958347, -2.06729031, 0, 0.905177712, -0.425033659, 8.83524214e-27, 0.425034732, 0.905179977, 4.223007e-27, -1.05518035e-26, 3.02922588e-28, 1.0000025),i) | |
236 | llegweld.C0 = llegweld.C0:lerp(CFrame.new(-0.901434898, -1.97289896, 0, 0.896831989, 0.442371875, -3.88750654e-27, -0.442372978, 0.896834254, 5.09510506e-27, 4.69530011e-27, -3.35739201e-27, 1.0000025),i) | |
237 | rhandweld.C0 = rhandweld.C0:lerp(CFrame.new(1.98829222, 0.555973053, 0, -0.0983736441, -0.995149612, 6.86624532e-27, 0.995152056, -0.0983738229, 1.33999472e-26, -1.25618211e-26, 9.13816473e-27, 1.0000025),i) | |
238 | lhandweld.C0 = lhandweld.C0:lerp(CFrame.new(-1.80910063, 0.148392916, 0, 0.586558223, 0.80990839, -5.84135723e-26, -0.809910417, 0.586559713, -6.21380681e-26, -1.6509281e-26, 8.28998148e-26, 1.0000025),i) | |
239 | humanoidrootpart.C0 = humanoidrootpart.C0:lerp(CFrame.new(0, -2.50004101, 2.00000429, 1, -4.90253133e-27, 8.98669496e-27, 8.98670343e-27, 1.77323375e-06, -1, 4.90251553e-27, 1, 1.77323375e-06),i) | |
240 | renders:wait() | |
241 | end | |
242 | wait(3) | |
243 | local scream = Instance.new("Sound",char.Torso) | |
244 | scream.SoundId = "rbxassetid://138167455" | |
245 | scream.Volume = 4 | |
246 | scream:Play() | |
247 | char.Head.face.Texture = "http://www.roblox.com/asset/?id=1364114735" | |
248 | for i = 0,1 , 0.03 do | |
249 | rhandweld.C0 = rhandweld.C0:lerp(CFrame.new(1.52452374, 0.510128379, -0.901310444, -0.0983733907, 0.0243432298, 0.994851828, 0.995149672, 0.00240636896, 0.0983439684, 2.91038305e-08, 0.999700963, -0.0244618785),i) | |
250 | renders:wait() | |
251 | end | |
252 | wait(5) | |
253 | char.Head.face.Texture = "http://www.roblox.com/asset/?id=295197013" | |
254 | for i = 0,1 , 0.03 do | |
255 | rhandweld.C0 = rhandweld.C0:lerp(CFrame.new(1.98829222, 0.555973053, 0, -0.0983736441, -0.995149612, 6.86624532e-27, 0.995152056, -0.0983738229, 1.33999472e-26, -1.25618211e-26, 9.13816473e-27, 1.0000025),i) | |
256 | renders:wait() | |
257 | end | |
258 | local Part0 = Instance.new("Part") | |
259 | Part0.Name = "bl00d" | |
260 | Part0.CanCollide = false | |
261 | Part0.Anchored = true | |
262 | Part0.Parent = char | |
263 | Part0.BrickColor = BrickColor.new("Crimson") | |
264 | Part0.Rotation = Vector3.new(0, 0, 90) | |
265 | Part0.Shape = Enum.PartType.Cylinder | |
266 | Part0.Size = Vector3.new(0.310000002, 1.77000022, 2) | |
267 | Part0.CFrame = CFrame.new(10.5427914, 1.28072846, 11.4908791, 4.47034836e-07, -1.00000215, 0, 1.00000215, 4.47034836e-07, 0, 0, 0, 1) | |
268 | Part0.Color = Color3.new(0.458824, 0, 0) | |
269 | Part0.Position = Vector3.new(10.5427914, 1.28072846, 11.4908791) | |
270 | Part0.Orientation = Vector3.new(0, 0, 90) | |
271 | Part0.Color = Color3.new(0.458824, 0, 0) | |
272 | for i = 1,400 do | |
273 | game.Players.LocalPlayer.Character.Head.CanCollide = false | |
274 | Part0.Size = Part0.Size + Vector3.new(0,0.01,0.01) | |
275 | Part0.CFrame = game.Players.LocalPlayer.Character.Torso.CFrame * CFrame.new(0,0,0.4) | |
276 | Part0.CFrame = Part0.CFrame * CFrame.fromEulerAnglesXYZ(0,math.pi/2,0) | |
277 | game:GetService("RunService").Stepped:wait() | |
278 | end | |
279 | wait(10) | |
280 | for i = 0,1 , 0.03 do | |
281 | lhandweld.C0 = lhandweld.C0:lerp(CFrame.new(-1.5, 0, 0, 1, -1.6395192e-43, 0, -1.6395192e-43, 1, 0, 0, 0, 1),i) | |
282 | llegweld.C0 = llegweld.C0:lerp(CFrame.new(-0.5, -1.9999913, 0, 1, 0, 0, 0, 0.999995589, 0, 0, 0, 1),i) | |
283 | rhandweld.C0 = rhandweld.C0:lerp(CFrame.new(1.5, 0, 0, 1, -1.6395192e-43, 0, -1.6395192e-43, 1, 0, 0, 0, 1),i) | |
284 | rlegweld.C0 = rlegweld.C0:lerp(CFrame.new(0.5, -1.9999913, 0, 1, 0, 0, 0, 0.999995589, 0, 0, 0, 1),i) | |
285 | headweld.C0 = headweld.C0:lerp(CFrame.new(0, 1.4999938, 0, 1, 0, 0, 0, 0.999995708, 0, 0, 0, 1),i) | |
286 | humanoidrootpart.C0 = humanoidrootpart.C0:lerp(CFrame.new(0, 0, 0, 1, 0, 0, 0, 0.999995708, 0, 0, 0, 1),i) | |
287 | renders:wait() | |
288 | end | |
289 | lhandweld:Destroy() | |
290 | llegweld:Destroy() | |
291 | rhandweld:Destroy() | |
292 | rlegweld:Destroy() | |
293 | headweld:Destroy() | |
294 | humanoidrootpart:Destroy() | |
295 | lhandclone.Parent = char.Torso | |
296 | llegclone.Parent = char.Torso | |
297 | rhandclone.Parent = char.Torso | |
298 | rlegclone.Parent = char.Torso | |
299 | heed.Parent = char.Torso | |
300 | rootjointclone.Parent = char.HumanoidRootPart | |
301 | char.Humanoid.WalkSpeed = 16 | |
302 | char.Humanoid.JumpPower = 50 | |
303 | -- the thing that follows you | |
304 | local part = Instance.new("Part",char) | |
305 | part.Transparency = 1 | |
306 | part.Size = Vector3.new(5.92, 0.05, 5.95) | |
307 | part.CanCollide = false | |
308 | local surfacegui = Instance.new("SurfaceGui",part) | |
309 | surfacegui.Adornee = part | |
310 | surfacegui.Face = "Top" | |
311 | surfacegui.AlwaysOnTop = false | |
312 | local image = Instance.new("ImageLabel",surfacegui) | |
313 | image.Size = UDim2.new(1.066, 0, 0.998, 0) | |
314 | image.Image = "rbxassetid://0" | |
315 | image.BackgroundTransparency = 1 | |
316 | local weld = Instance.new("Weld",part) | |
317 | weld.Part0 = part | |
318 | weld.Part1 = char.HumanoidRootPart | |
319 | for i = 0,1 , 0.05 do | |
320 | weld.C0 = weld.C0:lerp(CFrame.new(-0.232723236, 2.4942894, 0.332229614, 1, 0, 0, 0, 0.999996066, 0, 0, 0, 1),i) | |
321 | game:GetService("RunService").RenderStepped:wait() | |
322 | end | |
323 | -- Transparency | |
324 | char["Left Arm"].Transparency = 0.5 | |
325 | char["Left Leg"].Transparency = 0.5 | |
326 | char["Right Arm"].Transparency = 0.5 | |
327 | char["Right Leg"].Transparency = 0.5 | |
328 | char["Head"].Transparency = 0.5 | |
329 | char.Torso.Transparency = 0.5 | |
330 | --------- | |
331 | plr = game.Players.LocalPlayer | |
332 | chara = plr.Character | |
333 | mouse = plr:GetMouse() | |
334 | Create = Instance.new | |
335 | Huge = math.huge | |
336 | ||
337 | ||
338 | local shadowhead = Create("Part",chara.Head) | |
339 | shadowhead.BrickColor = BrickColor.new("Really black") | |
340 | shadowhead.Size = Vector3.new(1.2, 0.6, 1) | |
341 | shadowhead.CanCollide = false | |
342 | local shadowheadmesh = Create("SpecialMesh",shadowhead) | |
343 | shadowheadmesh.MeshType = "Head" | |
344 | shadowheadmesh.Scale = Vector3.new(1.26, 1.5, 1.26) | |
345 | local weld2 = Create("Weld",shadowhead) | |
346 | weld2.Part0 = shadowhead | |
347 | weld2.Part1 = chara.Head | |
348 | weld2.C1 = CFrame.new(0, 0.200000048, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1) | |
349 | ||
350 | Player = game:GetService("Players").LocalPlayer | |
351 | PlayerGui = Player.PlayerGui | |
352 | Cam = workspace.CurrentCamera | |
353 | Backpack = Player.Backpack | |
354 | Character = Player.Character | |
355 | char = Player.Character | |
356 | Humanoid = Character.Humanoid | |
357 | Mouse = Player:GetMouse() | |
358 | RootPart = Character["HumanoidRootPart"] | |
359 | Torso = Character["Torso"] | |
360 | Head = Character["Head"] | |
361 | RightArm = Character["Right Arm"] | |
362 | LeftArm = Character["Left Arm"] | |
363 | RightLeg = Character["Right Leg"] | |
364 | LeftLeg = Character["Left Leg"] | |
365 | RootJoint = RootPart["RootJoint"] | |
366 | Neck = Torso["Neck"] | |
367 | RightShoulder = Torso["Right Shoulder"] | |
368 | LeftShoulder = Torso["Left Shoulder"] | |
369 | RightHip = Torso["Right Hip"] | |
370 | LeftHip = Torso["Left Hip"] | |
371 | ||
372 | local Orin = "http://www.roblox.com/asset/?id=7074786" | |
373 | Head.face.Texture = Orin | |
374 | function weld(a, b, acf) | |
375 | local w = Instance.new("Weld", a) | |
376 | w.Part0 = a | |
377 | w.Part1 = b | |
378 | w.C0 = acf | |
379 | end | |
380 | ||
381 | local righteyebrickcolor = "Really red" | |
382 | local reye = Instance.new("Part", char) | |
383 | reye.CanCollide = false | |
384 | reye.BrickColor = BrickColor.new(righteyebrickcolor) | |
385 | reye.Material = "Neon" | |
386 | reye.Size = Vector3.new(.25,.35,.25) | |
387 | weld(reye, char.Head, CFrame.new(-0.12,-0.2,0.55), CFrame.new(1,0,0)) | |
388 | m1 = Instance.new("SpecialMesh", reye) | |
389 | m1.MeshType = "Sphere" | |
390 | m1.Scale = Vector3.new(0.9,0.9,0.9) | |
391 | reye.Locked = true | |
392 | reye.Name = "re" | |
393 | ||
394 | ||
395 | local righteyebrickcolor = "Toothpaste" | |
396 | local reye = Instance.new("Part", char) | |
397 | reye.CanCollide = false | |
398 | reye.BrickColor = BrickColor.new(righteyebrickcolor) | |
399 | reye.Material = "Neon" | |
400 | reye.Size = Vector3.new(.25,.35,.15) | |
401 | weld(reye, char.Head, CFrame.new(0.15,-0.2,0.55), CFrame.new(1,0,0)) | |
402 | m1 = Instance.new("SpecialMesh", reye) | |
403 | m1.MeshType = "Sphere" | |
404 | m1.Scale = Vector3.new(0.9,0.9,0.9) | |
405 | reye.Locked = true | |
406 | reye.Name = "re" | |
407 | -------------------------------- | |
408 | char.Head.face.Texture = "http://www.roblox.com/asset/?id=596345665" | |
409 | -------------------------------- | |
410 | ||
411 | wait() | |
412 | local plr = game:service'Players'.LocalPlayer | |
413 | print('Local User is '..plr.Name) | |
414 | print('God Loaded') | |
415 | print('hahahAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA') | |
416 | local char = plr.Character | |
417 | local hum = char.Humanoid | |
418 | local hed = char.Head | |
419 | local root = char.HumanoidRootPart | |
420 | local rootj = root.RootJoint | |
421 | local tors = char.Torso | |
422 | local ra = char["Right Arm"] | |
423 | local la = char["Left Arm"] | |
424 | local rl = char["Right Leg"] | |
425 | local ll = char["Left Leg"] | |
426 | local neck = tors["Neck"] | |
427 | local mouse = plr:GetMouse() | |
428 | local RootCF = CFrame.fromEulerAnglesXYZ(-1.57, 0, 3.14) | |
429 | local RHCF = CFrame.fromEulerAnglesXYZ(0, 1.6, 0) | |
430 | local LHCF = CFrame.fromEulerAnglesXYZ(0, -1.6, 0) | |
431 | local maincolor = BrickColor.new("Institutional white") | |
432 | ||
433 | ||
434 | ------------------------------------------------------- | |
435 | --Start Good Stuff-- | |
436 | ------------------------------------------------------- | |
437 | cam = game.Workspace.CurrentCamera | |
438 | CF = CFrame.new | |
439 | angles = CFrame.Angles | |
440 | attack = false | |
441 | Euler = CFrame.fromEulerAnglesXYZ | |
442 | Rad = math.rad | |
443 | IT = Instance.new | |
444 | BrickC = BrickColor.new | |
445 | Cos = math.cos | |
446 | Acos = math.acos | |
447 | Sin = math.sin | |
448 | Asin = math.asin | |
449 | Abs = math.abs | |
450 | Mrandom = math.random | |
451 | Floor = math.floor | |
452 | ------------------------------------------------------- | |
453 | --End Good Stuff-- | |
454 | ------------------------------------------------------- | |
455 | necko = CF(0, 1, 0, -1, -0, -0, 0, 0, 1, 0, 1, 0) | |
456 | RSH, LSH = nil, nil | |
457 | RW = Instance.new("Weld") | |
458 | LW = Instance.new("Weld") | |
459 | RH = tors["Right Hip"] | |
460 | LH = tors["Left Hip"] | |
461 | RSH = tors["Right Shoulder"] | |
462 | LSH = tors["Left Shoulder"] | |
463 | RSH.Parent = nil | |
464 | LSH.Parent = nil | |
465 | RW.Name = "RW" | |
466 | RW.Part0 = tors | |
467 | RW.C0 = CF(1.5, 0.5, 0) | |
468 | RW.C1 = CF(0, 0.5, 0) | |
469 | RW.Part1 = ra | |
470 | RW.Parent = tors | |
471 | LW.Name = "LW" | |
472 | LW.Part0 = tors | |
473 | LW.C0 = CF(-1.5, 0.5, 0) | |
474 | LW.C1 = CF(0, 0.5, 0) | |
475 | LW.Part1 = la | |
476 | LW.Parent = tors | |
477 | Effects = {} | |
478 | ------------------------------------------------------- | |
479 | --Start HeartBeat-- | |
480 | ------------------------------------------------------- | |
481 | ArtificialHB = Instance.new("BindableEvent", script) | |
482 | ArtificialHB.Name = "Heartbeat" | |
483 | script:WaitForChild("Heartbeat") | |
484 | ||
485 | frame = 1 / 60 | |
486 | tf = 0 | |
487 | allowframeloss = false | |
488 | tossremainder = false | |
489 | ||
490 | ||
491 | lastframe = tick() | |
492 | script.Heartbeat:Fire() | |
493 | ||
494 | ||
495 | game:GetService("RunService").Heartbeat:connect(function(s, p) | |
496 | tf = tf + s | |
497 | if tf >= frame then | |
498 | if allowframeloss then | |
499 | script.Heartbeat:Fire() | |
500 | lastframe = tick() | |
501 | else | |
502 | for i = 1, math.floor(tf / frame) do | |
503 | script.Heartbeat:Fire() | |
504 | end | |
505 | lastframe = tick() | |
506 | end | |
507 | if tossremainder then | |
508 | tf = 0 | |
509 | else | |
510 | tf = tf - frame * math.floor(tf / frame) | |
511 | end | |
512 | end | |
513 | end) | |
514 | ------------------------------------------------------- | |
515 | --End HeartBeat-- | |
516 | ------------------------------------------------------- | |
517 | ||
518 | ------------------------------------------------------- | |
519 | --Start Important Functions-- | |
520 | ------------------------------------------------------- | |
521 | function swait(num) | |
522 | if num == 0 or num == nil then | |
523 | game:service("RunService").Stepped:wait(0) | |
524 | else | |
525 | for i = 0, num do | |
526 | game:service("RunService").Stepped:wait(0) | |
527 | end | |
528 | end | |
529 | end | |
530 | function thread(f) | |
531 | coroutine.resume(coroutine.create(f)) | |
532 | end | |
533 | function clerp(a, b, t) | |
534 | local qa = { | |
535 | QuaternionFromCFrame(a) | |
536 | } | |
537 | local qb = { | |
538 | QuaternionFromCFrame(b) | |
539 | } | |
540 | local ax, ay, az = a.x, a.y, a.z | |
541 | local bx, by, bz = b.x, b.y, b.z | |
542 | local _t = 1 - t | |
543 | return QuaternionToCFrame(_t * ax + t * bx, _t * ay + t * by, _t * az + t * bz, QuaternionSlerp(qa, qb, t)) | |
544 | end | |
545 | function QuaternionFromCFrame(cf) | |
546 | local mx, my, mz, m00, m01, m02, m10, m11, m12, m20, m21, m22 = cf:components() | |
547 | local trace = m00 + m11 + m22 | |
548 | if trace > 0 then | |
549 | local s = math.sqrt(1 + trace) | |
550 | local recip = 0.5 / s | |
551 | return (m21 - m12) * recip, (m02 - m20) * recip, (m10 - m01) * recip, s * 0.5 | |
552 | else | |
553 | local i = 0 | |
554 | if m00 < m11 then | |
555 | i = 1 | |
556 | end | |
557 | if m22 > (i == 0 and m00 or m11) then | |
558 | i = 2 | |
559 | end | |
560 | if i == 0 then | |
561 | local s = math.sqrt(m00 - m11 - m22 + 1) | |
562 | local recip = 0.5 / s | |
563 | return 0.5 * s, (m10 + m01) * recip, (m20 + m02) * recip, (m21 - m12) * recip | |
564 | elseif i == 1 then | |
565 | local s = math.sqrt(m11 - m22 - m00 + 1) | |
566 | local recip = 0.5 / s | |
567 | return (m01 + m10) * recip, 0.5 * s, (m21 + m12) * recip, (m02 - m20) * recip | |
568 | elseif i == 2 then | |
569 | local s = math.sqrt(m22 - m00 - m11 + 1) | |
570 | local recip = 0.5 / s | |
571 | return (m02 + m20) * recip, (m12 + m21) * recip, 0.5 * s, (m10 - m01) * recip | |
572 | end | |
573 | end | |
574 | end | |
575 | function QuaternionToCFrame(px, py, pz, x, y, z, w) | |
576 | local xs, ys, zs = x + x, y + y, z + z | |
577 | local wx, wy, wz = w * xs, w * ys, w * zs | |
578 | local xx = x * xs | |
579 | local xy = x * ys | |
580 | local xz = x * zs | |
581 | local yy = y * ys | |
582 | local yz = y * zs | |
583 | local zz = z * zs | |
584 | 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)) | |
585 | end | |
586 | function QuaternionSlerp(a, b, t) | |
587 | local cosTheta = a[1] * b[1] + a[2] * b[2] + a[3] * b[3] + a[4] * b[4] | |
588 | local startInterp, finishInterp | |
589 | if cosTheta >= 1.0E-4 then | |
590 | if 1 - cosTheta > 1.0E-4 then | |
591 | local theta = math.acos(cosTheta) | |
592 | local invSinTheta = 1 / Sin(theta) | |
593 | startInterp = Sin((1 - t) * theta) * invSinTheta | |
594 | finishInterp = Sin(t * theta) * invSinTheta | |
595 | else | |
596 | startInterp = 1 - t | |
597 | finishInterp = t | |
598 | end | |
599 | elseif 1 + cosTheta > 1.0E-4 then | |
600 | local theta = math.acos(-cosTheta) | |
601 | local invSinTheta = 1 / Sin(theta) | |
602 | startInterp = Sin((t - 1) * theta) * invSinTheta | |
603 | finishInterp = Sin(t * theta) * invSinTheta | |
604 | else | |
605 | startInterp = t - 1 | |
606 | finishInterp = t | |
607 | end | |
608 | 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 | |
609 | end | |
610 | function rayCast(Position, Direction, Range, Ignore) | |
611 | return game:service("Workspace"):FindPartOnRay(Ray.new(Position, Direction.unit * (Range or 999.999)), Ignore) | |
612 | end | |
613 | local RbxUtility = LoadLibrary("RbxUtility") | |
614 | local Create = RbxUtility.Create | |
615 | ||
616 | ------------------------------------------------------- | |
617 | --Start Damage Function-- | |
618 | ------------------------------------------------------- | |
619 | function Damage(Part, hit, minim, maxim, knockback, Type, Property, Delay, HitSound, HitPitch) | |
620 | if hit.Parent == nil then | |
621 | return | |
622 | end | |
623 | local h = hit.Parent:FindFirstChildOfClass("Humanoid") | |
624 | for _, v in pairs(hit.Parent:children()) do | |
625 | if v:IsA("Humanoid") then | |
626 | h = v | |
627 | end | |
628 | end | |
629 | if h ~= nil and hit.Parent.Name ~= char.Name and hit.Parent:FindFirstChild("UpperTorso") ~= nil then | |
630 | ||
631 | hit.Parent:FindFirstChild("Head"):BreakJoints() | |
632 | end | |
633 | ||
634 | if h ~= nil and hit.Parent.Name ~= char.Name and hit.Parent:FindFirstChild("Torso") ~= nil then | |
635 | if hit.Parent:findFirstChild("DebounceHit") ~= nil then | |
636 | if hit.Parent.DebounceHit.Value == true then | |
637 | return | |
638 | end | |
639 | end | |
640 | if insta == true then | |
641 | hit.Parent:FindFirstChild("Head"):BreakJoints() | |
642 | end | |
643 | local c = Create("ObjectValue"){ | |
644 | Name = "creator", | |
645 | Value = game:service("Players").LocalPlayer, | |
646 | Parent = h, | |
647 | } | |
648 | game:GetService("Debris"):AddItem(c, .5) | |
649 | if HitSound ~= nil and HitPitch ~= nil then | |
650 | CFuncs.Sound.Create(HitSound, hit, 1, HitPitch) | |
651 | end | |
652 | local Damage = math.random(minim, maxim) | |
653 | local blocked = false | |
654 | local block = hit.Parent:findFirstChild("Block") | |
655 | if block ~= nil then | |
656 | if block.className == "IntValue" then | |
657 | if block.Value > 0 then | |
658 | blocked = true | |
659 | block.Value = block.Value - 1 | |
660 | print(block.Value) | |
661 | end | |
662 | end | |
663 | end | |
664 | if blocked == false then | |
665 | h.Health = h.Health - Damage | |
666 | ShowDamage((Part.CFrame * CFrame.new(0, 0, (Part.Size.Z / 2)).p + Vector3.new(0, 1.5, 0)), -Damage, 1.5, tors.BrickColor.Color) | |
667 | else | |
668 | h.Health = h.Health - (Damage / 2) | |
669 | ShowDamage((Part.CFrame * CFrame.new(0, 0, (Part.Size.Z / 2)).p + Vector3.new(0, 1.5, 0)), -Damage, 1.5, tors.BrickColor.Color) | |
670 | end | |
671 | if Type == "Knockdown" then | |
672 | local hum = hit.Parent.Humanoid | |
673 | hum.PlatformStand = true | |
674 | coroutine.resume(coroutine.create(function(HHumanoid) | |
675 | swait(1) | |
676 | HHumanoid.PlatformStand = false | |
677 | end), hum) | |
678 | local angle = (hit.Position - (Property.Position + Vector3.new(0, 0, 0))).unit | |
679 | local bodvol = Create("BodyVelocity"){ | |
680 | velocity = angle * knockback, | |
681 | P = 5000, | |
682 | maxForce = Vector3.new(8e+003, 8e+003, 8e+003), | |
683 | Parent = hit, | |
684 | } | |
685 | local rl = Create("BodyAngularVelocity"){ | |
686 | P = 3000, | |
687 | maxTorque = Vector3.new(500000, 500000, 500000) * 50000000000000, | |
688 | angularvelocity = Vector3.new(math.random(-10, 10), math.random(-10, 10), math.random(-10, 10)), | |
689 | Parent = hit, | |
690 | } | |
691 | game:GetService("Debris"):AddItem(bodvol, .5) | |
692 | game:GetService("Debris"):AddItem(rl, .5) | |
693 | elseif Type == "Normal" then | |
694 | local vp = Create("BodyVelocity"){ | |
695 | P = 500, | |
696 | maxForce = Vector3.new(math.huge, 0, math.huge), | |
697 | velocity = Property.CFrame.lookVector * knockback + Property.Velocity / 1.05, | |
698 | } | |
699 | if knockback > 0 then | |
700 | vp.Parent = hit.Parent.Torso | |
701 | end | |
702 | game:GetService("Debris"):AddItem(vp, .5) | |
703 | elseif Type == "Up" then | |
704 | local bodyVelocity = Create("BodyVelocity"){ | |
705 | velocity = Vector3.new(0, 20, 0), | |
706 | P = 5000, | |
707 | maxForce = Vector3.new(8e+003, 8e+003, 8e+003), | |
708 | Parent = hit, | |
709 | } | |
710 | game:GetService("Debris"):AddItem(bodyVelocity, .5) | |
711 | elseif Type == "DarkUp" then | |
712 | coroutine.resume(coroutine.create(function() | |
713 | for i = 0, 1, 0.1 do | |
714 | swait() | |
715 | Effects.Block.Create(BrickColor.new("Black"), hit.Parent.Torso.CFrame, 5, 5, 5, 1, 1, 1, .08, 1) | |
716 | end | |
717 | end)) | |
718 | local bodyVelocity = Create("BodyVelocity"){ | |
719 | velocity = Vector3.new(0, 20, 0), | |
720 | P = 5000, | |
721 | maxForce = Vector3.new(8e+003, 8e+003, 8e+003), | |
722 | Parent = hit, | |
723 | } | |
724 | game:GetService("Debris"):AddItem(bodyVelocity, 1) | |
725 | elseif Type == "Snare" then | |
726 | local bp = Create("BodyPosition"){ | |
727 | P = 2000, | |
728 | D = 100, | |
729 | maxForce = Vector3.new(math.huge, math.huge, math.huge), | |
730 | position = hit.Parent.Torso.Position, | |
731 | Parent = hit.Parent.Torso, | |
732 | } | |
733 | game:GetService("Debris"):AddItem(bp, 1) | |
734 | elseif Type == "Freeze" then | |
735 | local BodPos = Create("BodyPosition"){ | |
736 | P = 50000, | |
737 | D = 1000, | |
738 | maxForce = Vector3.new(math.huge, math.huge, math.huge), | |
739 | position = hit.Parent.Torso.Position, | |
740 | Parent = hit.Parent.Torso, | |
741 | } | |
742 | local BodGy = Create("BodyGyro") { | |
743 | maxTorque = Vector3.new(4e+005, 4e+005, 4e+005) * math.huge , | |
744 | P = 20e+003, | |
745 | Parent = hit.Parent.Torso, | |
746 | cframe = hit.Parent.Torso.CFrame, | |
747 | } | |
748 | hit.Parent.Torso.Anchored = true | |
749 | coroutine.resume(coroutine.create(function(Part) | |
750 | swait(1.5) | |
751 | Part.Anchored = false | |
752 | end), hit.Parent.Torso) | |
753 | game:GetService("Debris"):AddItem(BodPos, 3) | |
754 | game:GetService("Debris"):AddItem(BodGy, 3) | |
755 | end | |
756 | local debounce = Create("BoolValue"){ | |
757 | Name = "DebounceHit", | |
758 | Parent = hit.Parent, | |
759 | Value = true, | |
760 | } | |
761 | game:GetService("Debris"):AddItem(debounce, Delay) | |
762 | c = Create("ObjectValue"){ | |
763 | Name = "creator", | |
764 | Value = Player, | |
765 | Parent = h, | |
766 | } | |
767 | game:GetService("Debris"):AddItem(c, .5) | |
768 | end | |
769 | end | |
770 | ------------------------------------------------------- | |
771 | --End Damage Function-- | |
772 | ------------------------------------------------------- | |
773 | ||
774 | ------------------------------------------------------- | |
775 | --Start Damage Function Customization-- | |
776 | ------------------------------------------------------- | |
777 | function ShowDamage(Pos, Text, Time, Color) | |
778 | local Rate = (1 / 30) | |
779 | local Pos = (Pos or Vector3.new(0, 0, 0)) | |
780 | local Text = (Text or "") | |
781 | local Time = (Time or 2) | |
782 | local Color = (Color or Color3.new(1, 0, 1)) | |
783 | local EffectPart = CFuncs.Part.Create(workspace, "SmoothPlastic", 0, 1, BrickColor.new(Color), "Effect", Vector3.new(0, 0, 0)) | |
784 | EffectPart.Anchored = true | |
785 | local BillboardGui = Create("BillboardGui"){ | |
786 | Size = UDim2.new(3, 0, 3, 0), | |
787 | Adornee = EffectPart, | |
788 | Parent = EffectPart, | |
789 | } | |
790 | local TextLabel = Create("TextLabel"){ | |
791 | BackgroundTransparency = 1, | |
792 | Size = UDim2.new(1, 0, 1, 0), | |
793 | Text = Text, | |
794 | Font = "Bodoni", | |
795 | TextColor3 = Color, | |
796 | TextScaled = true, | |
797 | TextStrokeColor3 = Color3.fromRGB(0,0,0), | |
798 | Parent = BillboardGui, | |
799 | } | |
800 | game.Debris:AddItem(EffectPart, (Time)) | |
801 | EffectPart.Parent = game:GetService("Workspace") | |
802 | delay(0, function() | |
803 | local Frames = (Time / Rate) | |
804 | for Frame = 1, Frames do | |
805 | wait(Rate) | |
806 | local Percent = (Frame / Frames) | |
807 | EffectPart.CFrame = CFrame.new(Pos) + Vector3.new(0, Percent, 0) | |
808 | TextLabel.TextTransparency = Percent | |
809 | end | |
810 | if EffectPart and EffectPart.Parent then | |
811 | EffectPart:Destroy() | |
812 | end | |
813 | end) | |
814 | end | |
815 | ------------------------------------------------------- | |
816 | --End Damage Function Customization-- | |
817 | ------------------------------------------------------- | |
818 | ||
819 | function MagniDamage(Part, magni, mindam, maxdam, knock, Type) | |
820 | for _, c in pairs(workspace:children()) do | |
821 | local hum = c:findFirstChild("Humanoid") | |
822 | if hum ~= nil then | |
823 | local head = c:findFirstChild("Head") | |
824 | if head ~= nil then | |
825 | local targ = head.Position - Part.Position | |
826 | local mag = targ.magnitude | |
827 | if magni >= mag and c.Name ~= plr.Name then | |
828 | Damage(head, head, mindam, maxdam, knock, Type, root, 0.1, "http://www.roblox.com/asset/?id=0", 1.2) | |
829 | end | |
830 | end | |
831 | end | |
832 | end | |
833 | end | |
834 | ||
835 | ||
836 | CFuncs = { | |
837 | Part = { | |
838 | Create = function(Parent, Material, Reflectance, Transparency, BColor, Name, Size) | |
839 | local Part = Create("Part")({ | |
840 | Parent = Parent, | |
841 | Reflectance = Reflectance, | |
842 | Transparency = Transparency, | |
843 | CanCollide = false, | |
844 | Locked = true, | |
845 | BrickColor = BrickColor.new(tostring(BColor)), | |
846 | Name = Name, | |
847 | Size = Size, | |
848 | Material = Material | |
849 | }) | |
850 | RemoveOutlines(Part) | |
851 | return Part | |
852 | end | |
853 | }, | |
854 | Mesh = { | |
855 | Create = function(Mesh, Part, MeshType, MeshId, OffSet, Scale) | |
856 | local Msh = Create(Mesh)({ | |
857 | Parent = Part, | |
858 | Offset = OffSet, | |
859 | Scale = Scale | |
860 | }) | |
861 | if Mesh == "SpecialMesh" then | |
862 | Msh.MeshType = MeshType | |
863 | Msh.MeshId = MeshId | |
864 | end | |
865 | return Msh | |
866 | end | |
867 | }, | |
868 | Mesh = { | |
869 | Create = function(Mesh, Part, MeshType, MeshId, OffSet, Scale) | |
870 | local Msh = Create(Mesh)({ | |
871 | Parent = Part, | |
872 | Offset = OffSet, | |
873 | Scale = Scale | |
874 | }) | |
875 | if Mesh == "SpecialMesh" then | |
876 | Msh.MeshType = MeshType | |
877 | Msh.MeshId = MeshId | |
878 | end | |
879 | return Msh | |
880 | end | |
881 | }, | |
882 | Weld = { | |
883 | Create = function(Parent, Part0, Part1, C0, C1) | |
884 | local Weld = Create("Weld")({ | |
885 | Parent = Parent, | |
886 | Part0 = Part0, | |
887 | Part1 = Part1, | |
888 | C0 = C0, | |
889 | C1 = C1 | |
890 | }) | |
891 | return Weld | |
892 | end | |
893 | }, | |
894 | Sound = { | |
895 | Create = function(id, par, vol, pit) | |
896 | coroutine.resume(coroutine.create(function() | |
897 | local S = Create("Sound")({ | |
898 | Volume = vol, | |
899 | Pitch = pit or 1, | |
900 | SoundId = id, | |
901 | Parent = par or workspace | |
902 | }) | |
903 | wait() | |
904 | S:play() | |
905 | game:GetService("Debris"):AddItem(S, 6) | |
906 | end)) | |
907 | end | |
908 | }, | |
909 | ParticleEmitter = { | |
910 | Create = function(Parent, Color1, Color2, LightEmission, Size, Texture, Transparency, ZOffset, Accel, Drag, LockedToPart, VelocityInheritance, EmissionDirection, Enabled, LifeTime, Rate, Rotation, RotSpeed, Speed, VelocitySpread) | |
911 | local fp = Create("ParticleEmitter")({ | |
912 | Parent = Parent, | |
913 | Color = ColorSequence.new(Color1, Color2), | |
914 | LightEmission = LightEmission, | |
915 | Size = Size, | |
916 | Texture = Texture, | |
917 | Transparency = Transparency, | |
918 | ZOffset = ZOffset, | |
919 | Acceleration = Accel, | |
920 | Drag = Drag, | |
921 | LockedToPart = LockedToPart, | |
922 | VelocityInheritance = VelocityInheritance, | |
923 | EmissionDirection = EmissionDirection, | |
924 | Enabled = Enabled, | |
925 | Lifetime = LifeTime, | |
926 | Rate = Rate, | |
927 | Rotation = Rotation, | |
928 | RotSpeed = RotSpeed, | |
929 | Speed = Speed, | |
930 | VelocitySpread = VelocitySpread | |
931 | }) | |
932 | return fp | |
933 | end | |
934 | } | |
935 | } | |
936 | function RemoveOutlines(part) | |
937 | part.TopSurface, part.BottomSurface, part.LeftSurface, part.RightSurface, part.FrontSurface, part.BackSurface = 10, 10, 10, 10, 10, 10 | |
938 | end | |
939 | function CreatePart(FormFactor, Parent, Material, Reflectance, Transparency, BColor, Name, Size) | |
940 | local Part = Create("Part")({ | |
941 | formFactor = FormFactor, | |
942 | Parent = Parent, | |
943 | Reflectance = Reflectance, | |
944 | Transparency = Transparency, | |
945 | CanCollide = false, | |
946 | Locked = true, | |
947 | BrickColor = BrickColor.new(tostring(BColor)), | |
948 | Name = Name, | |
949 | Size = Size, | |
950 | Material = Material | |
951 | }) | |
952 | RemoveOutlines(Part) | |
953 | return Part | |
954 | end | |
955 | function CreateMesh(Mesh, Part, MeshType, MeshId, OffSet, Scale) | |
956 | local Msh = Create(Mesh)({ | |
957 | Parent = Part, | |
958 | Offset = OffSet, | |
959 | Scale = Scale | |
960 | }) | |
961 | if Mesh == "SpecialMesh" then | |
962 | Msh.MeshType = MeshType | |
963 | Msh.MeshId = MeshId | |
964 | end | |
965 | return Msh | |
966 | end | |
967 | function CreateWeld(Parent, Part0, Part1, C0, C1) | |
968 | local Weld = Create("Weld")({ | |
969 | Parent = Parent, | |
970 | Part0 = Part0, | |
971 | Part1 = Part1, | |
972 | C0 = C0, | |
973 | C1 = C1 | |
974 | }) | |
975 | return Weld | |
976 | end | |
977 | ||
978 | ||
979 | ------------------------------------------------------- | |
980 | --Start Effect Function-- | |
981 | ------------------------------------------------------- | |
982 | EffectModel = Instance.new("Model", char) | |
983 | Effects = { | |
984 | Block = { | |
985 | Create = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay, Type) | |
986 | local prt = CFuncs.Part.Create(EffectModel, "SmoothPlastic", 0, 0, brickcolor, "Effect", Vector3.new()) | |
987 | prt.Anchored = true | |
988 | prt.CFrame = cframe | |
989 | local msh = CFuncs.Mesh.Create("BlockMesh", prt, "", "", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1)) | |
990 | game:GetService("Debris"):AddItem(prt, 10) | |
991 | if Type == 1 or Type == nil then | |
992 | table.insert(Effects, { | |
993 | prt, | |
994 | "Block1", | |
995 | delay, | |
996 | x3, | |
997 | y3, | |
998 | z3, | |
999 | msh | |
1000 | }) | |
1001 | elseif Type == 2 then | |
1002 | table.insert(Effects, { | |
1003 | prt, | |
1004 | "Block2", | |
1005 | delay, | |
1006 | x3, | |
1007 | y3, | |
1008 | z3, | |
1009 | msh | |
1010 | }) | |
1011 | else | |
1012 | table.insert(Effects, { | |
1013 | prt, | |
1014 | "Block3", | |
1015 | delay, | |
1016 | x3, | |
1017 | y3, | |
1018 | z3, | |
1019 | msh | |
1020 | }) | |
1021 | end | |
1022 | end | |
1023 | }, | |
1024 | Sphere = { | |
1025 | Create = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay) | |
1026 | local prt = CFuncs.Part.Create(EffectModel, "Neon", 0, 0, brickcolor, "Effect", Vector3.new()) | |
1027 | prt.Anchored = true | |
1028 | prt.CFrame = cframe | |
1029 | local msh = CFuncs.Mesh.Create("SpecialMesh", prt, "Sphere", "", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1)) | |
1030 | game:GetService("Debris"):AddItem(prt, 10) | |
1031 | table.insert(Effects, { | |
1032 | prt, | |
1033 | "Cylinder", | |
1034 | delay, | |
1035 | x3, | |
1036 | y3, | |
1037 | z3, | |
1038 | msh | |
1039 | }) | |
1040 | end | |
1041 | }, | |
1042 | Cylinder = { | |
1043 | Create = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay) | |
1044 | local prt = CFuncs.Part.Create(EffectModel, "SmoothPlastic", 0, 0, brickcolor, "Effect", Vector3.new()) | |
1045 | prt.Anchored = true | |
1046 | prt.CFrame = cframe | |
1047 | local msh = CFuncs.Mesh.Create("CylinderMesh", prt, "", "", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1)) | |
1048 | game:GetService("Debris"):AddItem(prt, 10) | |
1049 | table.insert(Effects, { | |
1050 | prt, | |
1051 | "Cylinder", | |
1052 | delay, | |
1053 | x3, | |
1054 | y3, | |
1055 | z3, | |
1056 | msh | |
1057 | }) | |
1058 | end | |
1059 | }, | |
1060 | Wave = { | |
1061 | Create = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay) | |
1062 | local prt = CFuncs.Part.Create(EffectModel, "Neon", 0, 0, brickcolor, "Effect", Vector3.new()) | |
1063 | prt.Anchored = true | |
1064 | prt.CFrame = cframe | |
1065 | local msh = CFuncs.Mesh.Create("SpecialMesh", prt, "FileMesh", "rbxassetid://20329976", Vector3.new(0, 0, 0), Vector3.new(x1 / 60, y1 / 60, z1 / 60)) | |
1066 | game:GetService("Debris"):AddItem(prt, 10) | |
1067 | table.insert(Effects, { | |
1068 | prt, | |
1069 | "Cylinder", | |
1070 | delay, | |
1071 | x3 / 60, | |
1072 | y3 / 60, | |
1073 | z3 / 60, | |
1074 | msh | |
1075 | }) | |
1076 | end | |
1077 | }, | |
1078 | Ring = { | |
1079 | Create = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay) | |
1080 | local prt = CFuncs.Part.Create(EffectModel, "SmoothPlastic", 0, 0, brickcolor, "Effect", Vector3.new()) | |
1081 | prt.Anchored = true | |
1082 | prt.CFrame = cframe | |
1083 | local msh = CFuncs.Mesh.Create("SpecialMesh", prt, "FileMesh", "rbxassetid://3270017", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1)) | |
1084 | game:GetService("Debris"):AddItem(prt, 10) | |
1085 | table.insert(Effects, { | |
1086 | prt, | |
1087 | "Cylinder", | |
1088 | delay, | |
1089 | x3, | |
1090 | y3, | |
1091 | z3, | |
1092 | msh | |
1093 | }) | |
1094 | end | |
1095 | }, | |
1096 | Break = { | |
1097 | Create = function(brickcolor, cframe, x1, y1, z1) | |
1098 | local prt = CFuncs.Part.Create(EffectModel, "Neon", 0, 0, brickcolor, "Effect", Vector3.new(0.5, 0.5, 0.5)) | |
1099 | prt.Anchored = true | |
1100 | prt.CFrame = cframe * CFrame.fromEulerAnglesXYZ(math.random(-50, 50), math.random(-50, 50), math.random(-50, 50)) | |
1101 | local msh = CFuncs.Mesh.Create("SpecialMesh", prt, "Sphere", "", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1)) | |
1102 | local num = math.random(10, 50) / 1000 | |
1103 | game:GetService("Debris"):AddItem(prt, 10) | |
1104 | table.insert(Effects, { | |
1105 | prt, | |
1106 | "Shatter", | |
1107 | num, | |
1108 | prt.CFrame, | |
1109 | math.random() - math.random(), | |
1110 | 0, | |
1111 | math.random(50, 100) / 100 | |
1112 | }) | |
1113 | end | |
1114 | }, | |
1115 | Spiral = { | |
1116 | Create = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay) | |
1117 | local prt = CFuncs.Part.Create(EffectModel, "SmoothPlastic", 0, 0, brickcolor, "Effect", Vector3.new()) | |
1118 | prt.Anchored = true | |
1119 | prt.CFrame = cframe | |
1120 | local msh = CFuncs.Mesh.Create("SpecialMesh", prt, "FileMesh", "rbxassetid://1051557", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1)) | |
1121 | game:GetService("Debris"):AddItem(prt, 10) | |
1122 | table.insert(Effects, { | |
1123 | prt, | |
1124 | "Cylinder", | |
1125 | delay, | |
1126 | x3, | |
1127 | y3, | |
1128 | z3, | |
1129 | msh | |
1130 | }) | |
1131 | end | |
1132 | }, | |
1133 | Push = { | |
1134 | Create = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay) | |
1135 | local prt = CFuncs.Part.Create(EffectModel, "SmoothPlastic", 0, 0, brickcolor, "Effect", Vector3.new()) | |
1136 | prt.Anchored = true | |
1137 | prt.CFrame = cframe | |
1138 | local msh = CFuncs.Mesh.Create("SpecialMesh", prt, "FileMesh", "rbxassetid://437347603", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1)) | |
1139 | game:GetService("Debris"):AddItem(prt, 10) | |
1140 | table.insert(Effects, { | |
1141 | prt, | |
1142 | "Cylinder", | |
1143 | delay, | |
1144 | x3, | |
1145 | y3, | |
1146 | z3, | |
1147 | msh | |
1148 | }) | |
1149 | end | |
1150 | } | |
1151 | } | |
1152 | function part(formfactor ,parent, reflectance, transparency, brickcolor, name, size) | |
1153 | local fp = IT("Part") | |
1154 | fp.formFactor = formfactor | |
1155 | fp.Parent = parent | |
1156 | fp.Reflectance = reflectance | |
1157 | fp.Transparency = transparency | |
1158 | fp.CanCollide = false | |
1159 | fp.Locked = true | |
1160 | fp.BrickColor = brickcolor | |
1161 | fp.Name = name | |
1162 | fp.Size = size | |
1163 | fp.Position = tors.Position | |
1164 | RemoveOutlines(fp) | |
1165 | fp.Material = "SmoothPlastic" | |
1166 | fp:BreakJoints() | |
1167 | return fp | |
1168 | end | |
1169 | ||
1170 | function mesh(Mesh,part,meshtype,meshid,offset,scale) | |
1171 | local mesh = IT(Mesh) | |
1172 | mesh.Parent = part | |
1173 | if Mesh == "SpecialMesh" then | |
1174 | mesh.MeshType = meshtype | |
1175 | if meshid ~= "nil" then | |
1176 | mesh.MeshId = "http://www.roblox.com/asset/?id="..meshid | |
1177 | end | |
1178 | end | |
1179 | mesh.Offset = offset | |
1180 | mesh.Scale = scale | |
1181 | return mesh | |
1182 | end | |
1183 | ||
1184 | function Magic(bonuspeed, type, pos, scale, value, color, MType) | |
1185 | local type = type | |
1186 | local rng = Instance.new("Part", char) | |
1187 | rng.Anchored = true | |
1188 | rng.BrickColor = color | |
1189 | rng.CanCollide = false | |
1190 | rng.FormFactor = 3 | |
1191 | rng.Name = "Ring" | |
1192 | rng.Material = "Neon" | |
1193 | rng.Size = Vector3.new(1, 1, 1) | |
1194 | rng.Transparency = 0 | |
1195 | rng.TopSurface = 0 | |
1196 | rng.BottomSurface = 0 | |
1197 | rng.CFrame = pos | |
1198 | local rngm = Instance.new("SpecialMesh", rng) | |
1199 | rngm.MeshType = MType | |
1200 | rngm.Scale = scale | |
1201 | local scaler2 = 1 | |
1202 | if type == "Add" then | |
1203 | scaler2 = 1 * value | |
1204 | elseif type == "Divide" then | |
1205 | scaler2 = 1 / value | |
1206 | end | |
1207 | coroutine.resume(coroutine.create(function() | |
1208 | for i = 0, 10 / bonuspeed, 0.1 do | |
1209 | swait() | |
1210 | if type == "Add" then | |
1211 | scaler2 = scaler2 - 0.01 * value / bonuspeed | |
1212 | elseif type == "Divide" then | |
1213 | scaler2 = scaler2 - 0.01 / value * bonuspeed | |
1214 | end | |
1215 | rng.Transparency = rng.Transparency + 0.01 * bonuspeed | |
1216 | rngm.Scale = rngm.Scale + Vector3.new(scaler2 * bonuspeed, scaler2 * bonuspeed, scaler2 * bonuspeed) | |
1217 | end | |
1218 | rng:Destroy() | |
1219 | end)) | |
1220 | end | |
1221 | ||
1222 | function Eviscerate(dude) | |
1223 | if dude.Name ~= char then | |
1224 | local bgf = IT("BodyGyro", dude.Head) | |
1225 | bgf.CFrame = bgf.CFrame * CFrame.fromEulerAnglesXYZ(Rad(-90), 0, 0) | |
1226 | local val = IT("BoolValue", dude) | |
1227 | val.Name = "IsHit" | |
1228 | local ds = coroutine.wrap(function() | |
1229 | dude:WaitForChild("Head"):BreakJoints() | |
1230 | wait(0.5) | |
1231 | target = nil | |
1232 | coroutine.resume(coroutine.create(function() | |
1233 | for i, v in pairs(dude:GetChildren()) do | |
1234 | if v:IsA("Accessory") then | |
1235 | v:Destroy() | |
1236 | end | |
1237 | if v:IsA("Humanoid") then | |
1238 | v:Destroy() | |
1239 | end | |
1240 | if v:IsA("CharacterMesh") then | |
1241 | v:Destroy() | |
1242 | end | |
1243 | if v:IsA("Model") then | |
1244 | v:Destroy() | |
1245 | end | |
1246 | if v:IsA("Part") or v:IsA("MeshPart") then | |
1247 | for x, o in pairs(v:GetChildren()) do | |
1248 | if o:IsA("Decal") then | |
1249 | o:Destroy() | |
1250 | end | |
1251 | end | |
1252 | coroutine.resume(coroutine.create(function() | |
1253 | v.Material = "Neon" | |
1254 | v.CanCollide = false | |
1255 | local PartEmmit1 = IT("ParticleEmitter", v) | |
1256 | PartEmmit1.LightEmission = 1 | |
1257 | PartEmmit1.Texture = "rbxassetid://284205403" | |
1258 | PartEmmit1.Color = ColorSequence.new(maincolor.Color) | |
1259 | PartEmmit1.Rate = 150 | |
1260 | PartEmmit1.Lifetime = NumberRange.new(1) | |
1261 | PartEmmit1.Size = NumberSequence.new({ | |
1262 | NumberSequenceKeypoint.new(0, 0.75, 0), | |
1263 | NumberSequenceKeypoint.new(1, 0, 0) | |
1264 | }) | |
1265 | PartEmmit1.Transparency = NumberSequence.new({ | |
1266 | NumberSequenceKeypoint.new(0, 0, 0), | |
1267 | NumberSequenceKeypoint.new(1, 1, 0) | |
1268 | }) | |
1269 | PartEmmit1.Speed = NumberRange.new(0, 0) | |
1270 | PartEmmit1.VelocitySpread = 30000 | |
1271 | PartEmmit1.Rotation = NumberRange.new(-500, 500) | |
1272 | PartEmmit1.RotSpeed = NumberRange.new(-500, 500) | |
1273 | local BodPoss = IT("BodyPosition", v) | |
1274 | BodPoss.P = 3000 | |
1275 | BodPoss.D = 1000 | |
1276 | BodPoss.maxForce = Vector3.new(50000000000, 50000000000, 50000000000) | |
1277 | BodPoss.position = v.Position + Vector3.new(Mrandom(-15, 15), Mrandom(-15, 15), Mrandom(-15, 15)) | |
1278 | v.Color = maincolor.Color | |
1279 | coroutine.resume(coroutine.create(function() | |
1280 | for i = 0, 49 do | |
1281 | swait(1) | |
1282 | v.Transparency = v.Transparency + 0.08 | |
1283 | end | |
1284 | wait(0.5) | |
1285 | PartEmmit1.Enabled = false | |
1286 | wait(3) | |
1287 | v:Destroy() | |
1288 | dude:Destroy() | |
1289 | end)) | |
1290 | end)) | |
1291 | end | |
1292 | end | |
1293 | end)) | |
1294 | end) | |
1295 | ds() | |
1296 | end | |
1297 | end | |
1298 | ||
1299 | function FindNearestHead(Position, Distance, SinglePlayer) | |
1300 | if SinglePlayer then | |
1301 | return Distance > (SinglePlayer.Torso.CFrame.p - Position).magnitude | |
1302 | end | |
1303 | local List = {} | |
1304 | for i, v in pairs(workspace:GetChildren()) do | |
1305 | if v:IsA("Model") and v:findFirstChild("Head") and v ~= char and Distance >= (v.Head.Position - Position).magnitude then | |
1306 | table.insert(List, v) | |
1307 | end | |
1308 | end | |
1309 | return List | |
1310 | end | |
1311 | ||
1312 | function Aura(bonuspeed, FastSpeed, type, pos, x1, y1, z1, value, color, outerpos, MType) | |
1313 | local type = type | |
1314 | local rng = Instance.new("Part", char) | |
1315 | rng.Anchored = true | |
1316 | rng.BrickColor = color | |
1317 | rng.CanCollide = false | |
1318 | rng.FormFactor = 3 | |
1319 | rng.Name = "Ring" | |
1320 | rng.Material = "Neon" | |
1321 | rng.Size = Vector3.new(1, 1, 1) | |
1322 | rng.Transparency = 0 | |
1323 | rng.TopSurface = 0 | |
1324 | rng.BottomSurface = 0 | |
1325 | rng.CFrame = pos | |
1326 | rng.CFrame = rng.CFrame + rng.CFrame.lookVector * outerpos | |
1327 | local rngm = Instance.new("SpecialMesh", rng) | |
1328 | rngm.MeshType = MType | |
1329 | rngm.Scale = Vector3.new(x1, y1, z1) | |
1330 | local scaler2 = 1 | |
1331 | local speeder = FastSpeed | |
1332 | if type == "Add" then | |
1333 | scaler2 = 1 * value | |
1334 | elseif type == "Divide" then | |
1335 | scaler2 = 1 / value | |
1336 | end | |
1337 | coroutine.resume(coroutine.create(function() | |
1338 | for i = 0, 10 / bonuspeed, 0.1 do | |
1339 | swait() | |
1340 | if type == "Add" then | |
1341 | scaler2 = scaler2 - 0.01 * value / bonuspeed | |
1342 | elseif type == "Divide" then | |
1343 | scaler2 = scaler2 - 0.01 / value * bonuspeed | |
1344 | end | |
1345 | speeder = speeder - 0.01 * FastSpeed * bonuspeed | |
1346 | rng.CFrame = rng.CFrame + rng.CFrame.lookVector * speeder * bonuspeed | |
1347 | rng.Transparency = rng.Transparency + 0.01 * bonuspeed | |
1348 | rngm.Scale = rngm.Scale + Vector3.new(scaler2 * bonuspeed, scaler2 * bonuspeed, 0) | |
1349 | end | |
1350 | rng:Destroy() | |
1351 | end)) | |
1352 | end | |
1353 | ||
1354 | function SoulSteal(dude) | |
1355 | if dude.Name ~= char then | |
1356 | local bgf = IT("BodyGyro", dude.Head) | |
1357 | bgf.CFrame = bgf.CFrame * CFrame.fromEulerAnglesXYZ(Rad(-90), 0, 0) | |
1358 | local val = IT("BoolValue", dude) | |
1359 | val.Name = "IsHit" | |
1360 | local torso = (dude:FindFirstChild'Head' or dude:FindFirstChild'Torso' or dude:FindFirstChild'UpperTorso' or dude:FindFirstChild'LowerTorso' or dude:FindFirstChild'HumanoidRootPart') | |
1361 | local soulst = coroutine.wrap(function() | |
1362 | local soul = Instance.new("Part",dude) | |
1363 | soul.Size = Vector3.new(1,1,1) | |
1364 | soul.CanCollide = false | |
1365 | soul.Anchored = false | |
1366 | soul.Position = torso.Position | |
1367 | soul.Transparency = 1 | |
1368 | local PartEmmit1 = IT("ParticleEmitter", soul) | |
1369 | PartEmmit1.LightEmission = 1 | |
1370 | PartEmmit1.Texture = "rbxassetid://569507414" | |
1371 | PartEmmit1.Color = ColorSequence.new(maincolor.Color) | |
1372 | PartEmmit1.Rate = 250 | |
1373 | PartEmmit1.Lifetime = NumberRange.new(1.6) | |
1374 | PartEmmit1.Size = NumberSequence.new({ | |
1375 | NumberSequenceKeypoint.new(0, 1, 0), | |
1376 | NumberSequenceKeypoint.new(1, 0, 0) | |
1377 | }) | |
1378 | PartEmmit1.Transparency = NumberSequence.new({ | |
1379 | NumberSequenceKeypoint.new(0, 0, 0), | |
1380 | NumberSequenceKeypoint.new(1, 1, 0) | |
1381 | }) | |
1382 | PartEmmit1.Speed = NumberRange.new(0, 0) | |
1383 | PartEmmit1.VelocitySpread = 30000 | |
1384 | PartEmmit1.Rotation = NumberRange.new(-360, 360) | |
1385 | PartEmmit1.RotSpeed = NumberRange.new(-360, 360) | |
1386 | local BodPoss = IT("BodyPosition", soul) | |
1387 | BodPoss.P = 3000 | |
1388 | BodPoss.D = 1000 | |
1389 | BodPoss.maxForce = Vector3.new(50000000000, 50000000000, 50000000000) | |
1390 | BodPoss.position = torso.Position + Vector3.new(Mrandom(-15, 15), Mrandom(-15, 15), Mrandom(-15, 15)) | |
1391 | wait(1.6) | |
1392 | soul.Touched:connect(function(hit) | |
1393 | if hit.Parent == char then | |
1394 | soul:Destroy() | |
1395 | end | |
1396 | end) | |
1397 | wait(1.2) | |
1398 | while soul do | |
1399 | swait() | |
1400 | PartEmmit1.Color = ColorSequence.new(maincolor.Color) | |
1401 | BodPoss.Position = tors.Position | |
1402 | end | |
1403 | end) | |
1404 | soulst() | |
1405 | end | |
1406 | end | |
1407 | function FaceMouse() | |
1408 | local Cam = workspace.CurrentCamera | |
1409 | return { | |
1410 | CFrame.new(char.Torso.Position, Vector3.new(mouse.Hit.p.x, char.Torso.Position.y, mouse.Hit.p.z)), | |
1411 | Vector3.new(mouse.Hit.p.x, mouse.Hit.p.y, mouse.Hit.p.z) | |
1412 | } | |
1413 | end | |
1414 | ------------------------------------------------------- | |
1415 | --End Effect Function-- | |
1416 | ------------------------------------------------------- | |
1417 | function Cso(ID, PARENT, VOLUME, PITCH) | |
1418 | local NSound = nil | |
1419 | coroutine.resume(coroutine.create(function() | |
1420 | NSound = IT("Sound", PARENT) | |
1421 | NSound.Volume = VOLUME | |
1422 | NSound.Pitch = PITCH | |
1423 | NSound.SoundId = "http://www.roblox.com/asset/?id="..ID | |
1424 | swait() | |
1425 | NSound:play() | |
1426 | game:GetService("Debris"):AddItem(NSound, 10) | |
1427 | end)) | |
1428 | return NSound | |
1429 | end | |
1430 | function CameraEnshaking(Length, Intensity) | |
1431 | coroutine.resume(coroutine.create(function() | |
1432 | local intensity = 1 * Intensity | |
1433 | local rotM = 0.01 * Intensity | |
1434 | for i = 0, Length, 0.1 do | |
1435 | swait() | |
1436 | intensity = intensity - 0.05 * Intensity / Length | |
1437 | rotM = rotM - 5.0E-4 * Intensity / Length | |
1438 | hum.CameraOffset = Vector3.new(Rad(Mrandom(-intensity, intensity)), Rad(Mrandom(-intensity, intensity)), Rad(Mrandom(-intensity, intensity))) | |
1439 | cam.CFrame = cam.CFrame * CF(Rad(Mrandom(-intensity, intensity)), Rad(Mrandom(-intensity, intensity)), Rad(Mrandom(-intensity, intensity))) * Euler(Rad(Mrandom(-intensity, intensity)) * rotM, Rad(Mrandom(-intensity, intensity)) * rotM, Rad(Mrandom(-intensity, intensity)) * rotM) | |
1440 | end | |
1441 | hum.CameraOffset = Vector3.new(0, 0, 0) | |
1442 | end)) | |
1443 | end | |
1444 | function chatfunc(text, color) | |
1445 | local chat = coroutine.wrap(function() | |
1446 | if char:FindFirstChild("TalkingBillBoard") ~= nil then | |
1447 | char:FindFirstChild("TalkingBillBoard"):destroy() | |
1448 | end | |
1449 | local naeeym2 = Instance.new("BillboardGui", char) | |
1450 | naeeym2.Size = UDim2.new(0, 100, 0, 40) | |
1451 | naeeym2.StudsOffset = Vector3.new(0, 5, 0) | |
1452 | naeeym2.Adornee = hed | |
1453 | naeeym2.Name = "TalkingBillBoard" | |
1454 | local tecks2 = Instance.new("TextLabel", naeeym2) | |
1455 | tecks2.BackgroundTransparency = 1 | |
1456 | tecks2.BorderSizePixel = 0 | |
1457 | tecks2.Text = "" | |
1458 | tecks2.Font = "SciFi" | |
1459 | tecks2.TextSize = 30 | |
1460 | tecks2.TextStrokeTransparency = 0 | |
1461 | tecks2.TextColor3 = color | |
1462 | tecks2.TextStrokeColor3 = Color3.new(0, 0, 0) | |
1463 | tecks2.Size = UDim2.new(1, 0, 0.5, 0) | |
1464 | coroutine.resume(coroutine.create(function() | |
1465 | while true do | |
1466 | swait(1) | |
1467 | tecks2.Position = UDim2.new(0, math.random(-5, 5), 0, math.random(-5, 5)) | |
1468 | tecks2.Rotation = math.random(-5, 5) | |
1469 | end | |
1470 | end)) | |
1471 | for i = 1, string.len(text) do | |
1472 | CFuncs.Sound.Create("rbxassetid://274118116", hed, 5.25, 0.115) | |
1473 | tecks2.Text = string.sub(text, 1, i) | |
1474 | swait(1) | |
1475 | end | |
1476 | wait(1) | |
1477 | naeeym2:Destroy() | |
1478 | end) | |
1479 | chat() | |
1480 | end | |
1481 | ------------------------------------------------------- | |
1482 | --End Important Functions-- | |
1483 | ------------------------------------------------------- | |
1484 | ||
1485 | ||
1486 | ------------------------------------------------------- | |
1487 | --Start Customization-- | |
1488 | ------------------------------------------------------- | |
1489 | local Player_Size = 1 | |
1490 | if Player_Size ~= 1 then | |
1491 | root.Size = root.Size * Player_Size | |
1492 | tors.Size = tors.Size * Player_Size | |
1493 | hed.Size = hed.Size * Player_Size | |
1494 | ra.Size = ra.Size * Player_Size | |
1495 | la.Size = la.Size * Player_Size | |
1496 | rl.Size = rl.Size * Player_Size | |
1497 | ll.Size = ll.Size * Player_Size | |
1498 | ---------------------------------------------------------------------------------- | |
1499 | rootj.Parent = root | |
1500 | neck.Parent = tors | |
1501 | RW.Parent = tors | |
1502 | LW.Parent = tors | |
1503 | RH.Parent = tors | |
1504 | LH.Parent = tors | |
1505 | ---------------------------------------------------------------------------------- | |
1506 | rootj.C0 = RootCF * CF(0 * Player_Size, 0 * Player_Size, 0 * Player_Size) * angles(Rad(0), Rad(0), Rad(0)) | |
1507 | rootj.C1 = RootCF * CF(0 * Player_Size, 0 * Player_Size, 0 * Player_Size) * angles(Rad(0), Rad(0), Rad(0)) | |
1508 | neck.C0 = necko * CF(0 * Player_Size, 0 * Player_Size, 0 + ((1 * Player_Size) - 1)) * angles(Rad(0), Rad(0), Rad(0)) | |
1509 | neck.C1 = CF(0 * Player_Size, -0.5 * Player_Size, 0 * Player_Size) * angles(Rad(-90), Rad(0), Rad(180)) | |
1510 | RW.C0 = CF(1.5 * Player_Size, 0.5 * Player_Size, 0 * Player_Size) * angles(Rad(0), Rad(0), Rad(0)) --* RIGHTSHOULDERC0 | |
1511 | LW.C0 = CF(-1.5 * Player_Size, 0.5 * Player_Size, 0 * Player_Size) * angles(Rad(0), Rad(0), Rad(0)) --* LEFTSHOULDERC0 | |
1512 | ---------------------------------------------------------------------------------- | |
1513 | RH.C0 = CF(1 * Player_Size, -1 * Player_Size, 0 * Player_Size) * angles(Rad(0), Rad(90), Rad(0)) * angles(Rad(0), Rad(0), Rad(0)) | |
1514 | LH.C0 = CF(-1 * Player_Size, -1 * Player_Size, 0 * Player_Size) * angles(Rad(0), Rad(-90), Rad(0)) * angles(Rad(0), Rad(0), Rad(0)) | |
1515 | RH.C1 = CF(0.5 * Player_Size, 1 * Player_Size, 0 * Player_Size) * angles(Rad(0), Rad(90), Rad(0)) * angles(Rad(0), Rad(0), Rad(0)) | |
1516 | LH.C1 = CF(-0.5 * Player_Size, 1 * Player_Size, 0 * Player_Size) * angles(Rad(0), Rad(-90), Rad(0)) * angles(Rad(0), Rad(0), Rad(0)) | |
1517 | --hat.Parent = Character | |
1518 | end | |
1519 | ---------------------------------------------------------------------------------- | |
1520 | local SONG = 1567323605 | |
1521 | local SONG2 = 0 | |
1522 | local Music = Instance.new("Sound",tors) | |
1523 | Music.Volume = 3.5 | |
1524 | Music.Looped = true | |
1525 | Music.Pitch = 1 --Pitcher | |
1526 | ---------------------------------------------------------------------------------- | |
1527 | local equipped = false | |
1528 | local idle = 0 | |
1529 | local change = 1 | |
1530 | local val = 0 | |
1531 | local toim = 0 | |
1532 | local idleanim = 0.4 | |
1533 | local sine = 0 | |
1534 | local Sit = 1 | |
1535 | ---------------------------------------------------------------------------------- | |
1536 | hum.WalkSpeed = 16 | |
1537 | hum.JumpPower = 57 | |
1538 | hum.Animator.Parent = nil | |
1539 | ---------------------------------------------------------------------------------- | |
1540 | local Blobby = Instance.new("Part", char) | |
1541 | Blobby.Name = "Blob" | |
1542 | Blobby.CanCollide = false | |
1543 | Blobby.BrickColor = BrickColor.new("Really black") | |
1544 | Blobby.Transparency = 0 | |
1545 | Blobby.Material = "Plastic" | |
1546 | Blobby.Size = Vector3.new(1, 1, 2) | |
1547 | Blobby.TopSurface = Enum.SurfaceType.Smooth | |
1548 | Blobby.BottomSurface = Enum.SurfaceType.Smooth | |
1549 | ||
1550 | local Weld = Instance.new("Weld", Blobby) | |
1551 | Weld.Part0 = ra | |
1552 | Weld.Part1 = Blobby | |
1553 | Weld.C1 = CFrame.new(0, -2, 1.1) | |
1554 | Weld.C0 = CFrame.Angles(Rad(-86),0,0) | |
1555 | ||
1556 | local M2 = Instance.new("SpecialMesh") | |
1557 | M2.Parent = Blobby | |
1558 | M2.MeshId = "http://www.roblox.com/asset/?id=10604848" | |
1559 | M2.TextureId = "http://www.roblox.com/asset/?id=10605252" | |
1560 | M2.Scale = Vector3.new(1, 1, 1) | |
1561 | ||
1562 | --[[local naeeym2 = Instance.new("BillboardGui",char) | |
1563 | naeeym2.AlwaysOnTop = true | |
1564 | naeeym2.Size = UDim2.new(5,35,2,15) | |
1565 | naeeym2.StudsOffset = Vector3.new(0, 3.5, 0) | |
1566 | naeeym2.Adornee = hed | |
1567 | naeeym2.Name = "Name" | |
1568 | --naeeym2.PlayerToHideFrom = Player | |
1569 | local tecks2 = Instance.new("TextLabel",naeeym2) | |
1570 | tecks2.BackgroundTransparency = 1 | |
1571 | tecks2.TextScaled = true | |
1572 | tecks2.BorderSizePixel = 0 | |
1573 | tecks2.Text = "Fight Me" | |
1574 | tecks2.Font = Enum.Font.Bodoni | |
1575 | tecks2.TextSize = 30 | |
1576 | tecks2.TextStrokeTransparency = 0 | |
1577 | tecks2.TextColor3 = Color3.new(0, 0, 0) | |
1578 | tecks2.TextStrokeColor3 = Color3.new(1, 1, 1) | |
1579 | tecks2.Size = UDim2.new(1,0,0.5,0) | |
1580 | tecks2.Parent = naeeym2]] | |
1581 | ------------------------------------------------------- | |
1582 | --End Customization-- | |
1583 | ------------------------------------------------------- | |
1584 | wait(1) | |
1585 | player = game.Players.LocalPlayer | |
1586 | torso = player.Character:WaitForChild("Torso") | |
1587 | mouse = player:GetMouse() | |
1588 | ||
1589 | mouse.KeyDown:connect(function(key) | |
1590 | if key == "l" then | |
1591 | dist = (torso.Position - mouse.Hit.p).magnitude | |
1592 | if dist <= 10000 then | |
1593 | torso.CFrame = CFrame.new(mouse.Hit.p) + Vector3.new(0,3,0) | |
1594 | end | |
1595 | end | |
1596 | end) | |
1597 | ------------------------------------------------------- | |
1598 | --Start Attacks N Stuff-- | |
1599 | ------------------------------------------------------- | |
1600 | local naeeym2 = Instance.new("BillboardGui",char) | |
1601 | naeeym2.AlwaysOnTop = true | |
1602 | naeeym2.Size = UDim2.new(5,35,2,35) | |
1603 | naeeym2.StudsOffset = Vector3.new(0,2,0) | |
1604 | naeeym2.Adornee = hed | |
1605 | naeeym2.Name = "Name" | |
1606 | ||
1607 | local tecks2 = Instance.new("TextLabel",naeeym2) | |
1608 | tecks2.BackgroundTransparency = 1 | |
1609 | tecks2.TextScaled = true | |
1610 | tecks2.BorderSizePixel = 0 | |
1611 | tecks2.Text = "im dead" | |
1612 | tecks2.Font = "Garamond" | |
1613 | tecks2.TextSize = 30 | |
1614 | tecks2.TextStrokeTransparency = 0 | |
1615 | tecks2.TextColor3 = BrickColor.new('Really black').Color | |
1616 | tecks2.TextStrokeColor3 = BrickColor.new('Really black').Color | |
1617 | tecks2.Size = UDim2.new(1,0,0.5,0) | |
1618 | tecks2.Parent = naeeym2 | |
1619 | textfag = tecks2 | |
1620 | tecks2.Text = "Edited by ozzak1003" | |
1621 | wait(2) | |
1622 | tecks2.Text = "Don't leak please :)" | |
1623 | wait(1) | |
1624 | tecks2.Text = "Ae0nian" | |
1625 | coroutine.resume(coroutine.create(function() | |
1626 | while textfag ~= nil do | |
1627 | swait() | |
1628 | textfag.Position = UDim2.new(math.random(-.2,.2),math.random(-3,3),.05,math.random(-3,3)) | |
1629 | textfag.Rotation = math.random(-3,3) | |
1630 | end | |
1631 | end)) | |
1632 | ||
1633 | ||
1634 | function chatfunc(text, color) | |
1635 | local chat = coroutine.wrap(function() | |
1636 | if char:FindFirstChild("TalkingBillBoard") ~= nil then | |
1637 | char:FindFirstChild("TalkingBillBoard"):destroy() | |
1638 | end | |
1639 | local naeeym2 = Instance.new("BillboardGui", char) | |
1640 | naeeym2.Size = UDim2.new(0, 100, 0, 40) | |
1641 | naeeym2.StudsOffset = Vector3.new(0, 3, 0) | |
1642 | naeeym2.Adornee = hed | |
1643 | naeeym2.Name = "TalkingBillBoard" | |
1644 | local tecks2 = Instance.new("TextLabel", naeeym2) | |
1645 | tecks2.BackgroundTransparency = 1 | |
1646 | tecks2.BorderSizePixel = 0 | |
1647 | tecks2.Text = "" | |
1648 | tecks2.Font = "SciFi" | |
1649 | tecks2.TextSize = 30 | |
1650 | tecks2.TextStrokeTransparency = 0 | |
1651 | tecks2.TextColor3 = color | |
1652 | tecks2.TextStrokeColor3 = Color3.new(0, 0, 0) | |
1653 | tecks2.Size = UDim2.new(1, 0, 0.5, 0) | |
1654 | local tecks3 = Instance.new("TextLabel", naeeym2) | |
1655 | tecks3.BackgroundTransparency = 1 | |
1656 | tecks3.BorderSizePixel = 0 | |
1657 | tecks3.Text = "" | |
1658 | tecks3.Font = "SciFi" | |
1659 | tecks3.TextSize = 30 | |
1660 | tecks3.TextStrokeTransparency = 0 | |
1661 | tecks3.TextColor3 = Color3.new(0, 0, 0) | |
1662 | tecks3.TextStrokeColor3 = color | |
1663 | tecks3.Size = UDim2.new(1, 0, 0.5, 0) | |
1664 | coroutine.resume(coroutine.create(function() | |
1665 | while true do | |
1666 | swait(1) | |
1667 | tecks2.Position = UDim2.new(0, math.random(-5, 5), 0, math.random(-5, 5)) | |
1668 | tecks3.Position = UDim2.new(0, math.random(-5, 5), 0, math.random(-5, 5)) | |
1669 | tecks2.Rotation = math.random(-5, 5) | |
1670 | tecks3.Rotation = math.random(-5, 5) | |
1671 | end | |
1672 | end)) | |
1673 | for i = 1, string.len(text) do | |
1674 | CFuncs.Sound.Create("rbxassetid://274118116", char, 0.25, 0.115) | |
1675 | tecks2.Text = string.sub(text, 1, i) | |
1676 | tecks3.Text = string.sub(text, 1, i) | |
1677 | swait(1) | |
1678 | end | |
1679 | wait(1) | |
1680 | local randomrot = math.random(1, 2) | |
1681 | if randomrot == 1 then | |
1682 | for i = 1, 50 do | |
1683 | swait() | |
1684 | tecks2.Rotation = tecks2.Rotation - 0.75 | |
1685 | tecks2.TextStrokeTransparency = tecks2.TextStrokeTransparency + 0.04 | |
1686 | tecks2.TextTransparency = tecks2.TextTransparency + 0.04 | |
1687 | tecks3.Rotation = tecks2.Rotation + 0.75 | |
1688 | tecks3.TextStrokeTransparency = tecks2.TextStrokeTransparency + 0.04 | |
1689 | tecks3.TextTransparency = tecks2.TextTransparency + 0.04 | |
1690 | end | |
1691 | elseif randomrot == 2 then | |
1692 | for i = 1, 50 do | |
1693 | swait() | |
1694 | tecks2.Rotation = tecks2.Rotation + 0.75 | |
1695 | tecks2.TextStrokeTransparency = tecks2.TextStrokeTransparency + 0.04 | |
1696 | tecks2.TextTransparency = tecks2.TextTransparency + 0.04 | |
1697 | tecks3.Rotation = tecks2.Rotation - 0.75 | |
1698 | tecks3.TextStrokeTransparency = tecks2.TextStrokeTransparency + 0.04 | |
1699 | tecks3.TextTransparency = tecks2.TextTransparency + 0.04 | |
1700 | end | |
1701 | end | |
1702 | naeeym2:Destroy() | |
1703 | end) | |
1704 | chat() | |
1705 | end | |
1706 | ---------- | |
1707 | function Eyeyeyeyeyeyey_Slammo() | |
1708 | attack = true | |
1709 | hum.WalkSpeed = 0 | |
1710 | local Blobby = IT("Part", char) | |
1711 | Blobby.Name = "Blob" | |
1712 | Blobby.CanCollide = false | |
1713 | Blobby.BrickColor = BrickC("Really black") | |
1714 | Blobby.Transparency = 0 | |
1715 | Blobby.Material = "Plastic" | |
1716 | Blobby.Size = Vector3.new(1, 1, 2) | |
1717 | Blobby.TopSurface = Enum.SurfaceType.Smooth | |
1718 | Blobby.BottomSurface = Enum.SurfaceType.Smooth | |
1719 | ||
1720 | local Weld = IT("Weld", Blobby) | |
1721 | Weld.Part0 = hed | |
1722 | Weld.Part1 = Blobby | |
1723 | Weld.C1 = CF(0, -17.6, 1.4) | |
1724 | Weld.C0 = angles(Rad(0),0,0) | |
1725 | ||
1726 | local M2 = IT("SpecialMesh") | |
1727 | M2.Parent = Blobby | |
1728 | M2.MeshId = "http://www.roblox.com/asset/?id=10604848" | |
1729 | M2.TextureId = "http://www.roblox.com/asset/?id=10605252" | |
1730 | M2.Scale = Vector3.new(3.3, 3.3, 3.3) | |
1731 | CFuncs.Sound.Create("rbxassetid://135925117", head, 100, 1) | |
1732 | for i = 0, 6, 0.1 do | |
1733 | swait() | |
1734 | rootj.C0 = clerp(rootj.C0, RootCF * CF(0, 0, -0.1 + 0.1 * Cos(sine / 20)) * angles(Rad(-2 + 2 * Cos(sine / 12)), Rad(0), Rad(0)), 0.2) | |
1735 | neck.C0 = clerp(neck.C0, necko * CF(0, 0, 1) * angles(Rad(-2.5 * Sin(sine / 30)), Rad(0), Rad(0)), 0.3) | |
1736 | RH.C0 = clerp(RH.C0, CF(1* Player_Size, -0.9 - 0.1 * Cos(sine / 20)* Player_Size, -.2* Player_Size) * angles(Rad(-2 + 2 * Cos(sine / 12)), Rad(74), Rad(0)) * angles(Rad(-2.5), Rad(0), Rad(-4)), 0.15) | |
1737 | LH.C0 = clerp(LH.C0, CF(-1* Player_Size, -0.9 - 0.1 * Cos(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(-2 + 2 * Cos(sine / 12)), Rad(-74), Rad(0)) * angles(Rad(-2.5), Rad(0), Rad(-4)), 0.15) | |
1738 | RW.C0 = clerp(RW.C0, CF(1.5* Player_Size, 0.5 + 0.06 * Sin(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(-35), Rad(0), Rad(165 + 2.5 * Sin(sine / 20))), 0.12) | |
1739 | LW.C0 = clerp(LW.C0, CF(-1.5* Player_Size, 0.5 + 0.06 * Sin(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(-35), Rad(0), Rad(-165 + 2.5 * Sin(sine / 20))), 0.12) | |
1740 | end | |
1741 | Magic(1, "Add", root.CFrame * CF(0, -1.9, -20), Vector3.new(1, 1, 1), 0.75, maincolor, "Sphere") | |
1742 | Magic(5, "Add", root.CFrame * CF(0, -1.9, -20), Vector3.new(0, 0, 0), 1, maincolor, "Sphere") | |
1743 | Magic(10, "Add", root.CFrame * CF(0, -1.9, -20), Vector3.new(0, 0, 0), 2, maincolor, "Sphere") | |
1744 | for i, v in pairs(FindNearestHead(root.CFrame.p, 25.5)) do | |
1745 | if v:FindFirstChild("Head") then | |
1746 | Eviscerate(v) | |
1747 | end | |
1748 | end | |
1749 | for i = 0, 6, 0.1 do | |
1750 | swait() | |
1751 | rootj.C0 = clerp(rootj.C0, RootCF * CF(0, 0, -0.1 + 0.1 * Cos(sine / 20)) * angles(Rad(90 + 2 * Cos(sine / 12)), Rad(0), Rad(0)), 0.15) | |
1752 | neck.C0 = clerp(neck.C0, necko * CF(0, 0, 1) * angles(Rad(-2.5 * Sin(sine / 30)), Rad(0), Rad(0)), 0.3) | |
1753 | RH.C0 = clerp(RH.C0, CF(1* Player_Size, -1.3 - 0.1 * Cos(sine / 20)* Player_Size, -.2* Player_Size) * angles(Rad(-2 + 2 * Cos(sine / 12)), Rad(74), Rad(0)) * angles(Rad(-2.5), Rad(0), Rad(90)), 0.15) | |
1754 | LH.C0 = clerp(LH.C0, CF(-1* Player_Size, -1.3 - 0.1 * Cos(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(-2 + 2 * Cos(sine / 12)), Rad(-74), Rad(0)) * angles(Rad(-2.5), Rad(0), Rad(-90)), 0.15) | |
1755 | RW.C0 = clerp(RW.C0, CF(1.5* Player_Size, 0.5 + 0.06 * Sin(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(-35), Rad(0), Rad(165 + 2.5 * Sin(sine / 20))), 0.12) | |
1756 | LW.C0 = clerp(LW.C0, CF(-1.5* Player_Size, 0.5 + 0.06 * Sin(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(-35), Rad(0), Rad(-165 + 2.5 * Sin(sine / 20))), 0.12) | |
1757 | end | |
1758 | Blobby:Destroy() | |
1759 | attack = false | |
1760 | hum.WalkSpeed = 10 | |
1761 | end | |
1762 | function Ban() | |
1763 | attack = true | |
1764 | for i = 0, 2.6, 0.1 do | |
1765 | swait() | |
1766 | rootj.C0 = clerp(rootj.C0, RootCF * CF(0* Player_Size, 0* Player_Size, -0.1 + 0.1* Player_Size * Cos(sine / 20)) * angles(Rad(0), Rad(0), Rad(-60)), 0.2) | |
1767 | tors.Neck.C0 = clerp(tors.Neck.C0, necko* CF(0, 0, 0 + ((1* Player_Size) - 1)) * angles(Rad(-7.5 * Sin(sine / 30)), Rad(0), Rad(60)), 0.2) | |
1768 | RH.C0 = clerp(RH.C0, CF(1* Player_Size, -0.9* Player_Size - 0.1 * Cos(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(0), Rad(84), Rad(0)) * angles(Rad(-6.5), Rad(0), Rad(0)), 0.2) | |
1769 | LH.C0 = clerp(LH.C0, CF(-1* Player_Size, -0.9* Player_Size - 0.1 * Cos(sine / 20)* Player_Size, -.6* Player_Size) * angles(Rad(0), Rad(-84), Rad(0)) * angles(Rad(-6.5), Rad(0), Rad(20)), 0.2) | |
1770 | RW.C0 = clerp(RW.C0, CF(1.5* Player_Size, 0.5 + 0.02 * Sin(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(160), Rad(-.6), Rad(13)), 0.2) | |
1771 | LW.C0 = clerp(LW.C0, CF(-1.5* Player_Size, 0.5 + 0.02 * Sin(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(15), Rad(-6), Rad(-25 - 4.5 * Sin(sine / 20))), 0.2) | |
1772 | end | |
1773 | Cso("147722910", tors, 10, 1) | |
1774 | CameraEnshaking(2, 15) | |
1775 | Effects.Wave.Create(BrickColor.new("Really black"), tors.CFrame * CF(0, -6, 0) * angles(math.rad(0), math.rad(math.random(0, 180)), math.rad(0)), 550.5, 100.5, 550.5, 200, 20, 200, 0.05) | |
1776 | Effects.Wave.Create(BrickColor.new("Really black"), tors.CFrame * CF(0, -6, 0) * angles(math.rad(0), math.rad(math.random(0, 180)), math.rad(0)), 550.5, 100.5, 550.5, 200, 20, 200, 0.05) | |
1777 | Effects.Wave.Create(BrickColor.new("Really black"), tors.CFrame * CF(0, -6, 0) * angles(math.rad(0), math.rad(math.random(0, 180)), math.rad(0)), 550.5, 100.5, 550.5, 200, 20, 200, 0.05) | |
1778 | for i, v in pairs(FindNearestHead(Blobby.CFrame.p, 9.5)) do | |
1779 | if v:FindFirstChild("Head") then | |
1780 | Eviscerate(v) | |
1781 | end | |
1782 | end | |
1783 | for i = 0, 3, 0.1 do | |
1784 | swait() | |
1785 | rootj.C0 = clerp(rootj.C0, RootCF * CF(0* Player_Size, 0* Player_Size, -0.1 + 0.1* Player_Size * Cos(sine / 20)) * angles(Rad(0), Rad(0), Rad(-15)), 0.3) | |
1786 | tors.Neck.C0 = clerp(tors.Neck.C0, necko* CF(0, 0, 0 + ((1* Player_Size) - 1)) * angles(Rad(25 - 7.5 * Sin(sine / 30)), Rad(0), Rad(15)), 0.3) | |
1787 | RH.C0 = clerp(RH.C0, CF(1* Player_Size, -0.9* Player_Size - 0.1 * Cos(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(0), Rad(84), Rad(0)) * angles(Rad(-6.5), Rad(0), Rad(-20)), 0.3) | |
1788 | LH.C0 = clerp(LH.C0, CF(-1* Player_Size, -0.9* Player_Size - 0.1 * Cos(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(0), Rad(-84), Rad(0)) * angles(Rad(-6.5), Rad(0), Rad(0)), 0.3) | |
1789 | RW.C0 = clerp(RW.C0, CF(1* Player_Size, 0.3 + 0.02 * Sin(sine / 20)* Player_Size, -.6* Player_Size) * angles(Rad(5), Rad(-.6), Rad(-25)), 0.3) | |
1790 | LW.C0 = clerp(LW.C0, CF(-1.5* Player_Size, 0.5 + 0.02 * Sin(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(15), Rad(-6), Rad(-25 - 4.5 * Sin(sine / 20))), 0.3) | |
1791 | end | |
1792 | attack = false | |
1793 | end | |
1794 | function BigBan() | |
1795 | attack = true | |
1796 | Weld.C0 = CFrame.Angles(Rad(-90), Rad(-25), Rad(0)) | |
1797 | for i = 0, 3.6, 0.1 do | |
1798 | swait() | |
1799 | rootj.C0 = clerp(rootj.C0, RootCF * CF(0* Player_Size, 0* Player_Size, 1 + 0.1* Player_Size * Cos(sine / 20)) * angles(Rad(-20), Rad(0), Rad(0)), 0.2) | |
1800 | tors.Neck.C0 = clerp(tors.Neck.C0, necko* CF(0, 0, 0 + ((1* Player_Size) - 1)) * angles(Rad(-45 - 7.5 * Sin(sine / 30)), Rad(0), Rad(0)), 0.2) | |
1801 | RH.C0 = clerp(RH.C0, CF(1* Player_Size, -0.9* Player_Size - 0.1 * Cos(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(0), Rad(84), Rad(0)) * angles(Rad(-6.5), Rad(0), Rad(-45)), 0.2) | |
1802 | LH.C0 = clerp(LH.C0, CF(-1* Player_Size, -0.9* Player_Size - 0.1 * Cos(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(0), Rad(-84), Rad(0)) * angles(Rad(-6.5), Rad(0), Rad(45)), 0.2) | |
1803 | RW.C0 = clerp(RW.C0, CF(1* Player_Size, 0.5 + 0.02 * Sin(sine / 20)* Player_Size, -.6* Player_Size) * angles(Rad(-225), Rad(-.6), Rad(-45)), 0.2) | |
1804 | LW.C0 = clerp(LW.C0, CF(-1* Player_Size, 0.5 + 0.02 * Sin(sine / 20)* Player_Size, -.6* Player_Size) * angles(Rad(-225), Rad(-6), Rad(45)), 0.2) | |
1805 | end | |
1806 | Cso("147722910", tors, 10, 1) | |
1807 | CameraEnshaking(2, 15) | |
1808 | Effects.Wave.Create(BrickColor.new("Really black"), tors.CFrame * CF(0, -6, 0) * angles(math.rad(0), math.rad(math.random(0, 180)), math.rad(0)), 550.5, 100.5, 550.5, 200, 20, 200, 0.05) | |
1809 | Effects.Wave.Create(BrickColor.new("Really black"), tors.CFrame * CF(0, -6, 0) * angles(math.rad(0), math.rad(math.random(0, 180)), math.rad(0)), 550.5, 100.5, 550.5, 200, 20, 200, 0.05) | |
1810 | Effects.Wave.Create(BrickColor.new("Really black"), tors.CFrame * CF(0, -6, 0) * angles(math.rad(0), math.rad(math.random(0, 180)), math.rad(0)), 550.5, 100.5, 550.5, 200, 20, 200, 0.05) | |
1811 | for i, v in pairs(FindNearestHead(Blobby.CFrame.p, 14.5)) do | |
1812 | if v:FindFirstChild("Head") then | |
1813 | Eviscerate(v) | |
1814 | end | |
1815 | end | |
1816 | for i = 0, 2.6, 0.1 do | |
1817 | swait() | |
1818 | rootj.C0 = clerp(rootj.C0, RootCF * CF(0* Player_Size, 0* Player_Size, 1 + 0.1* Player_Size * Cos(sine / 20)) * angles(Rad(75), Rad(0), Rad(0)), 0.2) | |
1819 | tors.Neck.C0 = clerp(tors.Neck.C0, necko* CF(0, 0, 0 + ((1* Player_Size) - 1)) * angles(Rad(45 - 7.5 * Sin(sine / 30)), Rad(0), Rad(0)), 0.2) | |
1820 | RH.C0 = clerp(RH.C0, CF(1* Player_Size, -0.9* Player_Size - 0.1 * Cos(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(0), Rad(84), Rad(0)) * angles(Rad(-6.5), Rad(0), Rad(-45)), 0.2) | |
1821 | LH.C0 = clerp(LH.C0, CF(-1* Player_Size, -0.9* Player_Size - 0.1 * Cos(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(0), Rad(-84), Rad(0)) * angles(Rad(-6.5), Rad(0), Rad(45)), 0.2) | |
1822 | RW.C0 = clerp(RW.C0, CF(1* Player_Size, 0.5 + 0.02 * Sin(sine / 20)* Player_Size, -.6* Player_Size) * angles(Rad(-325), Rad(-.6), Rad(-45)), 0.2) | |
1823 | LW.C0 = clerp(LW.C0, CF(-1* Player_Size, 0.5 + 0.02 * Sin(sine / 20)* Player_Size, -.6* Player_Size) * angles(Rad(-325), Rad(-6), Rad(45)), 0.2) | |
1824 | end | |
1825 | Weld.C0 = CFrame.Angles(Rad(-86),0,0) | |
1826 | attack = false | |
1827 | end | |
1828 | function BANN() | |
1829 | attack = true | |
1830 | M2.Scale = Vector3.new(2, 2, 2) | |
1831 | for i = 0, 4.6, 0.1 do | |
1832 | swait() | |
1833 | rootj.C0 = clerp(rootj.C0, RootCF * CF(0* Player_Size, 0* Player_Size, 1 + 0.1* Player_Size * Cos(sine / 20)) * angles(Rad(0), Rad(0), Rad(-60)), 0.2) | |
1834 | tors.Neck.C0 = clerp(tors.Neck.C0, necko* CF(0, 0, 0 + ((1* Player_Size) - 1)) * angles(Rad(-7.5 * Sin(sine / 30)), Rad(0), Rad(60)), 0.2) | |
1835 | RH.C0 = clerp(RH.C0, CF(1* Player_Size, -0.9* Player_Size - 0.1 * Cos(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(0), Rad(84), Rad(0)) * angles(Rad(-16.5), Rad(0), Rad(-20)), 0.2) | |
1836 | LH.C0 = clerp(LH.C0, CF(-1* Player_Size, -0.9* Player_Size - 0.1 * Cos(sine / 20)* Player_Size, -.6* Player_Size) * angles(Rad(0), Rad(-84), Rad(0)) * angles(Rad(-16.5), Rad(0), Rad(20)), 0.2) | |
1837 | RW.C0 = clerp(RW.C0, CF(.6* Player_Size, 0.5 + 0.02 * Sin(sine / 20)* Player_Size, -.4* Player_Size) * angles(Rad(160), Rad(-.6), Rad(13)), 0.2) | |
1838 | LW.C0 = clerp(LW.C0, CF(-.8* Player_Size, 0.5 + 0.02 * Sin(sine / 20)* Player_Size, -.4* Player_Size) * angles(Rad(156), Rad(-.6), Rad(45)), 0.2) | |
1839 | end | |
1840 | Cso("147722910", char, 10, 1) | |
1841 | CameraEnshaking(2, 35) | |
1842 | Effects.Wave.Create(BrickColor.new("Really black"), tors.CFrame * CF(0, -5, 0) * angles(math.rad(0), math.rad(math.random(0, 180)), math.rad(0)), 550.5, 100.5, 550.5, 200, 20, 200, 0.05) | |
1843 | Effects.Wave.Create(BrickColor.new("Really black"), tors.CFrame * CF(0, -5, 0) * angles(math.rad(0), math.rad(math.random(0, 180)), math.rad(0)), 550.5, 100.5, 550.5, 200, 20, 200, 0.05) | |
1844 | Effects.Wave.Create(BrickColor.new("Really black"), tors.CFrame * CF(0, -5, 0) * angles(math.rad(0), math.rad(math.random(0, 180)), math.rad(0)), 550.5, 100.5, 550.5, 200, 20, 200, 0.05) | |
1845 | Effects.Ring.Create(BrickColor.new("Really black"), root.CFrame * CF(0, -2, 0) * angles(math.rad(90), math.rad(0), math.rad(0)), 0.5, 0.5, 0.1, 2, 2, 0, 0.04) | |
1846 | Effects.Sphere.Create(BrickColor.new("Really black"), root.CFrame * CF(0, -2, 0), 10, 7, 10, 15, -0.1, 15, 0.04) | |
1847 | Effects.Sphere.Create(BrickColor.new("Really black"), root.CFrame * CF(0, -2, 0), 10, 6, 10, 15, -0.1, 15, 0.02) | |
1848 | Effects.Sphere.Create(BrickColor.new("Really black"), root.CFrame * CF(0, -2, 0), 10, 4, 10, 15, -0.1, 15, 0.01) | |
1849 | for i, v in pairs(FindNearestHead(Blobby.CFrame.p, 19.5)) do | |
1850 | if v:FindFirstChild("Head") then | |
1851 | Eviscerate(v) | |
1852 | end | |
1853 | end | |
1854 | for i = 0, 3, 0.1 do | |
1855 | swait() | |
1856 | rootj.C0 = clerp(rootj.C0, RootCF * CF(0* Player_Size, 0* Player_Size, -0.1 + 0.1* Player_Size * Cos(sine / 20)) * angles(Rad(0), Rad(0), Rad(-15)), 0.3) | |
1857 | tors.Neck.C0 = clerp(tors.Neck.C0, necko* CF(0, 0, 0 + ((1* Player_Size) - 1)) * angles(Rad(25 - 7.5 * Sin(sine / 30)), Rad(0), Rad(15)), 0.3) | |
1858 | RH.C0 = clerp(RH.C0, CF(1* Player_Size, -0.9* Player_Size - 0.1 * Cos(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(0), Rad(84), Rad(0)) * angles(Rad(-6.5), Rad(0), Rad(-20)), 0.3) | |
1859 | LH.C0 = clerp(LH.C0, CF(-1* Player_Size, -0.9* Player_Size - 0.1 * Cos(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(0), Rad(-84), Rad(0)) * angles(Rad(-6.5), Rad(0), Rad(0)), 0.3) | |
1860 | RW.C0 = clerp(RW.C0, CF(1* Player_Size, 0.3 + 0.02 * Sin(sine / 20)* Player_Size, -.6* Player_Size) * angles(Rad(5), Rad(-.6), Rad(-25)), 0.3) | |
1861 | LW.C0 = clerp(LW.C0, CF(-1.5* Player_Size, 0.5 + 0.02 * Sin(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(15), Rad(-6), Rad(-25 - 4.5 * Sin(sine / 20))), 0.3) | |
1862 | end | |
1863 | M2.Scale = Vector3.new(1, 1, 1) | |
1864 | attack = false | |
1865 | end | |
1866 | function BURN_IN_HELL() | |
1867 | attack = true | |
1868 | chatfunc("BURN....", BrickColor.random().Color) | |
1869 | for i = 0,5.2,0.1 do | |
1870 | swait() | |
1871 | rootj.C0 = clerp(rootj.C0, RootCF * CF(0, 0, -0.1 + 0.1 * Cos(sine / 20)) * angles(Rad(-20), Rad(0), Rad(0)), 0.15) | |
1872 | tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(-20 - 2.5 * Sin(sine / 20)), Rad(0), Rad(0)), 0.3) | |
1873 | RH.C0 = clerp(RH.C0, CF(1, -0.9 - 0.1 * Cos(sine / 20), 0.025 * Cos(sine / 20)) * RHCF * angles(Rad(-4.5), Rad(0), Rad(-20)), 0.15) | |
1874 | LH.C0 = clerp(LH.C0, CF(-1, -0.3 - 0.1 * Cos(sine / 20), -.4 + 0.025 * Cos(sine / 20)) * LHCF * angles(Rad(-6.5), Rad(5 * Cos(sine / 20)), Rad(25)), 0.15) | |
1875 | RW.C0 = clerp(RW.C0, CF(1.5, 0.5 + 0.05 * Sin(sine / 20), 0.025 * Cos(sine / 20)) * angles(Rad(135), Rad(0), Rad(-45 - 2.5 * Sin(sine / 20))), 0.1) | |
1876 | LW.C0 = clerp(LW.C0, CF(-1.5, 0.5 + 0.05 * Sin(sine / 20), 0.025 * Cos(sine / 20)) * angles(Rad(135), Rad(0), Rad(45 + 2.5 * Sin(sine / 20))), 0.1) | |
1877 | end | |
1878 | chatfunc("IN....", BrickColor.random().Color) | |
1879 | wait(2) | |
1880 | Effects.Sphere.Create(BrickColor.Random(), root.CFrame * CF(0, -1, 0), 2, 2, 2, 10.6, 10.6, 10.6, 0.05) | |
1881 | Effects.Sphere.Create(BrickColor.Random(), root.CFrame * CF(0, -1, 0), 2, 2, 2, 10.6, 10.6, 10.6, 0.05) | |
1882 | Effects.Sphere.Create(BrickColor.Random(), root.CFrame * CF(0, -1, 0), 2, 2, 2, 10.6, 10.6, 10.6, 0.05) | |
1883 | Effects.Sphere.Create(BrickColor.Random(), root.CFrame * CF(0, -1, 0), 2, 2, 2, 10.6, 10.6, 10.6, 0.05) | |
1884 | Effects.Sphere.Create(BrickColor.Random(), root.CFrame * CF(0, -1, 0), 2, 2, 2, 10.6, 35.6, 10.6, 0.05) | |
1885 | Effects.Sphere.Create(BrickColor.Random(), root.CFrame * CF(0, -3, 0), 2, 2, 2, 150.6, .4, 150.6, 0.05) | |
1886 | chatfunc("BURN!", BrickColor.random().Color) | |
1887 | for i, v in pairs(FindNearestHead(tors.CFrame.p, 52.5)) do | |
1888 | if v:FindFirstChild("Head") then | |
1889 | Eviscerate(v) | |
1890 | SoulSteal(v) | |
1891 | end | |
1892 | end | |
1893 | coroutine.resume(coroutine.create(function() | |
1894 | for i = 0,2.8,0.1 do | |
1895 | swait() | |
1896 | hum.CameraOffset = Vector3.new(Mrandom(-3,3),Mrandom(-3,3),Mrandom(-3,3)) | |
1897 | end | |
1898 | for i = 0,1.8,0.1 do | |
1899 | swait() | |
1900 | hum.CameraOffset = Vector3.new(0,0,0) | |
1901 | end | |
1902 | end)) | |
1903 | for i = 0,3.7,0.1 do | |
1904 | rootj.C0 = clerp(rootj.C0, RootCF * CF(0, 0, -0.1 + 0.1 * Cos(sine / 20)) * angles(Rad(20), Rad(0), Rad(0)), 0.15) | |
1905 | tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(20 - 2.5 * Sin(sine / 20)), Rad(0), Rad(0)), 0.3) | |
1906 | RH.C0 = clerp(RH.C0, CF(1, -0.9 - 0.1 * Cos(sine / 20), 0.025 * Cos(sine / 20)) * RHCF * angles(Rad(-4.5), Rad(0), Rad(20)), 0.15) | |
1907 | LH.C0 = clerp(LH.C0, CF(-1, -0.9 - 0.1 * Cos(sine / 20), -.4 + 0.025 * Cos(sine / 20)) * LHCF * angles(Rad(-6.5), Rad(5 * Cos(sine / 20)), Rad(-25)), 0.15) | |
1908 | RW.C0 = clerp(RW.C0, CF(1.5, 0.5 + 0.05 * Sin(sine / 20), 0.025 * Cos(sine / 20)) * angles(Rad(-40), Rad(0), Rad(25 - 2.5 * Sin(sine / 20))), 0.1) | |
1909 | LW.C0 = clerp(LW.C0, CF(-1.5, 0.5 + 0.05 * Sin(sine / 20), 0.025 * Cos(sine / 20)) * angles(Rad(-40), Rad(0), Rad(-25 + 2.5 * Sin(sine / 20))), 0.1) | |
1910 | end | |
1911 | wait(.6) | |
1912 | attack = false | |
1913 | end | |
1914 | function Call_Upon_The_Eyes() | |
1915 | attack = true | |
1916 | hum.WalkSpeed = 0 | |
1917 | for i = 0, 6, 0.1 do | |
1918 | swait() | |
1919 | rootj.C0 = clerp(rootj.C0, RootCF * CF(0, 0, -0.1 + 0.1 * Cos(sine / 20)) * angles(Rad(0), Rad(0), Rad(0)), 0.15) | |
1920 | tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(-2.5 * Sin(sine / 20)), Rad(0), Rad(0)), 0.3) | |
1921 | RH.C0 = clerp(RH.C0, CF(1, -0.9 - 0.1 * Cos(sine / 20), 0.025 * Cos(sine / 20)) * RHCF * angles(Rad(-4.5), Rad(0), Rad(0)), 0.15) | |
1922 | LH.C0 = clerp(LH.C0, CF(-1, -0.9 - 0.1 * Cos(sine / 20), 0.025 * Cos(sine / 20)) * LHCF * angles(Rad(-6.5), Rad(0), Rad(0)), 0.15) | |
1923 | RW.C0 = clerp(RW.C0, CF(1.5* Player_Size, 0.5 + 0.06 * Sin(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(145), Rad(0), Rad(15 + 2.5 * Sin(sine / 20))), 0.12) | |
1924 | LW.C0 = clerp(LW.C0, CF(-1* Player_Size, 0.3 + 0.06 * Sin(sine / 20)* Player_Size, .6* Player_Size) * angles(Rad(-35), Rad(25 + 2.5 * Sin(sine / 20)), Rad(55 + 2.5 * Sin(sine / 20))), 0.12) | |
1925 | end | |
1926 | Magic(5, "Add", Mouse.Hit * CFrame.new(0, -2.9, 0), Vector3.new(0, 0, 0), 1, maincolor, "Sphere") | |
1927 | Magic(10, "Add", Mouse.Hit * CFrame.new(0, -2.9, 0), Vector3.new(0, 0, 0), 2, maincolor, "Sphere") | |
1928 | Magic(1, "Add", Mouse.Hit, Vector3.new(1, 100000, 1), 0.5, maincolor, "Sphere") | |
1929 | Magic(1, "Add", Mouse.Hit, Vector3.new(1, 1, 1), 0.75, maincolor, "Sphere") | |
1930 | ||
1931 | for i, v in pairs(FindNearestHead(Mouse.Hit.p, 14.5)) do | |
1932 | if v:FindFirstChild("Head") then | |
1933 | Eviscerate(v) | |
1934 | end | |
1935 | end | |
1936 | for i = 0, 6, 0.1 do | |
1937 | rootj.C0 = clerp(rootj.C0, RootCF * CF(0, 0, -0.1 + 0.1 * Cos(sine / 20)) * angles(Rad(0), Rad(0), Rad(0)), 0.15) | |
1938 | tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(-2.5 * Sin(sine / 20)), Rad(0), Rad(0)), 0.3) | |
1939 | RH.C0 = clerp(RH.C0, CF(1, -0.9 - 0.1 * Cos(sine / 20), 0.025 * Cos(sine / 20)) * RHCF * angles(Rad(-4.5), Rad(0), Rad(0)), 0.15) | |
1940 | LH.C0 = clerp(LH.C0, CF(-1, -0.9 - 0.1 * Cos(sine / 20), 0.025 * Cos(sine / 20)) * LHCF * angles(Rad(-6.5), Rad(0), Rad(0)), 0.15) | |
1941 | RW.C0 = clerp(RW.C0, CF(1.5* Player_Size, 0.5 + 0.06 * Sin(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(45), Rad(0), Rad(15 + 2.5 * Sin(sine / 20))), 0.2) | |
1942 | LW.C0 = clerp(LW.C0, CF(-1* Player_Size, 0.3 + 0.06 * Sin(sine / 20)* Player_Size, .6* Player_Size) * angles(Rad(-35), Rad(25 + 2.5 * Sin(sine / 20)), Rad(55 + 2.5 * Sin(sine / 20))), 0.12) | |
1943 | end | |
1944 | attack = false | |
1945 | hum.WalkSpeed = 10 | |
1946 | end | |
1947 | function TUSKOR661() | |
1948 | attack = true | |
1949 | M2.Scale = Vector3.new(5, 5, 5) | |
1950 | chatfunc("get dunked on!.", Color3.new(0, 0, 0)) | |
1951 | for i = 0, 15, 0.1 do | |
1952 | swait() | |
1953 | hum.CameraOffset = Vector3.new(0, 8, 0) | |
1954 | rootj.C0 = clerp(rootj.C0, RootCF * CF(0* Player_Size, 0* Player_Size, 8 + 0.1* Player_Size * Cos(sine / 20)) * angles(Rad(0), Rad(0), Rad(0)), 0.2) | |
1955 | tors.Neck.C0 = clerp(tors.Neck.C0, necko* CF(0, 0, 0 + ((1* Player_Size) - 1)) * angles(Rad(-45 - 7.5 * Sin(sine / 30)), Rad(0), Rad(0)), 0.2) | |
1956 | RH.C0 = clerp(RH.C0, CF(1* Player_Size, -0.9* Player_Size - 0.1 * Cos(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(0), Rad(84), Rad(0)) * angles(Rad(-16.5), Rad(0), Rad(-20)), 0.2) | |
1957 | LH.C0 = clerp(LH.C0, CF(-1* Player_Size, -0.9* Player_Size - 0.1 * Cos(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(0), Rad(-84), Rad(0)) * angles(Rad(-16.5), Rad(0), Rad(20)), 0.2) | |
1958 | RW.C0 = clerp(RW.C0, CF(1.5* Player_Size, 0.5 + 0.02 * Sin(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(180), Rad(0), Rad(15)), 0.2) | |
1959 | LW.C0 = clerp(LW.C0, CF(-1.5* Player_Size, 0.5 + 0.02 * Sin(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(0), Rad(-30), Rad(-90)), 0.2) | |
1960 | end | |
1961 | Cso("147722910", char, 10, .7) | |
1962 | Cso("483458132", char, 10, .7) | |
1963 | Cso("483458132", char, 10, 1) | |
1964 | CameraEnshaking(6, 65) | |
1965 | Effects.Wave.Create(BrickColor.new("Really black"), tors.CFrame * CF(0, -5, 0) * angles(math.rad(0), math.rad(math.random(0, 180)), math.rad(0)), 550.5, 100.5, 550.5, 200, 20, 200, 0.05) | |
1966 | Effects.Wave.Create(BrickColor.new("Really black"), tors.CFrame * CF(0, -5, 0) * angles(math.rad(0), math.rad(math.random(0, 180)), math.rad(0)), 550.5, 100.5, 550.5, 200, 20, 200, 0.05) | |
1967 | Effects.Wave.Create(BrickColor.new("Really black"), tors.CFrame * CF(0, -5, 0) * angles(math.rad(0), math.rad(math.random(0, 180)), math.rad(0)), 550.5, 100.5, 550.5, 200, 20, 200, 0.05) | |
1968 | Effects.Ring.Create(BrickColor.new("Really black"), root.CFrame * CF(0, -2, 0) * angles(math.rad(90), math.rad(0), math.rad(0)), 0.5, 0.5, 0.1, 2, 2, 0, 0.04) | |
1969 | Effects.Sphere.Create(BrickColor.new("Really black"), root.CFrame * CF(0, -2, 0), 10, 7, 10, 15, -0.1, 15, 0.04) | |
1970 | Effects.Sphere.Create(BrickColor.new("Really black"), root.CFrame * CF(0, -2, 0), 10, 6, 10, 15, -0.1, 15, 0.02) | |
1971 | Effects.Sphere.Create(BrickColor.new("Really black"), root.CFrame * CF(0, -2, 0), 10, 4, 10, 15, -0.1, 15, 0.01) | |
1972 | Magic(5, "Add", root.CFrame * CFrame.new(0, -2.9, 0), Vector3.new(0, 0, 0), 1, BrickColor.new("Really black"), "Sphere") | |
1973 | Magic(10, "Add", root.CFrame * CFrame.new(0, -2.9, 0), Vector3.new(0, 0, 0), 2, BrickColor.new("Really black"), "Sphere") | |
1974 | Magic(1, "Add", root.CFrame, Vector3.new(1, 100000, 1), 0.5, BrickColor.new("Really black"), "Sphere") | |
1975 | Magic(1, "Add", root.CFrame, Vector3.new(1, 1, 1), 0.75, BrickColor.new("Really black"), "Sphere") | |
1976 | for i, v in pairs(FindNearestHead(Blobby.CFrame.p, 99999999999.5)) do | |
1977 | if v:FindFirstChild("Head") then | |
1978 | Eviscerate(v) | |
1979 | end | |
1980 | end | |
1981 | for i = 0, 15, 0.1 do | |
1982 | swait() | |
1983 | rootj.C0 = clerp(rootj.C0, RootCF * CF(0* Player_Size, 0* Player_Size, 1 + 0.1* Player_Size * Cos(sine / 20)) * angles(Rad(75), Rad(0), Rad(0)), 0.2) | |
1984 | tors.Neck.C0 = clerp(tors.Neck.C0, necko* CF(0, 0, 0 + ((1* Player_Size) - 1)) * angles(Rad(45 - 7.5 * Sin(sine / 30)), Rad(0), Rad(0)), 0.2) | |
1985 | RH.C0 = clerp(RH.C0, CF(1* Player_Size, -0.9* Player_Size - 0.1 * Cos(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(0), Rad(84), Rad(0)) * angles(Rad(-6.5), Rad(0), Rad(-45)), 0.2) | |
1986 | LH.C0 = clerp(LH.C0, CF(-1* Player_Size, -0.9* Player_Size - 0.1 * Cos(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(0), Rad(-84), Rad(0)) * angles(Rad(-6.5), Rad(0), Rad(45)), 0.2) | |
1987 | RW.C0 = clerp(RW.C0, CF(1* Player_Size, 0.5 + 0.02 * Sin(sine / 20)* Player_Size, -.6* Player_Size) * angles(Rad(-325), Rad(-.6), Rad(-45)), 0.2) | |
1988 | LW.C0 = clerp(LW.C0, CF(-1* Player_Size, 0.5 + 0.02 * Sin(sine / 20)* Player_Size, -.6* Player_Size) * angles(Rad(-325), Rad(-6), Rad(45)), 0.2) | |
1989 | end | |
1990 | M2.Scale = Vector3.new(1, 1, 1) | |
1991 | attack = false | |
1992 | end | |
1993 | function GalaBomb() | |
1994 | attack = true | |
1995 | chatfunc("You've lived long enough.", BrickColor.new("Really black").Color) | |
1996 | Cso("464600985", hed, 3.5, 1) | |
1997 | local orb = Instance.new("Part", char) | |
1998 | orb.Anchored = true | |
1999 | orb.BrickColor = BrickC("Really black") | |
2000 | orb.CanCollide = false | |
2001 | orb.FormFactor = 3 | |
2002 | orb.Name = "Ring" | |
2003 | orb.Material = "Neon" | |
2004 | orb.Size = Vector3.new(1, 1, 1) | |
2005 | orb.Transparency = 0 | |
2006 | orb.TopSurface = 0 | |
2007 | orb.BottomSurface = 0 | |
2008 | local orbm = Instance.new("SpecialMesh", orb) | |
2009 | orbm.MeshType = "Sphere" | |
2010 | orbm.Name = "SizeMesh" | |
2011 | orbm.Scale = Vector3.new(0, 0, 0) | |
2012 | local scaled = 0.1 | |
2013 | local posid = 0 | |
2014 | for i = 0, 12, 0.1 do | |
2015 | swait() | |
2016 | scaled = scaled + 0.001 | |
2017 | posid = posid - scaled | |
2018 | orb.CFrame = ra.CFrame * CF(0, -0.1 + posid / 1.05, 0) | |
2019 | orbm.Scale = orbm.Scale + Vector3.new(scaled, scaled, scaled) | |
2020 | rootj.C0 = clerp(rootj.C0, RootCF * CF(0* Player_Size, 0* Player_Size, -0.1 + 0.1* Player_Size * Cos(sine / 20)) * angles(Rad(6), Rad(0), Rad(0)), 0.1) | |
2021 | neck.C0 = clerp(neck.C0, necko* CF(0, 0, 0 + ((1* Player_Size) - 1)) * angles(Rad(-20 - 2.5 * Sin(sine / 20)), Rad(Mrandom(-15, 15)), Rad(-25)), 0.1) | |
2022 | RH.C0 = clerp(RH.C0, CF(1* Player_Size, -0.9 - 0.1 * Cos(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(0), Rad(85), Rad(0)) * angles(Rad(-5), Rad(0), Rad(6)), 0.1) | |
2023 | LH.C0 = clerp(LH.C0, CF(-1* Player_Size, -0.9 - 0.1 * Cos(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(0), Rad(-85), Rad(0)) * angles(Rad(-5), Rad(0), Rad(-6)), 0.1) | |
2024 | RW.C0 = clerp(RW.C0, CF(1.5* Player_Size, 0.5 + 0.1 * Sin(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(170), Rad(Mrandom(-15, 15)), Rad(5 - 4.5 * Sin(sine / 20))), 0.1) | |
2025 | LW.C0 = clerp(LW.C0, CF(-1.5* Player_Size, 0.5 + 0.1 * Sin(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(6), Rad(Mrandom(-15, 15)), Rad(-5 + 4.5 * Sin(sine / 20))), 0.1) | |
2026 | end | |
2027 | for i = 0, 2, 0.1 do | |
2028 | swait() | |
2029 | rootj.C0 = clerp(rootj.C0, RootCF * CF(0* Player_Size, 0* Player_Size, -0.1 + 0.1* Player_Size * Cos(sine / 20)) * angles(Rad(6), Rad(0), Rad(-30)), 0.1) | |
2030 | neck.C0 = clerp(neck.C0, necko* CF(0, 0, 0 + ((1* Player_Size) - 1)) * angles(Rad(-20 - 2.5 * Sin(sine / 20)), Rad(Mrandom(-15, 15)), Rad(30)), 0.1) | |
2031 | RH.C0 = clerp(RH.C0, CF(1* Player_Size, -0.9 - 0.1 * Cos(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(0), Rad(85), Rad(0)) * angles(Rad(-5), Rad(0), Rad(6)), 0.1) | |
2032 | LH.C0 = clerp(LH.C0, CF(-1* Player_Size, -0.9 - 0.1 * Cos(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(0), Rad(-85), Rad(0)) * angles(Rad(-5), Rad(0), Rad(-6)), 0.1) | |
2033 | RW.C0 = clerp(RW.C0, CF(1.5* Player_Size, 0.5 + 0.1 * Sin(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(215), Rad(Mrandom(-15, 15)), Rad(5 - 4.5 * Sin(sine / 20))), 0.1) | |
2034 | LW.C0 = clerp(LW.C0, CF(-1.5* Player_Size, 0.5 + 0.1 * Sin(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(6), Rad(Mrandom(-15, 15)), Rad(-5 + 4.5 * Sin(sine / 20))), 0.1) | |
2035 | end | |
2036 | coroutine.resume(coroutine.create(function() | |
2037 | orb.Anchored = false | |
2038 | CFuncs.Sound.Create("rbxassetid://907528019", root, 1.85, 1) | |
2039 | local a = Instance.new("Part", workspace) | |
2040 | a.Name = "Direction" | |
2041 | a.Anchored = true | |
2042 | a.BrickColor = BrickC("Really black") | |
2043 | a.Material = "Neon" | |
2044 | a.Transparency = 1 | |
2045 | a.CanCollide = false | |
2046 | local ray = Ray.new(orb.CFrame.p, (mouse.Hit.p - orb.CFrame.p).unit * 500) | |
2047 | local ignore = orb | |
2048 | local hit, position, normal = workspace:FindPartOnRay(ray, ignore) | |
2049 | a.BottomSurface = 10 | |
2050 | a.TopSurface = 10 | |
2051 | local distance = (orb.CFrame.p - position).magnitude | |
2052 | a.Size = Vector3.new(0.1, 0.1, 0.1) | |
2053 | a.CFrame = CFrame.new(orb.CFrame.p, position) * CFrame.new(0, 0, 0) | |
2054 | orb.CFrame = a.CFrame | |
2055 | a:Destroy() | |
2056 | local bv = Instance.new("BodyVelocity") | |
2057 | bv.maxForce = Vector3.new(1000000000, 1000000000, 1000000000) | |
2058 | bv.velocity = orb.CFrame.lookVector * 125 | |
2059 | bv.Parent = orb | |
2060 | local hitted = false | |
2061 | game:GetService("Debris"):AddItem(orb, 15) | |
2062 | swait() | |
2063 | local hit = orb.Touched:connect(function(hit) | |
2064 | if hitted == false then | |
2065 | hitted = true | |
2066 | CFuncs.Sound.Create("rbxassetid://151304356", orb, 5, 1) | |
2067 | for i, v in pairs(FindNearestHead(orb.CFrame.p, 25)) do | |
2068 | if v:FindFirstChild("Head") then | |
2069 | Eviscerate(v) | |
2070 | end | |
2071 | end | |
2072 | Magic(1, "Add", orb.CFrame, Vector3.new(orbm.Scale.x, orbm.Scale.y, orbm.Scale.z), 1, BrickC("Really black"), "Sphere") | |
2073 | Magic(2, "Add", orb.CFrame, Vector3.new(orbm.Scale.x, orbm.Scale.y, orbm.Scale.z), 2, BrickC("Really black"), "Sphere") | |
2074 | for i = 0, 9 do | |
2075 | Aura(1, 2.5, "Add", orb.CFrame * CFrame.Angles(math.rad(math.random(-360, 360)), math.rad(math.random(-360, 360)), math.rad(math.random(-360, 360))), 5, 5, 50, -0.05, BrickC("Really black"), 0, "Sphere") | |
2076 | Aura(2, 5, "Add", orb.CFrame * CFrame.Angles(math.rad(math.random(-360, 360)), math.rad(math.random(-360, 360)), math.rad(math.random(-360, 360))), 5, 5, 50, -0.05, BrickC("Really black"), 0, "Sphere") | |
2077 | end | |
2078 | orb.Anchored = true | |
2079 | orb.Transparency = 1 | |
2080 | wait(8) | |
2081 | orb:Destroy() | |
2082 | end | |
2083 | end) | |
2084 | end)) | |
2085 | for i = 0, 1, 0.1 do | |
2086 | swait() | |
2087 | rootj.C0 = clerp(rootj.C0, RootCF * CF(0* Player_Size, 0* Player_Size, -0.1 + 0.1* Player_Size * Cos(sine / 20)) * angles(Rad(6), Rad(0), Rad(30)), 0.3) | |
2088 | neck.C0 = clerp(neck.C0, necko* CF(0, 0, 0 + ((1* Player_Size) - 1)) * angles(Rad(-20 - 2.5 * Sin(sine / 20)), Rad(Mrandom(-15, 15)), Rad(-30)), 0.3) | |
2089 | RH.C0 = clerp(RH.C0, CF(1* Player_Size, -0.9 - 0.1 * Cos(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(0), Rad(85), Rad(0)) * angles(Rad(-5), Rad(0), Rad(6)), 0.3) | |
2090 | LH.C0 = clerp(LH.C0, CF(-1* Player_Size, -0.9 - 0.1 * Cos(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(0), Rad(-85), Rad(0)) * angles(Rad(-5), Rad(0), Rad(-6)), 0.3) | |
2091 | RW.C0 = clerp(RW.C0, CF(1.5* Player_Size, 0.5 + 0.1 * Sin(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(65), Rad(Mrandom(-15, 15)), Rad(5 - 4.5 * Sin(sine / 20))), 0.3) | |
2092 | LW.C0 = clerp(LW.C0, CF(-1.5* Player_Size, 0.5 + 0.1 * Sin(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(6), Rad(Mrandom(-15, 15)), Rad(-5 + 4.5 * Sin(sine / 20))), 0.3) | |
2093 | end | |
2094 | attack = false | |
2095 | end | |
2096 | ------------------------------------------------------- | |
2097 | --End Attacks N Stuff-- | |
2098 | ------------------------------------------------------- | |
2099 | mouse.KeyDown:connect(function(key) | |
2100 | if string.byte(key) == 48 then | |
2101 | Swing = 2 | |
2102 | hum.WalkSpeed = 38.82 | |
2103 | end | |
2104 | end) | |
2105 | mouse.KeyUp:connect(function(key) | |
2106 | if string.byte(key) == 48 then | |
2107 | Swing = 1 | |
2108 | hum.WalkSpeed = 16 | |
2109 | end | |
2110 | end) | |
2111 | mouse.KeyDown:connect(function(key) | |
2112 | if attack == false then | |
2113 | if key == 'e' then | |
2114 | BigBan() | |
2115 | elseif key == 'v' then | |
2116 | GalaBomb() | |
2117 | elseif key == 'r' then | |
2118 | BANN() | |
2119 | elseif key == 'q' then | |
2120 | TUSKOR661() | |
2121 | elseif key == 'z' then | |
2122 | BURN_IN_HELL() | |
2123 | elseif key == 'c' then | |
2124 | Call_Upon_The_Eyes() | |
2125 | elseif key == 'x' then | |
2126 | Eyeyeyeyeyeyey_Slammo() | |
2127 | elseif key == 't' then | |
2128 | Cso("1450018171", hed, 10, 1) | |
2129 | end | |
2130 | end | |
2131 | end) | |
2132 | mouse.Button1Down:connect(function(key) | |
2133 | if attack == false then | |
2134 | Ban() | |
2135 | end | |
2136 | end) | |
2137 | ||
2138 | ||
2139 | ||
2140 | ||
2141 | ||
2142 | ||
2143 | ||
2144 | ------------------------------------------------------- | |
2145 | --Start Animations-- | |
2146 | ------------------------------------------------------- | |
2147 | while true do | |
2148 | swait() | |
2149 | sine = sine + change | |
2150 | local torvel = (root.Velocity * Vector3.new(1, 0, 1)).magnitude | |
2151 | local velderp = root.Velocity.y | |
2152 | hitfloor, posfloor = rayCast(root.Position, CFrame.new(root.Position, root.Position - Vector3.new(0, 1, 0)).lookVector, 4* Player_Size, char) | |
2153 | if equipped == true or equipped == false then | |
2154 | if attack == false then | |
2155 | idle = idle + 1 | |
2156 | else | |
2157 | idle = 0 | |
2158 | end | |
2159 | --Aura(5, 0.15, "Add", root.CFrame * CFrame.new(math.random(-5, 5), -10, math.random(-5, 5)) * CFrame.Angles(math.rad(90), 0, 0), 1.5, 1.5, 10, -0.015, maincolor, 0, "Sphere") | |
2160 | if 1 < root.Velocity.y and hitfloor == nil then | |
2161 | Anim = "Jump" | |
2162 | if attack == false then | |
2163 | rootj.C0 = clerp(rootj.C0, RootCF * CF(0* Player_Size, 0* Player_Size, -0.1 + 0.1 * Cos(sine / 20)* Player_Size) * angles(Rad(-16), Rad(0), Rad(0)), 0.15) | |
2164 | neck.C0 = clerp(neck.C0, necko* CF(0, 0, 0 + ((1* Player_Size) - 1)) * angles(Rad(10 - 2.5 * Sin(sine / 30)), Rad(0), Rad(0)), 0.3) | |
2165 | RH.C0 = clerp(RH.C0, CF(1* Player_Size, -.2 - 0.1 * Cos(sine / 20)* Player_Size, -.3* Player_Size) * RHCF * angles(Rad(-2.5), Rad(0), Rad(0)), 0.15) | |
2166 | LH.C0 = clerp(LH.C0, CF(-1* Player_Size, -.9 - 0.1 * Cos(sine / 20), -.5* Player_Size) * LHCF * angles(Rad(-2.5), Rad(0), Rad(0)), 0.15) | |
2167 | RW.C0 = clerp(RW.C0, CF(1.5* Player_Size, 0.5 + 0.02 * Sin(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(25), Rad(-.6), Rad(13 + 4.5 * Sin(sine / 20))), 0.1) | |
2168 | LW.C0 = clerp(LW.C0, CF(-1.5* Player_Size, 0.5 + 0.02 * Sin(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(25), Rad(-.6), Rad(-13 - 4.5 * Sin(sine / 20))), 0.1) | |
2169 | end | |
2170 | elseif -1 > root.Velocity.y and hitfloor == nil then | |
2171 | Anim = "Fall" | |
2172 | if attack == false then | |
2173 | rootj.C0 = clerp(rootj.C0, RootCF * CF(0* Player_Size, 0* Player_Size, -0.1 + 0.1 * Cos(sine / 20)* Player_Size) * angles(Rad(24), Rad(0), Rad(0)), 0.15) | |
2174 | neck.C0 = clerp(neck.C0, necko* CF(0, 0, 0 + ((1* Player_Size) - 1)) * angles(Rad(10 - 2.5 * Sin(sine / 30)), Rad(0), Rad(0)), 0.3) | |
2175 | RH.C0 = clerp(RH.C0, CF(1* Player_Size, -1 - 0.1 * Cos(sine / 20)* Player_Size, -.3* Player_Size) * RHCF * angles(Rad(-3.5), Rad(0), Rad(0)), 0.15) | |
2176 | LH.C0 = clerp(LH.C0, CF(-1* Player_Size, -.8 - 0.1 * Cos(sine / 20)* Player_Size, -.3* Player_Size) * LHCF * angles(Rad(-3.5), Rad(0), Rad(0)), 0.15) | |
2177 | RW.C0 = clerp(RW.C0, CF(1.5* Player_Size, 0.5 + 0.02 * Sin(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(65), Rad(-.6), Rad(45 + 4.5 * Sin(sine / 20))), 0.1) | |
2178 | LW.C0 = clerp(LW.C0, CF(-1.5* Player_Size, 0.5 + 0.02 * Sin(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(55), Rad(-.6), Rad(-45 - 4.5 * Sin(sine / 20))), 0.1) | |
2179 | end | |
2180 | elseif torvel < 1 and hitfloor ~= nil then | |
2181 | Anim = "Idle" | |
2182 | change = 1 | |
2183 | if attack == false then | |
2184 | rootj.C0 = clerp(rootj.C0, RootCF * CF(0* Player_Size, 0* Player_Size, -0.1 + 0.1* Player_Size * Cos(sine / 20)) * angles(Rad(0), Rad(0), Rad(0)), 0.15) | |
2185 | tors.Neck.C0 = clerp(tors.Neck.C0, necko* CF(0, 0, 0 + ((1* Player_Size) - 1)) * angles(Rad(-7.5 * Sin(sine / 30)), Rad(0), Rad(0)), 0.3) | |
2186 | RH.C0 = clerp(RH.C0, CF(1* Player_Size, -0.9* Player_Size - 0.1 * Cos(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(0), Rad(84), Rad(0)) * angles(Rad(-6.5), Rad(0), Rad(0)), 0.15) | |
2187 | LH.C0 = clerp(LH.C0, CF(-1* Player_Size, -0.9* Player_Size - 0.1 * Cos(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(0), Rad(-84), Rad(0)) * angles(Rad(-6.5), Rad(0), Rad(0)), 0.15) | |
2188 | RW.C0 = clerp(RW.C0, CF(1.5* Player_Size, 0.5 + 0.02 * Sin(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(190), Rad(-.6), Rad(13)), 0.1) | |
2189 | LW.C0 = clerp(LW.C0, CF(-1.5* Player_Size, 0.5 + 0.02 * Sin(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(15), Rad(-6), Rad(-25 - 4.5 * Sin(sine / 20))), 0.1) | |
2190 | end | |
2191 | elseif torvel > 2 and torvel < 25 and hitfloor ~= nil then | |
2192 | Anim = "Walk" | |
2193 | change = 1 | |
2194 | if attack == false then | |
2195 | rootj.C0 = clerp(rootj.C0, RootCF * CF(0* Player_Size, 0* Player_Size, -0.175 + 0.025 * Cos(sine / 3.5) + -Sin(sine / 3.5) / 7* Player_Size) * angles(Rad(3 - 2.5 * Cos(sine / 3.5)), Rad(0) - root.RotVelocity.Y / 75, Rad(8 * Cos(sine / 7))), 0.15) | |
2196 | tors.Neck.C0 = clerp(tors.Neck.C0, necko* CF(0, 0, 0 + ((1* Player_Size) - 1)) * angles(Rad(6 - 6.5 * Sin(sine / 7)), Rad(0), Rad(0) - hed.RotVelocity.Y / 15), 0.3) | |
2197 | RH.C0 = clerp(RH.C0, CF(1* Player_Size, -0.8* Player_Size - 0.5 * Cos(sine / 7) / 2* Player_Size, 0.6 * Cos(sine / 7) / 2* Player_Size) * angles(Rad(-10 - 25 * Cos(sine / 7)) - rl.RotVelocity.Y / 75 + -Sin(sine / 7) / 2.5, Rad(90 - 10 * Cos(sine / 7)), Rad(0)) * angles(Rad(0 + 2 * Cos(sine / 7)), Rad(0), Rad(0)), 0.3) | |
2198 | LH.C0 = clerp(LH.C0, CF(-1* Player_Size, -0.8* Player_Size + 0.5 * Cos(sine / 7) / 2* Player_Size, -0.6 * Cos(sine / 7) / 2* Player_Size) * angles(Rad(-10 + 25 * Cos(sine / 7)) + ll.RotVelocity.Y / 75 + Sin(sine / 7) / 2.5, Rad(-90 - 10 * Cos(sine / 7)), Rad(0)) * angles(Rad(0 - 2 * Cos(sine / 7)), Rad(0), Rad(0)), 0.3) | |
2199 | RW.C0 = clerp(RW.C0, CF(1.5* Player_Size, 0.5 + 0.05 * Sin(sine / 7)* Player_Size, 0* Player_Size) * angles(Rad(190) , Rad(8 * Cos(sine / 7)), Rad(13) - ra.RotVelocity.Y / 75), 0.1) | |
2200 | LW.C0 = clerp(LW.C0, CF(-1.5* Player_Size, 0.5 + 0.05 * Sin(sine / 7)* Player_Size, 0* Player_Size) * angles(Rad(-37) * Cos(sine / 7) , Rad(8 * Cos(sine / 7)) , Rad(-6) + la.RotVelocity.Y / 75), 0.1) | |
2201 | end | |
2202 | elseif torvel >= 25 and hitfloor ~= nil then | |
2203 | Anim = "Sprint" | |
2204 | change = 1.35 | |
2205 | if attack == false then | |
2206 | rootj.C0 = clerp(rootj.C0, RootCF * CF(0* Player_Size, 0* Player_Size, -0.175 + 0.025 * Cos(sine / 3.5) + -Sin(sine / 3.5) / 7* Player_Size) * angles(Rad(26 - 4.5 * Cos(sine / 3.5)), Rad(0) - root.RotVelocity.Y / 75, Rad(15 * Cos(sine / 7))), 0.15) | |
2207 | tors.Neck.C0 = clerp(tors.Neck.C0, necko* CF(0, 0, 0 + ((1* Player_Size) - 1)) * angles(Rad(-45 - 2.5 * Sin(sine / 20)), Rad(0), Rad(0) - hed.RotVelocity.Y / 15), 0.3) | |
2208 | RH.C0 = clerp(RH.C0, CF(1* Player_Size, -0.925* Player_Size - 0.5* Player_Size * Cos(sine / 7) / 2* Player_Size, 0.7 * Cos(sine / 7) / 2* Player_Size) * angles(Rad(-15 - 55 * Cos(sine / 7)) - rl.RotVelocity.Y / 75 + -Sin(sine / 7) / 2.5, Rad(90 - 0.1 * Cos(sine / 7)), Rad(0)) * angles(Rad(0 + 0.1 * Cos(sine / 7)), Rad(0), Rad(0)), 0.3) | |
2209 | LH.C0 = clerp(LH.C0, CF(-1* Player_Size, -0.925* Player_Size + 0.5* Player_Size * Cos(sine / 7) / 2* Player_Size, -0.7 * Cos(sine / 7) / 2* Player_Size) * angles(Rad(-15 + 55 * Cos(sine / 7)) + ll.RotVelocity.Y / 75 + Sin(sine / 7) / 2.5, Rad(-90 - 0.1 * Cos(sine / 7)), Rad(0)) * angles(Rad(0 - 0.1 * Cos(sine / 7)), Rad(0), Rad(0)), 0.3) | |
2210 | RW.C0 = clerp(RW.C0, CF(1.5* Player_Size, 0.5 + 0.05 * Sin(sine / 30)* Player_Size, 0.34 * Cos(sine / 7* Player_Size)) * angles(Rad(215) , Rad(8 * Cos(sine / 7)), Rad(13) - ra.RotVelocity.Y / 75), 0.15) | |
2211 | LW.C0 = clerp(LW.C0, CF(-1.5* Player_Size, 0.5 + 0.05 * Sin(sine / 30)* Player_Size, -0.34 * Cos(sine / 7* Player_Size)) * angles(Rad(-75) , Rad(8 * Cos(sine / 7)) , Rad(-13) + la.RotVelocity.Y / 75), 0.15) | |
2212 | end | |
2213 | end | |
2214 | end | |
2215 | Music.SoundId = "rbxassetid://"..SONG | |
2216 | Music.Looped = true | |
2217 | Music.Pitch = 1 | |
2218 | Music.Volume = 1.5 | |
2219 | Music.Parent = tors | |
2220 | Music:Resume() | |
2221 | ||
2222 | end | |
2223 | - | Part.Parent = nil |
2223 | + | |
2224 | - | table.remove(Effects, e) |
2224 | + | |
2225 | end | |
2226 | end | |
2227 | end | |
2228 | end | |
2229 | ------------------------------------------------------- | |
2230 | --End Animations And Script-- | |
2231 | ------------------------------------------------------- |