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