SHOW:
|
|
- or go back to the newest paste.
| 1 | --void Script bbuilder fe script converter V2 | |
| 2 | ||
| 3 | if game:GetService("RunService"):IsClient() then error("Script must be server-side in order to work; use h/ and not hl/") end
| |
| 4 | local Player,Mouse,mouse,UserInputService,ContextActionService = owner | |
| 5 | local RealPlayer = Player | |
| 6 | do print("FE Compatibility code by Mokiros")local a=RealPlayer;script.Parent=a.Character;local b=Instance.new("RemoteEvent")b.Name="UserInput_Event"local function c()local d={_fakeEvent=true,Functions={},Connect=function(self,e)table.insert(self.Functions,e)end}d.connect=d.Connect;return d end;local f={Target=nil,Hit=CFrame.new(),KeyUp=c(),KeyDown=c(),Button1Up=c(),Button1Down=c(),Button2Up=c(),Button2Down=c()}local g={InputBegan=c(),InputEnded=c()}local CAS={Actions={},BindAction=function(self,h,i,j,...)CAS.Actions[h]=i and{Name=h,Function=i,Keys={...}}or nil end}CAS.UnbindAction=CAS.BindAction;local function k(self,l,...)local d=f[l]if d and d._fakeEvent then for m,e in pairs(d.Functions)do e(...)end end end;f.TrigEvent=k;g.TrigEvent=k;b.OnServerEvent:Connect(function(n,o)if n~=a then return end;f.Target=o.Target;f.Hit=o.Hit;if not o.isMouse then local p=o.UserInputState==Enum.UserInputState.Begin;if o.UserInputType==Enum.UserInputType.MouseButton1 then return f:TrigEvent(p and"Button1Down"or"Button1Up")end;if o.UserInputType==Enum.UserInputType.MouseButton2 then return f:TrigEvent(p and"Button2Down"or"Button2Up")end;for m,d in pairs(CAS.Actions)do for m,q in pairs(d.Keys)do if q==o.KeyCode then d.Function(d.Name,o.UserInputState,o)end end end;f:TrigEvent(p and"KeyDown"or"KeyUp",o.KeyCode.Name:lower())g:TrigEvent(p and"InputBegan"or"InputEnded",o,false)end end)b.Parent=NLS([==[local a=game:GetService("Players").LocalPlayer;local b=script:WaitForChild("UserInput_Event")local c=a:GetMouse()local d=game:GetService("UserInputService")local e=function(f,g)if g then return end;b:FireServer({KeyCode=f.KeyCode,UserInputType=f.UserInputType,UserInputState=f.UserInputState,Hit=c.Hit,Target=c.Target})end;d.InputBegan:Connect(e)d.InputEnded:Connect(e)local h,i;while wait(1/30)do if h~=c.Hit or i~=c.Target then h,i=c.Hit,c.Target;b:FireServer({isMouse=true,Target=i,Hit=h})end end]==],Player.Character)local r=game;local s={__index=function(self,q)local t=rawget(self,"_RealService")if t then return typeof(t[q])=="function"and function(m,...)return t[q](t,...)end or t[q]end end,__newindex=function(self,q,u)local t=rawget(self,"_RealService")if t then t[q]=u end end}local function v(d,w)d._RealService=typeof(w)=="string"and r:GetService(w)or w;return setmetatable(d,s)end;local x={GetService=function(self,t)return rawget(self,t)or r:GetService(t)end,Players=v({LocalPlayer=v({GetMouse=function(self)return f end},Player)},"Players"),UserInputService=v(g,"UserInputService"),ContextActionService=v(CAS,"ContextActionService"),RunService=v({_btrs={},RenderStepped=r:GetService("RunService").Heartbeat,BindToRenderStep=function(self,h,m,i)self._btrs[h]=self.Heartbeat:Connect(i)end,UnbindFromRenderStep=function(self,h)self._btrs[h]:Disconnect()end},"RunService")}rawset(x.Players,"localPlayer",x.Players.LocalPlayer)x.service=x.GetService;v(x,game)game,owner=x,x.Players.LocalPlayer end
| |
| 7 | ||
| 8 | ----God of shapes created by Father_Heaven | |
| 9 | --using shackluster scripts-- | |
| 10 | --More added by XDavodioX-- | |
| 11 | --That includes-- | |
| 12 | --Name | |
| 13 | --Smite | |
| 14 | --The Gui | |
| 15 | --Teleport | |
| 16 | ||
| 17 | ||
| 18 | ||
| 19 | function sandbox(var,func) | |
| 20 | local env = getfenv(func) | |
| 21 | local newenv = setmetatable({},{
| |
| 22 | __index = function(self,k) | |
| 23 | if k=="script" then | |
| 24 | return var | |
| 25 | else | |
| 26 | return env[k] | |
| 27 | end | |
| 28 | end, | |
| 29 | }) | |
| 30 | setfenv(func,newenv) | |
| 31 | return func | |
| 32 | end | |
| 33 | function NS(...) | |
| 34 | local tab = {...}
| |
| 35 | local fat = {}
| |
| 36 | for i = 1, #tab do | |
| 37 | local v = tab[i] | |
| 38 | table.insert(fat,NumberSequenceKeypoint.new(v[1],v[2])) | |
| 39 | end | |
| 40 | return NumberSequence.new(fat); | |
| 41 | end | |
| 42 | ||
| 43 | cors = {}
| |
| 44 | mas = Instance.new("Model",game:GetService("Lighting"))
| |
| 45 | ParticleEmitter0 = Instance.new("ParticleEmitter")
| |
| 46 | ParticleEmitter1 = Instance.new("ParticleEmitter")
| |
| 47 | ParticleEmitter2 = Instance.new("ParticleEmitter")
| |
| 48 | ParticleEmitter0.Name = "Flames" | |
| 49 | ParticleEmitter0.Parent = mas | |
| 50 | ParticleEmitter0.Speed = NumberRange.new(0, 15) | |
| 51 | ParticleEmitter0.Rotation = NumberRange.new(0, 360) | |
| 52 | ParticleEmitter0.Enabled = false | |
| 53 | ParticleEmitter0.LightEmission = 1 | |
| 54 | ParticleEmitter0.LightInfluence = 1 | |
| 55 | ParticleEmitter0.Transparency = NumberSequence.new(1,0) | |
| 56 | ParticleEmitter0.ZOffset = 1 | |
| 57 | ParticleEmitter0.Size = NumberSequence.new(10,0) | |
| 58 | ParticleEmitter0.EmissionDirection = Enum.NormalId.Back | |
| 59 | ParticleEmitter0.Lifetime = NumberRange.new(0, 2) | |
| 60 | ParticleEmitter0.Rate = 9999 | |
| 61 | ParticleEmitter0.RotSpeed = NumberRange.new(-25, 25) | |
| 62 | ParticleEmitter0.SpreadAngle = Vector2.new(25, 25) | |
| 63 | ParticleEmitter0.VelocitySpread = 25 | |
| 64 | ParticleEmitter0.Texture = "rbxasset://textures/particles/sparkles_main.dds" | |
| 65 | ParticleEmitter1.Name = "Death" | |
| 66 | ParticleEmitter1.Parent = mas | |
| 67 | ParticleEmitter1.Rotation = NumberRange.new(0, 360) | |
| 68 | ParticleEmitter1.Enabled = false | |
| 69 | ParticleEmitter1.LightEmission = 0.75 | |
| 70 | ParticleEmitter1.Texture = "rbxasset://textures/particles/sparkles_main.dds" | |
| 71 | ParticleEmitter1.Transparency = NS({0,0.47540986537933},{.168,0.37704920768738},{.457,0.25683063268661},{.803,0.4426229596138},{.948,0.62841534614563},{1,1})
| |
| 72 | ParticleEmitter1.ZOffset = 0.5 | |
| 73 | ParticleEmitter1.Size = NS({0,1},{.656,1.8032789230347},{.843,1.4207655191422},{1,0})
| |
| 74 | ParticleEmitter1.Acceleration = Vector3.new(0, 35, 0) | |
| 75 | ParticleEmitter1.Drag = 5 | |
| 76 | ParticleEmitter1.EmissionDirection = Enum.NormalId.Right | |
| 77 | ParticleEmitter1.Lifetime = NumberRange.new(0, 1) | |
| 78 | ParticleEmitter1.Rate = 999 | |
| 79 | ParticleEmitter1.RotSpeed = NumberRange.new(-56, 56) | |
| 80 | ParticleEmitter1.SpreadAngle = Vector2.new(360, 360) | |
| 81 | ParticleEmitter1.VelocitySpread = 360 | |
| 82 | ParticleEmitter2.Name = "Wing" | |
| 83 | ParticleEmitter2.Parent = mas | |
| 84 | ParticleEmitter2.Rotation = NumberRange.new(0, 360) | |
| 85 | ParticleEmitter2.Enabled = false | |
| 86 | ParticleEmitter2.LightEmission = 1 | |
| 87 | ParticleEmitter2.Texture = "rbxasset://textures/particles/explosion01_implosion_main.dds" | |
| 88 | ParticleEmitter2.Size = NS({0,0.05464494228363},{.193,1.0382515192032},{.352,1.3661205768585},{1,0})
| |
| 89 | ParticleEmitter2.Acceleration = Vector3.new(0, -7, 15) | |
| 90 | ParticleEmitter2.Lifetime = NumberRange.new(0.80000001192093, 0.80000001192093) | |
| 91 | ParticleEmitter2.LockedToPart = true | |
| 92 | ParticleEmitter2.Rate = 300 | |
| 93 | ||
| 94 | for i,v in pairs(mas:GetChildren()) do | |
| 95 | v.Parent = script | |
| 96 | pcall(function() v:MakeJoints() end) | |
| 97 | end | |
| 98 | mas:Destroy() | |
| 99 | for i,v in pairs(cors) do | |
| 100 | spawn(function() | |
| 101 | pcall(v) | |
| 102 | end) | |
| 103 | end | |
| 104 | ||
| 105 | ||
| 106 | ||
| 107 | ||
| 108 | ||
| 109 | ||
| 110 | ||
| 111 | function onKeyPress(inputObject, gameProcessedEvent) | |
| 112 | if inputObject.KeyCode == Enum.KeyCode.L then | |
| 113 | ||
| 114 | ||
| 115 | local q = game.Players:GetChildren() for i = 1, #q do if q[i].Character.Parent ~= workspace and q[i].Parent ~= nil then q[i].Character.Parent = workspace local sound2 = Instance.new("Sound",workspace) sound2.SoundId = "rbxassetid://245910488" sound2.Volume = 5 sound2:Play() end end end
| |
| 116 | ||
| 117 | ||
| 118 | end | |
| 119 | ||
| 120 | ||
| 121 | ||
| 122 | ||
| 123 | ||
| 124 | ||
| 125 | ||
| 126 | game:GetService("UserInputService").InputBegan:connect(onKeyPress)
| |
| 127 | ||
| 128 | ||
| 129 | ||
| 130 | ||
| 131 | ||
| 132 | ||
| 133 | ||
| 134 | ||
| 135 | Player = game:GetService("Players").LocalPlayer
| |
| 136 | Character = Player.Character | |
| 137 | ||
| 138 | ||
| 139 | ||
| 140 | Torso = Character["Torso"] | |
| 141 | Head = Character["Head"] | |
| 142 | RightArm = Character["Right Arm"] | |
| 143 | LeftArm = Character["Left Arm"] | |
| 144 | RightLeg = Character["Right Leg"] | |
| 145 | LeftLeg = Character["Left Leg"] | |
| 146 | Neck = Torso["Neck"] | |
| 147 | ||
| 148 | wait(1) | |
| 149 | ||
| 150 | ||
| 151 | ||
| 152 | ||
| 153 | ||
| 154 | ||
| 155 | local createstuff = function() | |
| 156 | local stuff = Instance.new("Model")
| |
| 157 | ||
| 158 | local ParticleBox = Instance.new("Part")
| |
| 159 | ||
| 160 | ||
| 161 | stuff.Name = "Stuff" | |
| 162 | stuff.Parent = workspace | |
| 163 | ||
| 164 | ParticleBox.Size = Vector3.new(10, 10, 10) | |
| 165 | ParticleBox.BottomSurface = Enum.SurfaceType.Smooth | |
| 166 | ParticleBox.Material = Enum.Material.SmoothPlastic | |
| 167 | ParticleBox.Color = Color3.new(0.0666667, 0.0666667, 0.0666667) | |
| 168 | ParticleBox.BrickColor = BrickColor.new("Really black")
| |
| 169 | ParticleBox.TopSurface = Enum.SurfaceType.Smooth | |
| 170 | ParticleBox.Name = "ParticleBox" | |
| 171 | ParticleBox.Parent = stuff | |
| 172 | ParticleBox.CFrame = CFrame.new(9.8, 44.1, -48.7) | |
| 173 | ParticleBox.Transparency = 1 | |
| 174 | ||
| 175 | local headness = Instance.new("Part")
| |
| 176 | headness.Parent = stuff | |
| 177 | headness.Name = ("headness")
| |
| 178 | headness.Size = Vector3.new(2,1,1) | |
| 179 | headness.Transparency = 0.5 | |
| 180 | headness.Material = ("Neon")
| |
| 181 | headness.BrickColor = BrickColor.new("Navy blue")
| |
| 182 | headness.CanCollide = false | |
| 183 | ||
| 184 | ||
| 185 | local Blockhead = Instance.new("BlockMesh")
| |
| 186 | Blockhead.Name = ("Blockhead")
| |
| 187 | Blockhead.Offset = Vector3.new(0,-0.45,0) | |
| 188 | Blockhead.Scale = Vector3.new(0.56,1.1,1.1) | |
| 189 | Blockhead.Parent = stuff | |
| 190 | ||
| 191 | local MajesticGlow = Instance.new("PointLight")
| |
| 192 | MajesticGlow.Color = Color3.new(6/225,6/255,159/255) | |
| 193 | MajesticGlow.Range = 25 | |
| 194 | MajesticGlow.Shadows = false | |
| 195 | MajesticGlow.Brightness = 1 | |
| 196 | MajesticGlow.Name = ("MajesticGlow")
| |
| 197 | MajesticGlow.Parent = stuff | |
| 198 | ||
| 199 | ||
| 200 | ||
| 201 | for i,v in pairs(stuff:GetChildren()) do | |
| 202 | v.Parent = script | |
| 203 | end | |
| 204 | end | |
| 205 | ||
| 206 | createstuff() | |
| 207 | ||
| 208 | ||
| 209 | wait(1) | |
| 210 | ||
| 211 | Player = game:GetService("Players").LocalPlayer
| |
| 212 | PlayerGui = Player.PlayerGui | |
| 213 | Cam = workspace.CurrentCamera | |
| 214 | Backpack = Player.Backpack | |
| 215 | Character = Player.Character | |
| 216 | Humanoid = Character.Humanoid | |
| 217 | Mouse = Player:GetMouse() | |
| 218 | RootPart = Character["HumanoidRootPart"] | |
| 219 | Torso = Character["Torso"] | |
| 220 | Head = Character["Head"] | |
| 221 | RightArm = Character["Right Arm"] | |
| 222 | LeftArm = Character["Left Arm"] | |
| 223 | RightLeg = Character["Right Leg"] | |
| 224 | LeftLeg = Character["Left Leg"] | |
| 225 | RootJoint = RootPart["RootJoint"] | |
| 226 | Neck = Torso["Neck"] | |
| 227 | RightShoulder = Torso["Right Shoulder"] | |
| 228 | LeftShoulder = Torso["Left Shoulder"] | |
| 229 | RightHip = Torso["Right Hip"] | |
| 230 | LeftHip = Torso["Left Hip"] | |
| 231 | local sick = Instance.new("Sound",Character)
| |
| 232 | Player_Size = 1 | |
| 233 | ||
| 234 | IT = Instance.new | |
| 235 | CF = CFrame.new | |
| 236 | VT = Vector3.new | |
| 237 | RAD = math.rad | |
| 238 | C3 = Color3.new | |
| 239 | UD2 = UDim2.new | |
| 240 | BRICKC = BrickColor.new | |
| 241 | ANGLES = CFrame.Angles | |
| 242 | EULER = CFrame.fromEulerAnglesXYZ | |
| 243 | COS = math.cos | |
| 244 | ACOS = math.acos | |
| 245 | SIN = math.sin | |
| 246 | ASIN = math.asin | |
| 247 | ABS = math.abs | |
| 248 | MRANDOM = math.random | |
| 249 | FLOOR = math.floor | |
| 250 | ||
| 251 | Animation_Speed = 3 | |
| 252 | Frame_Speed = 1 / 60 -- (1 / 30) OR (1 / 60) | |
| 253 | local Speed = 35 | |
| 254 | local ROOTC0 = CF(0, 0, 0) * ANGLES(RAD(-90), RAD(0), RAD(180)) | |
| 255 | local NECKC0 = CF(0, 1, 0) * ANGLES(RAD(-90), RAD(0), RAD(180)) | |
| 256 | local RIGHTSHOULDERC0 = CF(-0.5, 0, 0) * ANGLES(RAD(0), RAD(90), RAD(0)) | |
| 257 | local LEFTSHOULDERC0 = CF(0.5, 0, 0) * ANGLES(RAD(0), RAD(-90), RAD(0)) | |
| 258 | local DAMAGEMULTIPLIER = 1 | |
| 259 | local ANIM = "Idle" | |
| 260 | local ATTACK = false | |
| 261 | local EQUIPPED = false | |
| 262 | local HOLD = false | |
| 263 | local COMBO = 1 | |
| 264 | local Rooted = false | |
| 265 | local SINE = 0 | |
| 266 | local KEYHOLD = false | |
| 267 | local CHANGE = 2 / Animation_Speed | |
| 268 | local WALKINGANIM = false | |
| 269 | local VALUE1 = false | |
| 270 | local VALUE2 = false | |
| 271 | local ROBLOXIDLEANIMATION = IT("Animation")
| |
| 272 | ROBLOXIDLEANIMATION.Name = "Roblox Idle Animation" | |
| 273 | ROBLOXIDLEANIMATION.AnimationId = "http://www.roblox.com/asset/?id=180435571" | |
| 274 | --ROBLOXIDLEANIMATION.Parent = Humanoid | |
| 275 | local WEAPONGUI = IT("ScreenGui", PlayerGui)
| |
| 276 | WEAPONGUI.Name = "Weapon GUI" | |
| 277 | local Effects = IT("Folder", Character)
| |
| 278 | Effects.Name = "Effects" | |
| 279 | ||
| 280 | local SKILLTEXTCOLOR = C3(0,1,0) | |
| 281 | ||
| 282 | ||
| 283 | local remember = coroutine.wrap(function() | |
| 284 | while true do | |
| 285 | ||
| 286 | for _, c in pairs(Character:GetChildren()) do | |
| 287 | if c:IsA("Folder") then
| |
| 288 | Effects = c | |
| 289 | ||
| 290 | ||
| 291 | ||
| 292 | ||
| 293 | end | |
| 294 | ||
| 295 | ||
| 296 | ||
| 297 | end | |
| 298 | ||
| 299 | ||
| 300 | ||
| 301 | ||
| 302 | wait() | |
| 303 | end | |
| 304 | ||
| 305 | end) | |
| 306 | ||
| 307 | remember() | |
| 308 | ||
| 309 | ||
| 310 | ||
| 311 | ||
| 312 | local ANIMATOR = Humanoid.Animator | |
| 313 | local ANIMATE = Character.Animate | |
| 314 | local UNANCHOR = true | |
| 315 | local PLAYSONG = true | |
| 316 | local EXTRATRANS = 0 | |
| 317 | ||
| 318 | --//=================================\\ | |
| 319 | --\\=================================// | |
| 320 | ||
| 321 | ||
| 322 | --//=================================\\ | |
| 323 | --|| SAZERENOS' ARTIFICIAL HEARTBEAT | |
| 324 | --\\=================================// | |
| 325 | ||
| 326 | ArtificialHB = Instance.new("BindableEvent", script)
| |
| 327 | ArtificialHB.Name = "ArtificialHB" | |
| 328 | ||
| 329 | script:WaitForChild("ArtificialHB")
| |
| 330 | ||
| 331 | frame = Frame_Speed | |
| 332 | tf = 0 | |
| 333 | allowframeloss = false | |
| 334 | tossremainder = false | |
| 335 | lastframe = tick() | |
| 336 | script.ArtificialHB:Fire() | |
| 337 | ||
| 338 | game:GetService("RunService").Heartbeat:connect(function(s, p)
| |
| 339 | tf = tf + s | |
| 340 | if tf >= frame then | |
| 341 | if allowframeloss then | |
| 342 | script.ArtificialHB:Fire() | |
| 343 | lastframe = tick() | |
| 344 | else | |
| 345 | for i = 1, math.floor(tf / frame) do | |
| 346 | script.ArtificialHB:Fire() | |
| 347 | end | |
| 348 | lastframe = tick() | |
| 349 | end | |
| 350 | if tossremainder then | |
| 351 | tf = 0 | |
| 352 | else | |
| 353 | tf = tf - frame * math.floor(tf / frame) | |
| 354 | end | |
| 355 | end | |
| 356 | end) | |
| 357 | ||
| 358 | --//=================================\\ | |
| 359 | --|| Nameing crep || | |
| 360 | --\\=================================// | |
| 361 | ||
| 362 | ||
| 363 | m = game.Players.LocalPlayer | |
| 364 | char = m.Character | |
| 365 | local txt = Instance.new("BillboardGui", char)
| |
| 366 | txt.Adornee = char.Head | |
| 367 | txt.Name = "_status" | |
| 368 | txt.Size = UDim2.new(2, 0, 1.2, 0) | |
| 369 | txt.StudsOffset = Vector3.new(-9, 8, 0) | |
| 370 | local text = Instance.new("TextLabel", txt)
| |
| 371 | text.Size = UDim2.new(10, 0, 7, 0) | |
| 372 | text.FontSize = "Size24" | |
| 373 | text.TextScaled = true | |
| 374 | text.TextTransparency = 0 | |
| 375 | text.BackgroundTransparency = 1 | |
| 376 | text.TextTransparency = 0 | |
| 377 | text.TextStrokeTransparency = 1 | |
| 378 | text.Font = "Arcade" | |
| 379 | text.TextStrokeColor3 = Color3.new(0, 0, 0) | |
| 380 | v = Instance.new("Part")
| |
| 381 | v.Name = "ColorBrick" | |
| 382 | v.Parent = m.Character | |
| 383 | v.FormFactor = "Symmetric" | |
| 384 | v.Anchored = true | |
| 385 | v.CanCollide = false | |
| 386 | v.BottomSurface = "Smooth" | |
| 387 | v.TopSurface = "Smooth" | |
| 388 | v.Size = Vector3.new(10, 5, 3) | |
| 389 | v.Transparency = 1 | |
| 390 | v.CFrame = char.Torso.CFrame | |
| 391 | v.BrickColor = BrickColor.new("Really black")
| |
| 392 | v.Transparency = 1 | |
| 393 | v.Shape = "Block" | |
| 394 | spawn(function() | |
| 395 | local TweenService = game:GetService("TweenService")
| |
| 396 | local Colours = {Color3.fromRGB(255,0,0),Color3.fromRGB(255,128,0),Color3.fromRGB(255,255,0),Color3.fromRGB(0,255,0),Color3.fromRGB(0,255,255),Color3.fromRGB(0,0,255),Color3.fromRGB(191,0,255),Color3.fromRGB(255,0,191)}
| |
| 397 | local Int = 0 | |
| 398 | while wait(0.5) do | |
| 399 | if Int == #Colours then Int = 0 end | |
| 400 | Int = Int+1 | |
| 401 | TweenService:Create(text,TweenInfo.new(1),{TextColor3 = Colours[Int]}):Play()
| |
| 402 | end | |
| 403 | end) | |
| 404 | text.Text = "God of Shapes" | |
| 405 | ||
| 406 | ||
| 407 | --//=================================\\ | |
| 408 | --|| SOME FUNCTIONS | |
| 409 | --\\=================================// | |
| 410 | ||
| 411 | function Raycast(POSITION, DIRECTION, RANGE, IGNOREDECENDANTS) | |
| 412 | return workspace:FindPartOnRay(Ray.new(POSITION, DIRECTION.unit * RANGE), IGNOREDECENDANTS) | |
| 413 | end | |
| 414 | ||
| 415 | function PositiveAngle(NUMBER) | |
| 416 | if NUMBER >= 0 then | |
| 417 | NUMBER = 0 | |
| 418 | end | |
| 419 | return NUMBER | |
| 420 | end | |
| 421 | ||
| 422 | function NegativeAngle(NUMBER) | |
| 423 | if NUMBER <= 0 then | |
| 424 | NUMBER = 0 | |
| 425 | end | |
| 426 | return NUMBER | |
| 427 | end | |
| 428 | ||
| 429 | function Swait(NUMBER) | |
| 430 | if NUMBER == 0 or NUMBER == nil then | |
| 431 | ArtificialHB.Event:wait() | |
| 432 | else | |
| 433 | for i = 1, NUMBER do | |
| 434 | ArtificialHB.Event:wait() | |
| 435 | end | |
| 436 | end | |
| 437 | end | |
| 438 | ||
| 439 | function CreateMesh(MESH, PARENT, MESHTYPE, MESHID, TEXTUREID, SCALE, OFFSET) | |
| 440 | local NEWMESH = IT(MESH) | |
| 441 | if MESH == "SpecialMesh" then | |
| 442 | NEWMESH.MeshType = MESHTYPE | |
| 443 | if MESHID ~= "nil" and MESHID ~= "" then | |
| 444 | NEWMESH.MeshId = "http://www.roblox.com/asset/?id="..MESHID | |
| 445 | end | |
| 446 | if TEXTUREID ~= "nil" and TEXTUREID ~= "" then | |
| 447 | NEWMESH.TextureId = "http://www.roblox.com/asset/?id="..TEXTUREID | |
| 448 | end | |
| 449 | end | |
| 450 | NEWMESH.Offset = OFFSET or VT(0, 0, 0) | |
| 451 | NEWMESH.Scale = SCALE | |
| 452 | NEWMESH.Parent = PARENT | |
| 453 | return NEWMESH | |
| 454 | end | |
| 455 | ||
| 456 | ||
| 457 | ||
| 458 | local function weldBetween(a, b) | |
| 459 | local weldd = Instance.new("ManualWeld")
| |
| 460 | weldd.Part0 = a | |
| 461 | weldd.Part1 = b | |
| 462 | weldd.C0 = CFrame.new() | |
| 463 | weldd.C1 = b.CFrame:inverse() * a.CFrame | |
| 464 | weldd.Parent = a | |
| 465 | return weldd | |
| 466 | end | |
| 467 | ||
| 468 | ||
| 469 | function QuaternionFromCFrame(cf) | |
| 470 | local mx, my, mz, m00, m01, m02, m10, m11, m12, m20, m21, m22 = cf:components() | |
| 471 | local trace = m00 + m11 + m22 | |
| 472 | if trace > 0 then | |
| 473 | local s = math.sqrt(1 + trace) | |
| 474 | local recip = 0.5 / s | |
| 475 | return (m21 - m12) * recip, (m02 - m20) * recip, (m10 - m01) * recip, s * 0.5 | |
| 476 | else | |
| 477 | local i = 0 | |
| 478 | if m11 > m00 then | |
| 479 | i = 1 | |
| 480 | end | |
| 481 | if m22 > (i == 0 and m00 or m11) then | |
| 482 | i = 2 | |
| 483 | end | |
| 484 | if i == 0 then | |
| 485 | local s = math.sqrt(m00 - m11 - m22 + 1) | |
| 486 | local recip = 0.5 / s | |
| 487 | return 0.5 * s, (m10 + m01) * recip, (m20 + m02) * recip, (m21 - m12) * recip | |
| 488 | elseif i == 1 then | |
| 489 | local s = math.sqrt(m11 - m22 - m00 + 1) | |
| 490 | local recip = 0.5 / s | |
| 491 | return (m01 + m10) * recip, 0.5 * s, (m21 + m12) * recip, (m02 - m20) * recip | |
| 492 | elseif i == 2 then | |
| 493 | local s = math.sqrt(m22 - m00 - m11 + 1) | |
| 494 | local recip = 0.5 / s return (m02 + m20) * recip, (m12 + m21) * recip, 0.5 * s, (m10 - m01) * recip | |
| 495 | end | |
| 496 | end | |
| 497 | end | |
| 498 | ||
| 499 | function QuaternionToCFrame(px, py, pz, x, y, z, w) | |
| 500 | local xs, ys, zs = x + x, y + y, z + z | |
| 501 | local wx, wy, wz = w * xs, w * ys, w * zs | |
| 502 | local xx = x * xs | |
| 503 | local xy = x * ys | |
| 504 | local xz = x * zs | |
| 505 | local yy = y * ys | |
| 506 | local yz = y * zs | |
| 507 | local zz = z * zs | |
| 508 | 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)) | |
| 509 | end | |
| 510 | ||
| 511 | function QuaternionSlerp(a, b, t) | |
| 512 | local cosTheta = a[1] * b[1] + a[2] * b[2] + a[3] * b[3] + a[4] * b[4] | |
| 513 | local startInterp, finishInterp; | |
| 514 | if cosTheta >= 0.0001 then | |
| 515 | if (1 - cosTheta) > 0.0001 then | |
| 516 | local theta = ACOS(cosTheta) | |
| 517 | local invSinTheta = 1 / SIN(theta) | |
| 518 | startInterp = SIN((1 - t) * theta) * invSinTheta | |
| 519 | finishInterp = SIN(t * theta) * invSinTheta | |
| 520 | else | |
| 521 | startInterp = 1 - t | |
| 522 | finishInterp = t | |
| 523 | end | |
| 524 | else | |
| 525 | if (1 + cosTheta) > 0.0001 then | |
| 526 | local theta = ACOS(-cosTheta) | |
| 527 | local invSinTheta = 1 / SIN(theta) | |
| 528 | startInterp = SIN((t - 1) * theta) * invSinTheta | |
| 529 | finishInterp = SIN(t * theta) * invSinTheta | |
| 530 | else | |
| 531 | startInterp = t - 1 | |
| 532 | finishInterp = t | |
| 533 | end | |
| 534 | end | |
| 535 | 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 | |
| 536 | end | |
| 537 | ||
| 538 | function Clerp(a, b, t) | |
| 539 | local qa = {QuaternionFromCFrame(a)}
| |
| 540 | local qb = {QuaternionFromCFrame(b)}
| |
| 541 | local ax, ay, az = a.x, a.y, a.z | |
| 542 | local bx, by, bz = b.x, b.y, b.z | |
| 543 | local _t = 1 - t | |
| 544 | return QuaternionToCFrame(_t * ax + t * bx, _t * ay + t * by, _t * az + t * bz, QuaternionSlerp(qa, qb, t)) | |
| 545 | end | |
| 546 | ||
| 547 | function CreateFrame(PARENT, TRANSPARENCY, BORDERSIZEPIXEL, POSITION, SIZE, COLOR, BORDERCOLOR, NAME) | |
| 548 | local frame = IT("Frame")
| |
| 549 | frame.BackgroundTransparency = TRANSPARENCY | |
| 550 | frame.BorderSizePixel = BORDERSIZEPIXEL | |
| 551 | frame.Position = POSITION | |
| 552 | frame.Size = SIZE | |
| 553 | frame.BackgroundColor3 = COLOR | |
| 554 | frame.BorderColor3 = BORDERCOLOR | |
| 555 | frame.Name = NAME | |
| 556 | frame.Parent = PARENT | |
| 557 | return frame | |
| 558 | end | |
| 559 | ||
| 560 | function CreateLabel(PARENT, TEXT, TEXTCOLOR, TEXTFONTSIZE, TEXTFONT, TRANSPARENCY, BORDERSIZEPIXEL, STROKETRANSPARENCY, NAME) | |
| 561 | local label = IT("TextLabel")
| |
| 562 | label.BackgroundTransparency = 1 | |
| 563 | label.Size = UD2(1, 0, 1, 0) | |
| 564 | label.Position = UD2(0, 0, 0, 0) | |
| 565 | label.TextColor3 = TEXTCOLOR | |
| 566 | label.TextStrokeTransparency = STROKETRANSPARENCY | |
| 567 | label.TextTransparency = TRANSPARENCY | |
| 568 | label.FontSize = TEXTFONTSIZE | |
| 569 | label.Font = TEXTFONT | |
| 570 | label.BorderSizePixel = BORDERSIZEPIXEL | |
| 571 | label.TextScaled = false | |
| 572 | label.Text = TEXT | |
| 573 | label.Name = NAME | |
| 574 | label.Parent = PARENT | |
| 575 | return label | |
| 576 | end | |
| 577 | ||
| 578 | function NoOutlines(PART) | |
| 579 | PART.TopSurface, PART.BottomSurface, PART.LeftSurface, PART.RightSurface, PART.FrontSurface, PART.BackSurface = 10, 10, 10, 10, 10, 10 | |
| 580 | end | |
| 581 | ||
| 582 | function CreateWeldOrSnapOrMotor(TYPE, PARENT, PART0, PART1, C0, C1) | |
| 583 | local NEWWELD = IT(TYPE) | |
| 584 | NEWWELD.Part0 = PART0 | |
| 585 | NEWWELD.Part1 = PART1 | |
| 586 | NEWWELD.C0 = C0 | |
| 587 | NEWWELD.C1 = C1 | |
| 588 | NEWWELD.Parent = PARENT | |
| 589 | return NEWWELD | |
| 590 | end | |
| 591 | ||
| 592 | local S = IT("Sound")
| |
| 593 | function CreateSound(ID, PARENT, VOLUME, PITCH, DOESLOOP) | |
| 594 | local NEWSOUND = nil | |
| 595 | coroutine.resume(coroutine.create(function() | |
| 596 | NEWSOUND = S:Clone() | |
| 597 | NEWSOUND.Parent = PARENT | |
| 598 | NEWSOUND.Volume = VOLUME | |
| 599 | NEWSOUND.Pitch = PITCH | |
| 600 | NEWSOUND.SoundId = "http://www.roblox.com/asset/?id="..ID | |
| 601 | NEWSOUND:play() | |
| 602 | if DOESLOOP == true then | |
| 603 | NEWSOUND.Looped = true | |
| 604 | else | |
| 605 | repeat wait(1) until NEWSOUND.Playing == false | |
| 606 | NEWSOUND:remove() | |
| 607 | end | |
| 608 | end)) | |
| 609 | return NEWSOUND | |
| 610 | end | |
| 611 | ||
| 612 | function CFrameFromTopBack(at, top, back) | |
| 613 | local right = top:Cross(back) | |
| 614 | return CF(at.x, at.y, at.z, right.x, top.x, back.x, right.y, top.y, back.y, right.z, top.z, back.z) | |
| 615 | end | |
| 616 | ||
| 617 | function CreateWave(SIZE,WAIT,CFRAME,DOESROT,ROT,COLOR,GROW) | |
| 618 | local wave = CreatePart(3, Effects, "Neon", 0, 0.5, BRICKC(COLOR), "Effect", VT(0,0,0)) | |
| 619 | local mesh = IT("SpecialMesh",wave)
| |
| 620 | mesh.MeshType = "FileMesh" | |
| 621 | mesh.MeshId = "http://www.roblox.com/asset/?id=20329976" | |
| 622 | mesh.Scale = SIZE | |
| 623 | mesh.Offset = VT(0,0,-SIZE.X/8) | |
| 624 | wave.CFrame = CFRAME | |
| 625 | coroutine.resume(coroutine.create(function(PART) | |
| 626 | for i = 1, WAIT do | |
| 627 | Swait() | |
| 628 | mesh.Scale = mesh.Scale + GROW | |
| 629 | mesh.Offset = VT(0,0,-(mesh.Scale.X/8)) | |
| 630 | if DOESROT == true then | |
| 631 | wave.CFrame = wave.CFrame * CFrame.fromEulerAnglesXYZ(0,ROT,0) | |
| 632 | end | |
| 633 | wave.Transparency = wave.Transparency + (0.5/WAIT) | |
| 634 | if wave.Transparency > 0.99 then | |
| 635 | wave:remove() | |
| 636 | end | |
| 637 | end | |
| 638 | end)) | |
| 639 | end | |
| 640 | ||
| 641 | function CreateSpikeball(SIZE,WAIT,CFRAME,DOESROT,ROT,COLOR,GROW) | |
| 642 | local wave = CreatePart(3, Effects, "Neon", 0, 0.5, BRICKC(COLOR), "Effect", VT(0,0,0)) | |
| 643 | local mesh = IT("SpecialMesh",wave)
| |
| 644 | mesh.MeshType = "FileMesh" | |
| 645 | mesh.MeshId = "http://www.roblox.com/asset/?id=9982590" | |
| 646 | mesh.Scale = SIZE | |
| 647 | mesh.Offset = VT(0,0,-SIZE.X/8) | |
| 648 | wave.CFrame = CFRAME | |
| 649 | coroutine.resume(coroutine.create(function(PART) | |
| 650 | for i = 1, WAIT do | |
| 651 | Swait() | |
| 652 | mesh.Scale = mesh.Scale + GROW | |
| 653 | mesh.Offset = VT(0,0,-(mesh.Scale.X/8)) | |
| 654 | if DOESROT == true then | |
| 655 | wave.CFrame = wave.CFrame * CFrame.fromEulerAnglesXYZ(0,ROT,0) | |
| 656 | end | |
| 657 | wave.Transparency = wave.Transparency + (0.5/WAIT) | |
| 658 | if wave.Transparency > 0.99 then | |
| 659 | wave:remove() | |
| 660 | end | |
| 661 | end | |
| 662 | end)) | |
| 663 | end | |
| 664 | ||
| 665 | function CreateSwirl(SIZE,WAIT,CFRAME,DOESROT,ROT,COLOR,GROW) | |
| 666 | local wave = CreatePart(3, Effects, "Neon", 0, 0.5, BRICKC(COLOR), "Effect", VT(0,0,0)) | |
| 667 | local mesh = IT("SpecialMesh",wave)
| |
| 668 | mesh.MeshType = "FileMesh" | |
| 669 | mesh.MeshId = "http://www.roblox.com/asset/?id=1051557" | |
| 670 | mesh.Scale = SIZE | |
| 671 | wave.CFrame = CFRAME | |
| 672 | coroutine.resume(coroutine.create(function(PART) | |
| 673 | for i = 1, WAIT do | |
| 674 | Swait() | |
| 675 | mesh.Scale = mesh.Scale + GROW | |
| 676 | mesh.Offset = VT(0,0,-(mesh.Scale.X/8)) | |
| 677 | if DOESROT == true then | |
| 678 | wave.CFrame = wave.CFrame * CFrame.fromEulerAnglesXYZ(0,ROT,0) | |
| 679 | end | |
| 680 | wave.Transparency = wave.Transparency + (0.5/WAIT) | |
| 681 | if wave.Transparency > 0.99 then | |
| 682 | wave:remove() | |
| 683 | end | |
| 684 | end | |
| 685 | end)) | |
| 686 | end | |
| 687 | ||
| 688 | function MagicSphere(SIZE,WAIT,CFRAME,COLOR,GROW) | |
| 689 | local wave = CreatePart(3, Effects, "Neon", 0, 0, BRICKC(COLOR), "Effect", VT(1,1,1), true) | |
| 690 | local mesh = IT("SpecialMesh",wave)
| |
| 691 | mesh.MeshType = "Sphere" | |
| 692 | mesh.Scale = SIZE | |
| 693 | mesh.Offset = VT(0,0,0) | |
| 694 | wave.CFrame = CFRAME | |
| 695 | coroutine.resume(coroutine.create(function(PART) | |
| 696 | for i = 1, WAIT do | |
| 697 | Swait() | |
| 698 | mesh.Scale = mesh.Scale + GROW | |
| 699 | wave.Transparency = wave.Transparency + (1/WAIT) | |
| 700 | if wave.Transparency > 0.99 then | |
| 701 | wave:remove() | |
| 702 | end | |
| 703 | end | |
| 704 | end)) | |
| 705 | end | |
| 706 | ||
| 707 | ||
| 708 | ------------------------------------------- | |
| 709 | ------------------------------------------------ | |
| 710 | ||
| 711 | ------------------------------------------------------------------------------------------------------------------------------ | |
| 712 | ||
| 713 | ||
| 714 | ||
| 715 | ||
| 716 | ||
| 717 | ||
| 718 | local headness = script.headness | |
| 719 | headness.Parent = Character | |
| 720 | headness.CFrame = Torso.CFrame*CFrame.new(0,2,0) | |
| 721 | weldBetween(Head,headness) | |
| 722 | ||
| 723 | local Blockhead = script.Blockhead | |
| 724 | Blockhead.Parent = headness | |
| 725 | ||
| 726 | ||
| 727 | ||
| 728 | for _, c in pairs(Character:GetChildren()) do | |
| 729 | ||
| 730 | if c:IsA("BasePart") then
| |
| 731 | if c:FindFirstChildOfClass("ParticleEmitter") then
| |
| 732 | c:Remove() | |
| 733 | end | |
| 734 | if c == Head then | |
| 735 | if c:FindFirstChild("face") then
| |
| 736 | c.face:remove() | |
| 737 | end | |
| 738 | end | |
| 739 | elseif c.ClassName == "CharacterMesh" or c.ClassName == "Accessory" or c.ClassName == "Hat" or c.Name == "Body Colors" or c.ClassName == "ShirtGraphic"then | |
| 740 | c:remove() | |
| 741 | end | |
| 742 | end | |
| 743 | local BODY = {}
| |
| 744 | for _, c in pairs(Character:GetDescendants()) do | |
| 745 | if c:IsA("BasePart") and c.Name ~= "Handle" then
| |
| 746 | if c ~= RootPart and c ~= Torso and c ~= Head and c ~= RightArm and c ~= LeftArm and c ~= RightLeg and c ~= LeftLeg then | |
| 747 | c.CustomPhysicalProperties = PhysicalProperties.new(0, 0, 0, 0, 0) | |
| 748 | ||
| 749 | end | |
| 750 | ||
| 751 | table.insert(BODY,{c,c.Parent,c.Material,c.Color,c.Transparency})
| |
| 752 | ||
| 753 | elseif c:IsA("JointInstance") then
| |
| 754 | table.insert(BODY,{c,c.Parent,nil,nil,nil})
| |
| 755 | elseif (c.ClassName == "Shirt" or c.ClassName == "Pants") and c.Name ~= "Cloth" then | |
| 756 | c:remove() | |
| 757 | ||
| 758 | end | |
| 759 | ||
| 760 | ||
| 761 | end | |
| 762 | ||
| 763 | for e = 1, #BODY do | |
| 764 | if BODY[e] ~= nil then | |
| 765 | local STUFF = BODY[e] | |
| 766 | local PART = STUFF[1] | |
| 767 | local PARENT = STUFF[2] | |
| 768 | local MATERIAL = STUFF[3] | |
| 769 | local COLOR = STUFF[4] | |
| 770 | local TRANSPARENCY = STUFF[5] | |
| 771 | if PART.ClassName == "Part" and PART ~= RootPart then | |
| 772 | PART.Material = MATERIAL | |
| 773 | PART.Color = COLOR | |
| 774 | PART.Transparency = TRANSPARENCY | |
| 775 | end | |
| 776 | PART.AncestryChanged:Connect(function() | |
| 777 | PART.Parent = PARENT | |
| 778 | end) | |
| 779 | end | |
| 780 | end | |
| 781 | function refit() | |
| 782 | ||
| 783 | ||
| 784 | Character.Parent = workspace | |
| 785 | for e = 1, #BODY do | |
| 786 | if BODY[e] ~= nil then | |
| 787 | local STUFF = BODY[e] | |
| 788 | local PART = STUFF[1] | |
| 789 | local PARENT = STUFF[2] | |
| 790 | local MATERIAL = STUFF[3] | |
| 791 | local COLOR = STUFF[4] | |
| 792 | local TRANSPARENCY = STUFF[5] | |
| 793 | if PART:IsA("BasePart") and PART ~= RootPart then
| |
| 794 | ||
| 795 | end | |
| 796 | ||
| 797 | if PART.Parent ~= PARENT then | |
| 798 | Humanoid:remove() | |
| 799 | PART.Parent = PARENT | |
| 800 | Humanoid = IT("Humanoid",Character)
| |
| 801 | end | |
| 802 | ||
| 803 | end | |
| 804 | end | |
| 805 | end | |
| 806 | ||
| 807 | Humanoid.Died:connect(function() | |
| 808 | for _, c in pairs(Character:GetChildren()) do | |
| 809 | c:Remove() | |
| 810 | local headness = script.headness | |
| 811 | headness.Parent = Character | |
| 812 | headness.CFrame = Torso.CFrame*CFrame.new(0,2,0) | |
| 813 | weldBetween(headness,Head) | |
| 814 | ||
| 815 | local Blockhead = script.Blockhead | |
| 816 | Blockhead.Parent = headness | |
| 817 | end | |
| 818 | refit() | |
| 819 | createstuff() | |
| 820 | end) | |
| 821 | ||
| 822 | local SKILL1FRAME = CreateFrame(WEAPONGUI, 0.5, 2, UD2(0.13, 0, 0.80, 0), UD2(0.26, 0, 0.07, 0), C3(0,0,0), C3(0, 0, 0), "Skill 1 Frame") | |
| 823 | local SKILL2FRAME = CreateFrame(WEAPONGUI, 0.5, 2, UD2(0.60, 0, 0.80, 0), UD2(0.26, 0, 0.07, 0), C3(0,0,0), C3(0, 0, 0), "Skill 2 Frame") | |
| 824 | local SKILL3FRAME = CreateFrame(WEAPONGUI, 0.5, 2, UD2(0.365, 0, 0.9, 0), UD2(0.26, 0, 0.07, 0), C3(0,0,0), C3(0, 0, 0), "Skill 3 Frame") | |
| 825 | local SKILL4FRAME = CreateFrame(WEAPONGUI, 0.5, 2, UD2(0.365, 0, 0.7, 0), UD2(0.26, 0, 0.07, 0), C3(0,0,0), C3(0, 0, 0), "Skill 4 Frame") | |
| 826 | --local SKILL5FRAME = CreateFrame(WEAPONGUI, 0.5, 2, UD2(0.60, 0, 0.130, 0), UD2(0.26, 0, 0.07, 0), C3(0,0,0), C3(0, 0, 0), "Skill 5 Frame") | |
| 827 | --local SKILL6FRAME = CreateFrame(WEAPONGUI, 0.5, 2, UD2(0.13, 0, 0.130, 0), UD2(0.26, 0, 0.07, 0), C3(0,0,0), C3(0, 0, 0), "Skill 6 Frame") | |
| 828 | local SKILL7FRAME = CreateFrame(WEAPONGUI, 0.5, 2, UD2(0.365, 0, 0.01, 0), UD2(0.26, 0, 0.07, 0), C3(0,0,0), C3(0, 0, 0), "Skill 7 Frame") | |
| 829 | ||
| 830 | local SKILL1TEXT = CreateLabel(SKILL1FRAME, "[E] Change to Cube", SKILLTEXTCOLOR, 7, "Arcade", 0, 2, 1, "Text 1") | |
| 831 | local SKILL2TEXT = CreateLabel(SKILL2FRAME, "[R] Change to Explosion", SKILLTEXTCOLOR, 7, "Arcade", 0, 2, 1, "Text 2") | |
| 832 | local SKILL3TEXT = CreateLabel(SKILL3FRAME, "[Q] Teleport", SKILLTEXTCOLOR, 7, "Arcade", 0, 2, 1, "Text 3") | |
| 833 | local SKILL4TEXT = CreateLabel(SKILL4FRAME, "[F] Rainbow Smite", SKILLTEXTCOLOR, 6, "Arcade", 0, 2, 1, "Text4") | |
| 834 | --local SKILL5TEXT = CreateLabel(SKILL5FRAME, "[G] Rainbow Nuke (NOT WORKING UGH)", SKILLTEXTCOLOR, 6, "Arcade", 0, 2, 1, "Text5") | |
| 835 | --local SKILL6TEXT = CreateLabel(SKILL6FRAME, "[] ", SKILLTEXTCOLOR, 6, "Arcade", 0, 2, 1, "Text6") | |
| 836 | local SKILL7TEXT = CreateLabel(SKILL7FRAME, "[CLICK] Cube of Rainbow", SKILLTEXTCOLOR, 7, "Arcade", 0, 2, 1, "Text7") | |
| 837 | ||
| 838 | spawn(function() | |
| 839 | local TweenService = game:GetService("TweenService")
| |
| 840 | local Colourss = {Color3.fromRGB(255,0,0),Color3.fromRGB(255,128,0),Color3.fromRGB(255,255,0),Color3.fromRGB(0,255,0),Color3.fromRGB(0,255,255),Color3.fromRGB(0,0,255),Color3.fromRGB(191,0,255),Color3.fromRGB(255,0,191)}
| |
| 841 | local Intt = 0 | |
| 842 | while wait(0.5) do | |
| 843 | if Intt == #Colourss then Intt = 0 end | |
| 844 | Intt = Intt+1 | |
| 845 | TweenService:Create(SKILL7TEXT,TweenInfo.new(1),{TextColor3 = Colourss[Intt]}):Play()
| |
| 846 | end | |
| 847 | end) | |
| 848 | ||
| 849 | spawn(function() | |
| 850 | local TweenService = game:GetService("TweenService")
| |
| 851 | local Coloursss = {Color3.fromRGB(255,0,0),Color3.fromRGB(255,128,0),Color3.fromRGB(255,255,0),Color3.fromRGB(0,255,0),Color3.fromRGB(0,255,255),Color3.fromRGB(0,0,255),Color3.fromRGB(191,0,255),Color3.fromRGB(255,0,191)}
| |
| 852 | local Inttt = 0 | |
| 853 | while wait(0.5) do | |
| 854 | if Inttt == #Coloursss then Inttt = 0 end | |
| 855 | Inttt = Inttt+1 | |
| 856 | TweenService:Create(SKILL4TEXT,TweenInfo.new(1),{TextColor3 = Coloursss[Inttt]}):Play()
| |
| 857 | end | |
| 858 | end) | |
| 859 | ||
| 860 | --spawn(function() | |
| 861 | --local TweenService = game:GetService("TweenService")
| |
| 862 | --local Clourss = {Color3.fromRGB(255,0,0),Color3.fromRGB(255,128,0),Color3.fromRGB(255,255,0),Color3.fromRGB(0,255,0),Color3.fromRGB(0,255,255),Color3.fromRGB(0,0,255),Color3.fromRGB(191,0,255),Color3.fromRGB(255,0,191)}
| |
| 863 | --local Itt = 0 | |
| 864 | --while wait(0.5) do | |
| 865 | -- --if Itt == #Clourss then Itt = 0 end | |
| 866 | -- --Itt = Itt+1 | |
| 867 | -- --TweenService:Create(SKILL5TEXT,TweenInfo.new(1),{TextColor3 = Clourss[Itt]}):Play()
| |
| 868 | --end | |
| 869 | --end) | |
| 870 | ||
| 871 | spawn(function() | |
| 872 | local TweenService = game:GetService("TweenService")
| |
| 873 | local Clouurss = {Color3.fromRGB(255,0,0),Color3.fromRGB(255,128,0),Color3.fromRGB(255,255,0),Color3.fromRGB(0,255,0),Color3.fromRGB(0,255,255),Color3.fromRGB(0,0,255),Color3.fromRGB(191,0,255),Color3.fromRGB(255,0,191)}
| |
| 874 | local Itlt = 0 | |
| 875 | while wait(0.5) do | |
| 876 | if Itlt == #Clouurss then Itlt = 0 end | |
| 877 | Itlt = Itlt+1 | |
| 878 | TweenService:Create(SKILL1TEXT,TweenInfo.new(1),{TextColor3 = Clouurss[Itlt]}):Play()
| |
| 879 | end | |
| 880 | end) | |
| 881 | ||
| 882 | spawn(function() | |
| 883 | local TweenService = game:GetService("TweenService")
| |
| 884 | local Cloouurss = {Color3.fromRGB(255,0,0),Color3.fromRGB(255,128,0),Color3.fromRGB(255,255,0),Color3.fromRGB(0,255,0),Color3.fromRGB(0,255,255),Color3.fromRGB(0,0,255),Color3.fromRGB(191,0,255),Color3.fromRGB(255,0,191)}
| |
| 885 | local Ixtlt = 0 | |
| 886 | while wait(0.5) do | |
| 887 | if Ixtlt == #Cloouurss then Ixtlt = 0 end | |
| 888 | Ixtlt = Ixtlt+1 | |
| 889 | TweenService:Create(SKILL2TEXT,TweenInfo.new(1),{TextColor3 = Cloouurss[Ixtlt]}):Play()
| |
| 890 | end | |
| 891 | end) | |
| 892 | ||
| 893 | spawn(function() | |
| 894 | local TweenService = game:GetService("TweenService")
| |
| 895 | local Cllouurss = {Color3.fromRGB(255,0,0),Color3.fromRGB(255,128,0),Color3.fromRGB(255,255,0),Color3.fromRGB(0,255,0),Color3.fromRGB(0,255,255),Color3.fromRGB(0,0,255),Color3.fromRGB(191,0,255),Color3.fromRGB(255,0,191)}
| |
| 896 | local Itplt = 0 | |
| 897 | while wait(0.5) do | |
| 898 | if Itplt == #Cllouurss then Itplt = 0 end | |
| 899 | Itplt = Itplt+1 | |
| 900 | TweenService:Create(SKILL3TEXT,TweenInfo.new(1),{TextColor3 = Cllouurss[Itplt]}):Play()
| |
| 901 | end | |
| 902 | end) | |
| 903 | ||
| 904 | local r = 255 | |
| 905 | local g = 0 | |
| 906 | local b = 0 | |
| 907 | ||
| 908 | local random3 = coroutine.wrap(function() | |
| 909 | while true do | |
| 910 | ||
| 911 | for i = 0, 254/5 do | |
| 912 | Swait() | |
| 913 | ||
| 914 | g = g + 5 | |
| 915 | end | |
| 916 | for i = 0, 254/5 do | |
| 917 | Swait() | |
| 918 | ||
| 919 | r = r - 5 | |
| 920 | end | |
| 921 | for i = 0, 254/5 do | |
| 922 | Swait() | |
| 923 | b = b + 5 | |
| 924 | end | |
| 925 | for i = 0, 254/5 do | |
| 926 | Swait() | |
| 927 | g = g - 5 | |
| 928 | end | |
| 929 | for i = 0, 254/5 do | |
| 930 | Swait() | |
| 931 | r = r + 5 | |
| 932 | end | |
| 933 | for i = 0, 254/5 do | |
| 934 | Swait() | |
| 935 | b = b - 5 | |
| 936 | end | |
| 937 | ||
| 938 | ||
| 939 | ||
| 940 | Swait() | |
| 941 | ||
| 942 | ||
| 943 | ||
| 944 | ||
| 945 | ||
| 946 | ||
| 947 | ||
| 948 | ||
| 949 | end | |
| 950 | ||
| 951 | end) | |
| 952 | random3() | |
| 953 | local r1 = r | |
| 954 | local g1 = g | |
| 955 | local b1 = b | |
| 956 | ||
| 957 | local RainbowEffect = coroutine.wrap(function() | |
| 958 | while true do | |
| 959 | Swait() | |
| 960 | r1 = r | |
| 961 | g1 = g | |
| 962 | b1 = b | |
| 963 | ||
| 964 | end | |
| 965 | ||
| 966 | end) | |
| 967 | ||
| 968 | ||
| 969 | function WACKYEFFECT(Table) | |
| 970 | ||
| 971 | local TYPE = Table.EffectType or "Sphere" | |
| 972 | local SIZE = Table.Size or VT(1, 1, 1) | |
| 973 | local ENDSIZE = Table.Size2 or VT(0, 0, 0) | |
| 974 | local TRANSPARENCY = Table.Transparency or 0 | |
| 975 | local ENDTRANSPARENCY = Table.Transparency2 or 1 | |
| 976 | local CFRAME = Table.CFrame or Torso.CFrame | |
| 977 | local MOVEDIRECTION = Table.MoveToPos or nil | |
| 978 | local ROTATION1 = Table.RotationX or 0 | |
| 979 | local ROTATION2 = Table.RotationY or 0 | |
| 980 | local ROTATION3 = Table.RotationZ or 0 | |
| 981 | local MATERIAL = Table.Material or "Neon" | |
| 982 | local COLOR = Table.Color or C3(r1/255,g1/255, b1/255) | |
| 983 | ||
| 984 | ||
| 985 | RainbowEffect() | |
| 986 | local TIME = Table.Time or 45 | |
| 987 | local SOUNDID = Table.SoundID or nil | |
| 988 | local SOUNDPITCH = Table.SoundPitch or nil | |
| 989 | local SOUNDVOLUME = Table.SoundVolume or nil | |
| 990 | coroutine.resume(coroutine.create(function() | |
| 991 | ||
| 992 | ||
| 993 | local PLAYSSOUND = false | |
| 994 | local SOUND | |
| 995 | local EFFECT = CreatePart(3, Effects, MATERIAL, 0, TRANSPARENCY, BRICKC("Pearl"), "Effect", VT(1, 1, 1), true)
| |
| 996 | if SOUNDID ~= nil and SOUNDPITCH ~= nil and SOUNDVOLUME ~= nil then | |
| 997 | PLAYSSOUND = true | |
| 998 | SOUND = CreateSound(SOUNDID, EFFECT, SOUNDVOLUME, SOUNDPITCH, false) | |
| 999 | end | |
| 1000 | ||
| 1001 | local colorss = coroutine.wrap(function() | |
| 1002 | for i = 0,50,1 do | |
| 1003 | ||
| 1004 | Swait() | |
| 1005 | ||
| 1006 | EFFECT.Color = Color3.new(r1/255,g1/255, b1/255) | |
| 1007 | end | |
| 1008 | end) | |
| 1009 | colorss() | |
| 1010 | local MSH | |
| 1011 | if TYPE == "Sphere" then | |
| 1012 | MSH = CreateMesh("SpecialMesh", EFFECT, "Sphere", "", "", SIZE, VT(0, 0, 0))
| |
| 1013 | elseif TYPE == "Block" then | |
| 1014 | MSH = IT("BlockMesh", EFFECT)
| |
| 1015 | MSH.Scale = VT(SIZE.X, SIZE.X, SIZE.X) | |
| 1016 | elseif TYPE == "Wave" then | |
| 1017 | MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "20329976", "", SIZE, VT(0, 0, -SIZE.X / 8))
| |
| 1018 | elseif TYPE == "Ring" then | |
| 1019 | MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "559831844", "", VT(SIZE.X, SIZE.X, 0.1), VT(0, 0, 0))
| |
| 1020 | elseif TYPE == "Slash" then | |
| 1021 | MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "662586858", "", VT(SIZE.X / 10, 0, SIZE.X / 10), VT(0, 0, 0))
| |
| 1022 | elseif TYPE == "Round Slash" then | |
| 1023 | MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "662585058", "", VT(SIZE.X / 10, 0, SIZE.X / 10), VT(0, 0, 0))
| |
| 1024 | elseif TYPE == "Swirl" then | |
| 1025 | MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "1051557", "", SIZE, VT(0, 0, 0))
| |
| 1026 | elseif TYPE == "Skull" then | |
| 1027 | MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "4770583", "", SIZE, VT(0, 0, 0))
| |
| 1028 | elseif TYPE == "Crystal" then | |
| 1029 | MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "9756362", "", SIZE, VT(0, 0, 0))
| |
| 1030 | end | |
| 1031 | if MSH ~= nil then | |
| 1032 | local MOVESPEED | |
| 1033 | if MOVEDIRECTION ~= nil then | |
| 1034 | MOVESPEED = (CFRAME.p - MOVEDIRECTION).Magnitude / TIME | |
| 1035 | end | |
| 1036 | local GROWTH = SIZE - ENDSIZE | |
| 1037 | local TRANS = TRANSPARENCY - ENDTRANSPARENCY | |
| 1038 | if TYPE == "Block" then | |
| 1039 | EFFECT.CFrame = CFRAME * ANGLES(RAD(MRANDOM(0, 360)), RAD(MRANDOM(0, 360)), RAD(MRANDOM(0, 360))) | |
| 1040 | else | |
| 1041 | EFFECT.CFrame = CFRAME | |
| 1042 | end | |
| 1043 | for LOOP = 1, TIME + 1 do | |
| 1044 | Swait() | |
| 1045 | ||
| 1046 | MSH.Scale = MSH.Scale - GROWTH / TIME | |
| 1047 | if TYPE == "Wave" then | |
| 1048 | MSH.Offset = VT(0, 0, -MSH.Scale.X / 8) | |
| 1049 | end | |
| 1050 | EFFECT.Transparency = EFFECT.Transparency - TRANS / TIME | |
| 1051 | if TYPE == "Block" then | |
| 1052 | EFFECT.CFrame = CFRAME * ANGLES(RAD(MRANDOM(0, 360)), RAD(MRANDOM(0, 360)), RAD(MRANDOM(0, 360))) | |
| 1053 | else | |
| 1054 | EFFECT.CFrame = EFFECT.CFrame * ANGLES(RAD(ROTATION1), RAD(ROTATION2), RAD(ROTATION3)) | |
| 1055 | end | |
| 1056 | if MOVEDIRECTION ~= nil then | |
| 1057 | local ORI = EFFECT.Orientation | |
| 1058 | EFFECT.CFrame = CF(EFFECT.Position, MOVEDIRECTION) * CF(0, 0, -MOVESPEED) | |
| 1059 | EFFECT.Orientation = ORI | |
| 1060 | end | |
| 1061 | end | |
| 1062 | if PLAYSSOUND == false then | |
| 1063 | EFFECT:remove() | |
| 1064 | else | |
| 1065 | repeat | |
| 1066 | Swait() | |
| 1067 | until SOUND.Playing == false | |
| 1068 | EFFECT:remove() | |
| 1069 | end | |
| 1070 | elseif PLAYSSOUND == false then | |
| 1071 | EFFECT:remove() | |
| 1072 | else | |
| 1073 | repeat | |
| 1074 | Swait() | |
| 1075 | until SOUND.Playing == false | |
| 1076 | EFFECT:remove() | |
| 1077 | end | |
| 1078 | end)) | |
| 1079 | end | |
| 1080 | ||
| 1081 | function CreateMesh(MESH, PARENT, MESHTYPE, MESHID, TEXTUREID, SCALE, OFFSET) | |
| 1082 | local NEWMESH = IT(MESH) | |
| 1083 | if MESH == "SpecialMesh" then | |
| 1084 | NEWMESH.MeshType = MESHTYPE | |
| 1085 | if MESHID ~= "nil" and MESHID ~= "" then | |
| 1086 | NEWMESH.MeshId = "http://www.roblox.com/asset/?id=" .. MESHID | |
| 1087 | end | |
| 1088 | if TEXTUREID ~= "nil" and TEXTUREID ~= "" then | |
| 1089 | NEWMESH.TextureId = "http://www.roblox.com/asset/?id=" .. TEXTUREID | |
| 1090 | end | |
| 1091 | end | |
| 1092 | NEWMESH.Offset = OFFSET or VT(0, 0, 0) | |
| 1093 | NEWMESH.Scale = SCALE | |
| 1094 | NEWMESH.Parent = PARENT | |
| 1095 | return NEWMESH | |
| 1096 | end | |
| 1097 | function CreatePart(FORMFACTOR, PARENT, MATERIAL, REFLECTANCE, TRANSPARENCY, BRICKCOLOR, NAME, SIZE, ANCHOR) | |
| 1098 | local NEWPART = IT("Part")
| |
| 1099 | NEWPART.formFactor = FORMFACTOR | |
| 1100 | NEWPART.Reflectance = REFLECTANCE | |
| 1101 | NEWPART.Transparency = TRANSPARENCY | |
| 1102 | NEWPART.CanCollide = false | |
| 1103 | NEWPART.Locked = true | |
| 1104 | NEWPART.Anchored = true | |
| 1105 | if ANCHOR == false then | |
| 1106 | NEWPART.Anchored = false | |
| 1107 | end | |
| 1108 | NEWPART.BrickColor = BRICKC(tostring(BRICKCOLOR)) | |
| 1109 | NEWPART.Name = NAME | |
| 1110 | NEWPART.Size = SIZE | |
| 1111 | NEWPART.Position = Torso.Position | |
| 1112 | NEWPART.Material = MATERIAL | |
| 1113 | NEWPART:BreakJoints() | |
| 1114 | NEWPART.Parent = PARENT | |
| 1115 | return NEWPART | |
| 1116 | end | |
| 1117 | ||
| 1118 | local DParticles = script.Death | |
| 1119 | DParticles:remove() | |
| 1120 | DParticles.Name = "ArchangelDeathParticles" | |
| 1121 | ||
| 1122 | function MakeForm(PART, TYPE) | |
| 1123 | if TYPE == "Cyl" then | |
| 1124 | local MSH = IT("CylinderMesh", PART)
| |
| 1125 | elseif TYPE == "Ball" then | |
| 1126 | local MSH = IT("SpecialMesh", PART)
| |
| 1127 | MSH.MeshType = "Sphere" | |
| 1128 | elseif TYPE == "Wedge" then | |
| 1129 | local MSH = IT("SpecialMesh", PART)
| |
| 1130 | MSH.MeshType = "Wedge" | |
| 1131 | end | |
| 1132 | end | |
| 1133 | Debris = game:GetService("Debris")
| |
| 1134 | ||
| 1135 | local DECAL = IT("Decal")
| |
| 1136 | function MakeRing() | |
| 1137 | local RING = CreatePart(3, Effects, "Neon", 0, 1, BRICKC("Pearl"), "MagicRing", VT(0, 0, 0), true)
| |
| 1138 | local MSH = IT("BlockMesh", RING)
| |
| 1139 | local TOP = DECAL:Clone() | |
| 1140 | local BOTTOM = DECAL:Clone() | |
| 1141 | TOP.Parent = RING | |
| 1142 | BOTTOM.Parent = RING | |
| 1143 | TOP.Face = "Top" | |
| 1144 | BOTTOM.Face = "Bottom" | |
| 1145 | TOP.Texture = "http://www.roblox.com/asset/?id=127817121" | |
| 1146 | BOTTOM.Texture = "http://www.roblox.com/asset/?id=127817121" | |
| 1147 | local function REMOVE() | |
| 1148 | coroutine.resume(coroutine.create(function() | |
| 1149 | local SIZE = MSH.Scale.X | |
| 1150 | for i = 1, 35 do | |
| 1151 | Swait() | |
| 1152 | MSH.Scale = MSH.Scale - VT(SIZE, 0, SIZE) / 60 | |
| 1153 | TOP.Transparency = TOP.Transparency + 0.02857142857142857 | |
| 1154 | BOTTOM.Transparency = BOTTOM.Transparency + 0.02857142857142857 | |
| 1155 | RING.CFrame = RING.CFrame * ANGLES(RAD(0), RAD(-5), RAD(0)) | |
| 1156 | end | |
| 1157 | RING:remove() | |
| 1158 | end)) | |
| 1159 | end | |
| 1160 | return RING, MSH, REMOVE | |
| 1161 | end | |
| 1162 | ||
| 1163 | function SHAKECAM(POSITION, RANGE, INTENSITY, TIME) | |
| 1164 | local TORSO = Torso | |
| 1165 | local HUM = Humanoid | |
| 1166 | if TORSO and RANGE >= (TORSO.Position - POSITION).Magnitude then | |
| 1167 | coroutine.wrap(function() | |
| 1168 | VT = Vector3.new | |
| 1169 | MRANDOM = math.random | |
| 1170 | local A = TIME | |
| 1171 | local B = INTENSITY | |
| 1172 | local C = true | |
| 1173 | local HUMANOID = Humanoid | |
| 1174 | local TIMER = A or 35 | |
| 1175 | local SHAKE = B or 5 | |
| 1176 | local FADE = C or true | |
| 1177 | if HUMANOID then | |
| 1178 | local FADER = SHAKE / TIMER | |
| 1179 | for i = 1, TIMER do | |
| 1180 | wait() | |
| 1181 | HUMANOID.CameraOffset = VT(MRANDOM(-(SHAKE - FADER * i), SHAKE - FADER * i) / 10, MRANDOM(-(SHAKE - FADER * i), SHAKE - FADER * i) / 10, MRANDOM(-(SHAKE - FADER * i), SHAKE - FADER * i) / 10) | |
| 1182 | end | |
| 1183 | HUMANOID.CameraOffset = VT(0, 0, 0) | |
| 1184 | end | |
| 1185 | ||
| 1186 | end)() | |
| 1187 | end | |
| 1188 | end | |
| 1189 | ||
| 1190 | function KillChildren(v) | |
| 1191 | v:BreakJoints() | |
| 1192 | for _, c in pairs(v:GetChildren()) do | |
| 1193 | if c:IsA("BasePart") then
| |
| 1194 | if c.Transparency < 1 then | |
| 1195 | if c:FindFirstChildOfClass("Decal") then
| |
| 1196 | c:FindFirstChildOfClass("Decal"):remove()
| |
| 1197 | end | |
| 1198 | particles(c) | |
| 1199 | c.PE.Enabled = true | |
| 1200 | c.Parent = Effects | |
| 1201 | c.CanCollide = false | |
| 1202 | c.Material = "Neon" | |
| 1203 | c.Color = C3(1,1,1) | |
| 1204 | c.Transparency = 1 | |
| 1205 | local grav = Instance.new("BodyPosition",c)
| |
| 1206 | grav.P = 20000 | |
| 1207 | grav.maxForce = Vector3.new(math.huge,math.huge,math.huge) | |
| 1208 | grav.position = c.Position + VT(MRANDOM(-5,5),MRANDOM(-5,5),MRANDOM(-5,5)) | |
| 1209 | grav.Name = "GravityForce" | |
| 1210 | coroutine.resume(coroutine.create(function() | |
| 1211 | for i = 1, 20 do | |
| 1212 | Swait() | |
| 1213 | c.Transparency = c.Transparency + 1/20 | |
| 1214 | end | |
| 1215 | c.PE.Enabled = false | |
| 1216 | Debris:AddItem(c,2) | |
| 1217 | end)) | |
| 1218 | end | |
| 1219 | end | |
| 1220 | end | |
| 1221 | end | |
| 1222 | ||
| 1223 | function killnearest(position,range,maxstrength) | |
| 1224 | for i,v in ipairs(workspace:GetChildren()) do | |
| 1225 | local body = v:GetChildren() | |
| 1226 | for part = 1, #body do | |
| 1227 | if((body[part].ClassName == "Part" or body[part].ClassName == "MeshPart") and v ~= Character) then | |
| 1228 | if(body[part].Position - position).Magnitude < range then | |
| 1229 | if v.ClassName == "Model" then | |
| 1230 | v:BreakJoints() | |
| 1231 | end | |
| 1232 | --table.insert(Effects2,{body[part],"Disappear",0.02,2,2,2,2})
| |
| 1233 | body[part].Velocity = CFrame.new(position,body[part].Position).lookVector*5*maxstrength | |
| 1234 | end | |
| 1235 | end | |
| 1236 | end | |
| 1237 | if v.ClassName == "Part" then | |
| 1238 | if v.Anchored == false and (v.Position - position).Magnitude < range then | |
| 1239 | --table.insert(Effects2,{v,"Disappear",0.02,2,2,2,2})
| |
| 1240 | v.Velocity = CFrame.new(position,v.Position).lookVector*5*maxstrength | |
| 1241 | end | |
| 1242 | end | |
| 1243 | end | |
| 1244 | end | |
| 1245 | ||
| 1246 | function ApplyAoE(POSITION, RANGE) | |
| 1247 | local PARTS = {}
| |
| 1248 | for index, CHILD in pairs(workspace:GetDescendants()) do | |
| 1249 | if CHILD.ClassName == "Model" and CHILD ~= Character then | |
| 1250 | local HUM = CHILD:FindFirstChildOfClass("Humanoid")
| |
| 1251 | if HUM then | |
| 1252 | local TORSO = CHILD:FindFirstChild("Torso") or CHILD:FindFirstChild("UpperTorso")
| |
| 1253 | if TORSO and HUM.Health > 0 and RANGE >= (TORSO.Position - POSITION).Magnitude then | |
| 1254 | CHILD:BreakJoints() | |
| 1255 | for index, PART in pairs(CHILD:GetChildren()) do | |
| 1256 | if PART:IsA("BasePart") and PART.Name ~= "HumanoidRootPart" then
| |
| 1257 | local P = DParticles:Clone() | |
| 1258 | ||
| 1259 | P.Color = ColorSequence.new(PART.Color, C3(1, 1, 1)) | |
| 1260 | ||
| 1261 | table.insert(PARTS, {PART, P})
| |
| 1262 | end | |
| 1263 | end | |
| 1264 | end | |
| 1265 | end | |
| 1266 | elseif CHILD:IsA("BasePart") and CHILD.Parent.Parent ~= Character and CHILD.Parent:FindFirstChildOfClass("Humanoid") == nil and CHILD:FindFirstChild("ewdfrfgrwefd") == nil and CHILD.Size.Magnitude < RANGE * 2 and CHILD.Size.Magnitude < 200 and RANGE > (CHILD.Position - POSITION).Magnitude then
| |
| 1267 | local FOLDER = IT("Folder", CHILD)
| |
| 1268 | FOLDER.Name = "ewdfrfgrwefd" | |
| 1269 | local P = DParticles:Clone() | |
| 1270 | ||
| 1271 | CHILD.Velocity = Vector3.new(math.huge,math.huge,math.huge) | |
| 1272 | ||
| 1273 | ||
| 1274 | P.Rate = math.ceil(CHILD.Size.Magnitude / 2) | |
| 1275 | P.Color = ColorSequence.new(CHILD.Color, C3(1, 1, 1)) | |
| 1276 | table.insert(PARTS, {CHILD, P})
| |
| 1277 | end | |
| 1278 | end | |
| 1279 | coroutine.resume(coroutine.create(function() | |
| 1280 | if #PARTS > 0 then | |
| 1281 | for i = 1, 85 do | |
| 1282 | Swait() | |
| 1283 | for E = 1, #PARTS do | |
| 1284 | local F = PARTS[E] | |
| 1285 | local A = F[1] | |
| 1286 | local B = F[2] | |
| 1287 | A.Transparency = A.Transparency + 0.011764705882352941 | |
| 1288 | B.Rate = math.ceil(B.Rate * 1.2) | |
| 1289 | for index, E in pairs(A:GetChildren()) do | |
| 1290 | ||
| 1291 | end | |
| 1292 | end | |
| 1293 | end | |
| 1294 | for E = 1, #PARTS do | |
| 1295 | local F = PARTS[E] | |
| 1296 | local A = F[1] | |
| 1297 | local B = F[2] | |
| 1298 | B.Enabled = false | |
| 1299 | Debris:AddItem(A, 3) | |
| 1300 | end | |
| 1301 | end | |
| 1302 | end)) | |
| 1303 | end | |
| 1304 | ||
| 1305 | function AntiTimeStop() | |
| 1306 | for _, c in pairs(Character:GetChildren()) do | |
| 1307 | if c:IsA("Part") and c ~= RootPart then
| |
| 1308 | c.Anchored = false | |
| 1309 | end | |
| 1310 | end | |
| 1311 | if UNANCHOR == true then | |
| 1312 | RootPart.Anchored = false | |
| 1313 | else | |
| 1314 | RootPart.Anchored = true | |
| 1315 | end | |
| 1316 | end | |
| 1317 | ||
| 1318 | Humanoid.Changed:connect(function(Jump) | |
| 1319 | if Jump == "Jump" and (Disable_Jump == true) then | |
| 1320 | Humanoid.Jump = false | |
| 1321 | end | |
| 1322 | ||
| 1323 | ||
| 1324 | end) | |
| 1325 | ||
| 1326 | ||
| 1327 | local cR=255 | |
| 1328 | local cG=0 | |
| 1329 | local cB=0 | |
| 1330 | local flg5=1 local omgidk=1 | |
| 1331 | local add=7.5 | |
| 1332 | game:GetService("RunService"):BindToRenderStep("Ghost",1,function()
| |
| 1333 | if omgidk>10000 then omgidk=0 end | |
| 1334 | omgidk=omgidk+1 | |
| 1335 | if cR>=255 then flg5=1 end | |
| 1336 | if cG>=255 then flg5=2 end | |
| 1337 | if cB>=255 then flg5=3 end | |
| 1338 | if flg5==1 then cR=cR-add cG=cG+add end | |
| 1339 | if flg5==2 then cG=cG-add cB=cB+add end | |
| 1340 | if flg5==3 then cB=cB-add cR=cR+add end | |
| 1341 | color=Color3.fromRGB(cR,cG,cB) | |
| 1342 | end) | |
| 1343 | ||
| 1344 | --------------------------------------------------\\\\ | |
| 1345 | -- ATTACKS |||| | |
| 1346 | --------------------------------------------------//// | |
| 1347 | ||
| 1348 | function SpawnMeteor(POS,SIZE,ISDEBREE,ORIPOS) | |
| 1349 | coroutine.resume(coroutine.create(function() | |
| 1350 | local METEOR = IT("Model",Effects)
| |
| 1351 | METEOR.Name = "Meteorite" | |
| 1352 | local CENTER = CreatePart(3, METEOR, "Granite", 0, 0, "Really black", "MeteorCenter", VT(5,5,5)*SIZE) | |
| 1353 | METEOR.PrimaryPart = CENTER | |
| 1354 | local PRT = CreatePart(3, METEOR, "Granite", 0, 0, "Really black", "MeteorCenter", VT(5,5,5)*SIZE) | |
| 1355 | PRT.CFrame = CENTER.CFrame*ANGLES(RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360))) | |
| 1356 | for i = 1, 15 do | |
| 1357 | local FIRE = CreatePart(3, METEOR, "Neon", 0, 0, "White", "Fire", VT(5.1,1,5.1)*SIZE) | |
| 1358 | FIRE.CFrame = CENTER.CFrame*ANGLES(RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360))) | |
| 1359 | end | |
| 1360 | if ISDEBREE ~= true then | |
| 1361 | METEOR:SetPrimaryPartCFrame(CF(POS) * ANGLES(RAD(MRANDOM(-15,15)), RAD(0), RAD(MRANDOM(-15,15)))*CF(0,500,0) * ANGLES(RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)))) | |
| 1362 | else | |
| 1363 | METEOR:SetPrimaryPartCFrame(CF(ORIPOS,POS) * ANGLES(RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)))) | |
| 1364 | end | |
| 1365 | local IMPACT = false | |
| 1366 | CreateSound(463593339, CENTER, 10, 0.6) | |
| 1367 | if SIZE >= 3.5 then | |
| 1368 | for i = 1, MRANDOM(3,7) do | |
| 1369 | SpawnMeteor(CF(POS) * ANGLES(RAD(0), RAD(MRANDOM(0,360)), RAD(0))*CF(0,0,SIZE*12).p,SIZE/MRANDOM(4,5),true,CENTER.CFrame*ANGLES(RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)))*CF(0,0,SIZE*15).p) | |
| 1370 | end | |
| 1371 | end | |
| 1372 | for i = 1, 200 do | |
| 1373 | Swait() | |
| 1374 | local HITFLOOR,HITPOS = Raycast(CENTER.Position, CF(CENTER.Position,POS).lookVector, 3, Character) | |
| 1375 | if HITFLOOR == nil then | |
| 1376 | local ORI = CENTER.Orientation | |
| 1377 | METEOR:SetPrimaryPartCFrame(CF(HITPOS) * ANGLES(RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)))) | |
| 1378 | else | |
| 1379 | if HITFLOOR.Anchored == true then | |
| 1380 | CreateDebreeRing(HITFLOOR,HITPOS,30*SIZE,VT(6,6,6)*SIZE,5) | |
| 1381 | CreateFlyingDebree(HITFLOOR,CF(HITPOS),8,VT(4,4,4)*SIZE,5,175) | |
| 1382 | end | |
| 1383 | IMPACT = true | |
| 1384 | break | |
| 1385 | end | |
| 1386 | end | |
| 1387 | if IMPACT == true then | |
| 1388 | WACKYEFFECT({EffectType = "Block", Size = CENTER.Size, Size2 = VT(10,10,10)*4*SIZE, Transparency = 0, Transparency2 = 1, CFrame = CF(CENTER.Position), MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = Color3.fromRGB(cR,cG,cB), SoundID = 130972023, SoundPitch = 1, SoundVolume = 5})
| |
| 1389 | WACKYEFFECT({EffectType = "Block", Size = CENTER.Size, Size2 = VT(10,10,10)*3*SIZE, Transparency = 0, Transparency2 = 1, CFrame = CF(CENTER.Position), MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = Color3.fromRGB(cR,cG,cB), SoundID = 201858144, SoundPitch = 1, SoundVolume = 5})
| |
| 1390 | WACKYEFFECT({EffectType = "Sphere", Size = VT(SIZE*20,0,SIZE*20), Size2 = VT(0,SIZE*750,0), Transparency = 0, Transparency2 = 1, CFrame = CF(CENTER.Position), MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = Color3.fromRGB(cR,cG,cB), SoundID = 130972023, SoundPitch = 1, SoundVolume = 5})
| |
| 1391 | ApplyAoE(CENTER.Position,30*SIZE) | |
| 1392 | end | |
| 1393 | METEOR:remove() | |
| 1394 | end)) | |
| 1395 | end | |
| 1396 | ||
| 1397 | function SpawnSmite(POS) | |
| 1398 | local HITFLOOR,HITPOS = Raycast(POS+VT(0,1,0), (CF(POS, POS + VT(0, -1, 0))).lookVector, 100, Character) | |
| 1399 | local EMITPOS = HITPOS | |
| 1400 | if HITFLOOR ~= nil then | |
| 1401 | if HITFLOOR.Parent:FindFirstChildOfClass("Humanoid") then
| |
| 1402 | HITFLOOR,HITPOS = Raycast(POS+VT(0,1,0), (CF(POS, POS + VT(0, -1, 0))).lookVector, 100, HITFLOOR.Parent) | |
| 1403 | EMITPOS = HITPOS | |
| 1404 | elseif HITFLOOR.Parent.Parent:FindFirstChildOfClass("Humanoid") then
| |
| 1405 | HITFLOOR,HITPOS = Raycast(POS+VT(0,1,0), (CF(POS, POS + VT(0, -1, 0))).lookVector, 100, HITFLOOR.Parent.Parent) | |
| 1406 | EMITPOS = HITPOS | |
| 1407 | end | |
| 1408 | end | |
| 1409 | if HITFLOOR ~= nil then | |
| 1410 | ApplyAoE(EMITPOS,10) | |
| 1411 | WACKYEFFECT({EffectType = "Sphere", Size = VT(0,100000,0), Size2 = VT(10,100000,10), Transparency = 0, Transparency2 = 1, CFrame = CF(EMITPOS) * ANGLES(RAD(MRANDOM(-15,15)), RAD(0), RAD(MRANDOM(-15,15))), MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = Color3.fromRGB(cR,cG,cB), SoundID = 1602946208, SoundPitch = 1, SoundVolume = 5})
| |
| 1412 | WACKYEFFECT({EffectType = "Block", Size = VT(0,0,0), Size2 = VT(10,10,10)*2, Transparency = 0, Transparency2 = 1, CFrame = CF(EMITPOS), MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = Color3.fromRGB(cR,cG,cB), SoundID = nil, SoundPitch = 1, SoundVolume = 5})
| |
| 1413 | WACKYEFFECT({EffectType = "Block", Size = VT(0,0,0), Size2 = VT(10,10,10)*1.5, Transparency = 0, Transparency2 = 1, CFrame = CF(EMITPOS), MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = Color3.fromRGB(cR,cG,cB), SoundID = nil, SoundPitch = 1, SoundVolume = 5})
| |
| 1414 | for i = 1, 5 do | |
| 1415 | local TOPOS = CF(EMITPOS)*ANGLES(RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)))*CF(0,0,12) | |
| 1416 | WACKYEFFECT({EffectType = "Slash", Size = VT(0,0,0), Size2 = VT(0.2,0,0.2), Transparency = 0, Transparency2 = 1, CFrame = CF(EMITPOS,TOPOS.p) * ANGLES(RAD(90), RAD(0), RAD(0)), MoveToPos = TOPOS.p, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = Color3.fromRGB(cR,cG,cB), SoundID = 1602946208, SoundPitch = 1, SoundVolume = 5})
| |
| 1417 | end | |
| 1418 | end | |
| 1419 | end | |
| 1420 | ||
| 1421 | function Meteor() | |
| 1422 | local DIST = (RootPart.Position - Mouse.Hit.p).Magnitude | |
| 1423 | if DIST > 180 then | |
| 1424 | DIST = 180 | |
| 1425 | end | |
| 1426 | local RAY,RAYPOS = Raycast(RootPart.Position, (CF(RootPart.Position, Mouse.Hit.p)).lookVector, DIST, workspace) | |
| 1427 | local HITFLOOR,HITPOS,NORMAL = Raycast(RAYPOS+VT(0,45,0), (CF(RAYPOS, RAYPOS + VT(0, -1, 0))).lookVector, 75*SIZE, Character) | |
| 1428 | if HITFLOOR then | |
| 1429 | local POS = HITPOS | |
| 1430 | ATTACK = true | |
| 1431 | Rooted = true | |
| 1432 | local WARPED = false | |
| 1433 | local SMASHED = false | |
| 1434 | local HITFLOOR,HITPOS,NORMAL = Raycast(RootPart.Position+VT(0,1,0), (CF(RAYPOS, RAYPOS + VT(0, -1, 0))).lookVector, 25*SIZE, Character) | |
| 1435 | coroutine.resume(coroutine.create(function() | |
| 1436 | repeat | |
| 1437 | Swait() | |
| 1438 | RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0 - 0.04 * SIN(SINE / 24)*SIZE, 0 + 0.04 * SIN(SINE / 12)*SIZE, 0 + 0.05*SIZE * COS(SINE / 12)) * ANGLES(RAD(0 - 2.5 * SIN(SINE / 12)), RAD(0 - 2.5 * SIN(SINE / 24)), RAD(0)), 1 / Animation_Speed) | |
| 1439 | Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1.1*SIZE) - 1)) * ANGLES(RAD(25 - 4 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed) | |
| 1440 | RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.25*SIZE, 0.5*SIZE, 0.5*SIZE) * ANGLES(RAD(-35), RAD(-25 + 2.5 * SIN(SINE / 12)), RAD(-55 + 2.5 * SIN(SINE / 12))) * RIGHTSHOULDERC0, 1 / Animation_Speed) | |
| 1441 | LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.25*SIZE, 0.5*SIZE, 0.5*SIZE) * ANGLES(RAD(-35), RAD(25 - 2.5 * SIN(SINE / 12)), RAD(55 - 2.5 * SIN(SINE / 12))) * LEFTSHOULDERC0, 1 / Animation_Speed) | |
| 1442 | RightHip.C0 = Clerp(RightHip.C0, CF(1*SIZE, -1*SIZE + 0.06 * SIN(SINE / 24) - 0.05*SIZE * COS(SINE / 12), -0.01*SIZE) * ANGLES(RAD(0 - 2.5 * SIN(SINE / 12)), RAD(75), RAD(0)) * ANGLES(RAD(-2 - 2.5 * SIN(SINE / 24)), RAD(0), RAD(0)), 1 / Animation_Speed) | |
| 1443 | LeftHip.C0 = Clerp(LeftHip.C0, CF(-1*SIZE, -1*SIZE - 0.06 * SIN(SINE / 24) - 0.05*SIZE * COS(SINE / 12), -0.01*SIZE) * ANGLES(RAD(0 - 2.5 * SIN(SINE / 12)), RAD(-75), RAD(0)) * ANGLES(RAD(-2 + 2.5 * SIN(SINE / 24)), RAD(0), RAD(0)), 1 / Animation_Speed) | |
| 1444 | until WARPED == true | |
| 1445 | repeat | |
| 1446 | Swait() | |
| 1447 | RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0 - 0.04 * SIN(SINE / 24)*SIZE, 0 + 0.04 * SIN(SINE / 12)*SIZE, 0 + 0.05*SIZE * COS(SINE / 12)) * ANGLES(RAD(0 - 2.5 * SIN(SINE / 12)), RAD(0 - 2.5 * SIN(SINE / 24)), RAD(0)), 1 / Animation_Speed) | |
| 1448 | Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1.1*SIZE) - 1)) * ANGLES(RAD(25 - 4 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed) | |
| 1449 | RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.25*SIZE, 0.5*SIZE, 0.5*SIZE) * ANGLES(RAD(-35), RAD(-25 + 2.5 * SIN(SINE / 12)), RAD(-55 + 2.5 * SIN(SINE / 12))) * RIGHTSHOULDERC0, 1 / Animation_Speed) | |
| 1450 | LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.25*SIZE, 0.5*SIZE, 0.5*SIZE) * ANGLES(RAD(-35), RAD(25 - 2.5 * SIN(SINE / 12)), RAD(55 - 2.5 * SIN(SINE / 12))) * LEFTSHOULDERC0, 1 / Animation_Speed) | |
| 1451 | RightHip.C0 = Clerp(RightHip.C0, CF(1*SIZE, -0.5*SIZE + 0.06 * SIN(SINE / 24) - 0.1*SIZE * COS(SINE / 12), -0.5*SIZE) * ANGLES(RAD(0 - 2.5 * SIN(SINE / 12)), RAD(75), RAD(0)) * ANGLES(RAD(-2 - 2.5 * SIN(SINE / 24)), RAD(0), RAD(0)), 1 / Animation_Speed) | |
| 1452 | LeftHip.C0 = Clerp(LeftHip.C0, CF(-1*SIZE, -1*SIZE - 0.06 * SIN(SINE / 24) - 0.1*SIZE * COS(SINE / 12), -0.01*SIZE) * ANGLES(RAD(0 - 2.5 * SIN(SINE / 12)), RAD(-75), RAD(0)) * ANGLES(RAD(-2 + 2.5 * SIN(SINE / 24)), RAD(0), RAD(0)), 1 / Animation_Speed) | |
| 1453 | until SMASHED == true | |
| 1454 | repeat | |
| 1455 | Swait() | |
| 1456 | RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0*SIZE, 0*SIZE, 0*SIZE) * ANGLES(RAD(90), RAD(0), RAD(0)), 1 / Animation_Speed) | |
| 1457 | Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0*SIZE, 0*SIZE, 0 + ((1.1*SIZE) - 1)) * ANGLES(RAD(-40), RAD(0), RAD(0)), 1 / Animation_Speed) | |
| 1458 | RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5*SIZE, 0.5*SIZE, 0*SIZE) * ANGLES(RAD(170), RAD(-15), RAD(20)) * RIGHTSHOULDERC0, 1 / Animation_Speed) | |
| 1459 | LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5*SIZE, 0.5*SIZE, 0*SIZE) * ANGLES(RAD(170), RAD(15), RAD(-20)) * LEFTSHOULDERC0, 1 / Animation_Speed) | |
| 1460 | RightHip.C0 = Clerp(RightHip.C0, CF(1*SIZE, -1*SIZE, -0.3*SIZE) * ANGLES(RAD(0), RAD(75), RAD(0)) * ANGLES(RAD(-5), RAD(0), RAD(-20)), 1 / Animation_Speed) | |
| 1461 | LeftHip.C0 = Clerp(LeftHip.C0, CF(-1*SIZE, -1*SIZE, -0.3*SIZE) * ANGLES(RAD(0), RAD(-75), RAD(0)) * ANGLES(RAD(-5), RAD(0), RAD(0)), 1 / Animation_Speed) | |
| 1462 | until ATTACK == false | |
| 1463 | end)) | |
| 1464 | VALUE1 = true | |
| 1465 | CreateSound(233856115, Torso, 5, 1.6, false) | |
| 1466 | for i = 1, 25 do | |
| 1467 | Swait() | |
| 1468 | for _, c in pairs(Character:GetChildren()) do | |
| 1469 | if c.ClassName == "Part" then | |
| 1470 | c.Transparency = c.Transparency + 1/25 | |
| 1471 | end | |
| 1472 | end | |
| 1473 | for _, c in pairs(Weapon:GetChildren()) do | |
| 1474 | if c.ClassName == "Part" then | |
| 1475 | c.Transparency = c.Transparency + 1/25 | |
| 1476 | end | |
| 1477 | end | |
| 1478 | end | |
| 1479 | UNANCHOR = false | |
| 1480 | RootPart.Anchored = true | |
| 1481 | RootPart.Velocity = VT(0,0,0) | |
| 1482 | local ROOTPOS = RootPart.Position | |
| 1483 | RootPart.CFrame = CF(POS+VT(0,300,0),VT(ROOTPOS.X,POS.Y+300,ROOTPOS.Z)) | |
| 1484 | WARPED = true | |
| 1485 | for i = 1, 25 do | |
| 1486 | Swait() | |
| 1487 | for _, c in pairs(Character:GetChildren()) do | |
| 1488 | if c.ClassName == "Part" then | |
| 1489 | c.Transparency = c.Transparency - 0/25 | |
| 1490 | end | |
| 1491 | end | |
| 1492 | for _, c in pairs(Weapon:GetChildren()) do | |
| 1493 | if c.ClassName == "Part" then | |
| 1494 | c.Transparency = c.Transparency - 1/25 | |
| 1495 | end | |
| 1496 | end | |
| 1497 | end | |
| 1498 | local SHELL = CreatePart(3, Effects, "Neon", 0, 1, "Color3.fromRGB(cR,cG,cB)", "Part", VT(0,0,0)) | |
| 1499 | SHELL.CFrame = RootPart.CFrame | |
| 1500 | MakeForm(SHELL,"Ball") | |
| 1501 | CreateSound(402981977, SHELL, 5, 1.6, false) | |
| 1502 | for i = 1, 10 do | |
| 1503 | Swait() | |
| 1504 | SHELL.Transparency = SHELL.Transparency - 0 | |
| 1505 | SHELL.Size = SHELL.Size + VT(0.6,0.6,0.6)*1.8 | |
| 1506 | end | |
| 1507 | for i = 1, math.ceil(75/2) do | |
| 1508 | Swait() | |
| 1509 | RootPart.CFrame = RootPart.CFrame*CF(0,-3.5*2,0) | |
| 1510 | SHELL.CFrame = CF(RootPart.Position) | |
| 1511 | WACKYEFFECT({Time = 5, EffectType = "Sphere", Size = SHELL.Size, Size2 = VT(5,3,5), Transparency = 0.5, Transparency2 = 1, CFrame = SHELL.CFrame, MoveToPos = SHELL.Position+VT(0,15,0), RotationX = 0, RotationY = -5, RotationZ = 0, Material = "Neon", Color = Color3.fromRGB(cR,cG,cB), SoundID = nil, SoundPitch = 0.75, SoundVolume = 6})
| |
| 1512 | end | |
| 1513 | RootPart.CFrame = CF(POS+VT(0,1,0),VT(ROOTPOS.X,HITPOS.Y+1,ROOTPOS.Z)) | |
| 1514 | SHELL.CFrame = CF(RootPart.Position) | |
| 1515 | WACKYEFFECT({Time = 45, EffectType = "Sphere", Size = SHELL.Size, Size2 = VT(35,35,35)*4, Transparency = 0, Transparency2 = 1, CFrame = SHELL.CFrame, MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = Color3.fromRGB(cR,cG,cB), SoundID = 165970126, SoundPitch = 0.75, SoundVolume = 6})
| |
| 1516 | WACKYEFFECT({Time = 55, EffectType = "Wave", Size = VT(SHELL.Size.X,5,SHELL.Size.Z), Size2 = VT(45,3,45)*3.8, Transparency = 0, Transparency2 = 1, CFrame = SHELL.CFrame, MoveToPos = nil, RotationX = 0, RotationY = -5, RotationZ = 0, Material = "Neon", Color = Color3.fromRGB(cR,cG,cB), SoundID = nil, SoundPitch = 0.75, SoundVolume = 6})
| |
| 1517 | WACKYEFFECT({Time = 55, EffectType = "Wave", Size = VT(SHELL.Size.X,5,SHELL.Size.Z), Size2 = VT(45,3,45)*4, Transparency = 0, Transparency2 = 1, CFrame = SHELL.CFrame, MoveToPos = nil, RotationX = 0, RotationY = 5, RotationZ = 0, Material = "Neon", Color = Color3.fromRGB(cR,cG,cB), SoundID = nil, SoundPitch = 0.75, SoundVolume = 6})
| |
| 1518 | for i = 1, 5 do | |
| 1519 | WACKYEFFECT({Time = 35, EffectType = "Wave", Size = VT(5,0,5)*SIZE, Size2 = VT(35,3,35)*4, Transparency = 0.5, Transparency2 = 1, CFrame = RootPart.CFrame * ANGLES(RAD(MRANDOM(0,360)), RAD(MRANDOM(0,360)), RAD(MRANDOM(0,360))), MoveToPos = nil, RotationX = 0, RotationY = -5, RotationZ = 0, Material = "Neon", Color = Color3.fromRGB(cR,cG,cB), SoundID = nil, SoundPitch = 0.5, SoundVolume = 6})
| |
| 1520 | end | |
| 1521 | SHELL:remove() | |
| 1522 | ApplyAoE(RootPart.Position,75,35,75,175,false) | |
| 1523 | SMASHED = true | |
| 1524 | wait(1) | |
| 1525 | VALUE1 = false | |
| 1526 | UNANCHOR = true | |
| 1527 | ATTACK = false | |
| 1528 | Rooted = false | |
| 1529 | end | |
| 1530 | end | |
| 1531 | ||
| 1532 | ||
| 1533 | function Click() | |
| 1534 | ATTACK = true | |
| 1535 | Rooted = false | |
| 1536 | local HIT = nil | |
| 1537 | OFFSET = -45 | |
| 1538 | for i=0, 1, 0.1 / Animation_Speed do | |
| 1539 | Swait() | |
| 1540 | Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(5 - 2.5), RAD(0), RAD(45)), 0.15 / Animation_Speed) | |
| 1541 | RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0.5) * ANGLES(RAD(90), RAD(0), RAD(12)) * RIGHTSHOULDERC0, 2 / Animation_Speed) | |
| 1542 | end | |
| 1543 | OFFSET = 45 | |
| 1544 | local PUNCH = CreatePart(3, Effects, "Granite", 0, 1, "Really black", "Hit", VT(0.7,0.7,0.7),false) | |
| 1545 | PUNCH.CanCollide = true | |
| 1546 | CreateWeldOrSnapOrMotor("Weld", RightArm, RightArm, PUNCH, CF(0,-1,0), CF(0, 0, 0))
| |
| 1547 | TAUNT = true | |
| 1548 | local TOUCH = PUNCH.Touched:Connect(function(hit) | |
| 1549 | if hit.Parent:FindFirstChildOfClass("Humanoid") then
| |
| 1550 | HIT = hit.Parent | |
| 1551 | end | |
| 1552 | end) | |
| 1553 | for i=0, 0.3, 0.1 / Animation_Speed do | |
| 1554 | Swait() | |
| 1555 | RootPart.CFrame = RootPart.CFrame*CF(0,0,-0.3) | |
| 1556 | if HIT ~= nil then | |
| 1557 | break | |
| 1558 | end | |
| 1559 | Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(5 - 2.5), RAD(0), RAD(-45)), 0.15 / Animation_Speed) | |
| 1560 | RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.45, 0.5, -0.75) * ANGLES(RAD(90), RAD(0), RAD(35)) * RIGHTSHOULDERC0, 2 / Animation_Speed) | |
| 1561 | LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(0), RAD(45), RAD(-12)) * ANGLES(RAD(-35), RAD(0), RAD(0)) * LEFTSHOULDERC0, 2 / Animation_Speed) | |
| 1562 | end | |
| 1563 | PUNCH:remove() | |
| 1564 | TOUCH:disconnect() | |
| 1565 | if HIT ~= nil then | |
| 1566 | for _, c in pairs(HIT:GetChildren()) do | |
| 1567 | if c:IsA("BasePart") then
| |
| 1568 | c.Anchored = true | |
| 1569 | end | |
| 1570 | end | |
| 1571 | Rooted = true | |
| 1572 | CreateSound(649634100, Torso, 10, 0.8) | |
| 1573 | CreateSound(1368573150, RightArm, 3, 1.5) | |
| 1574 | for i=0, 0.6, 0.1 / Animation_Speed do | |
| 1575 | Swait() | |
| 1576 | WACKYEFFECT({EffectType = "Block", Size = VT(3,3,3)/3, Size2 = VT(1,1,1)/3, Transparency = 0.5, Transparency2 = 1, CFrame = RightArm.CFrame*CF(0,-1.3,0), MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = C3(1,1,1), SoundID = nil, SoundPitch = 1, SoundVolume = 5})
| |
| 1577 | Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(5 - 2.5), RAD(25), RAD(-45)), 0.05 / Animation_Speed) | |
| 1578 | RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.45, 0.5, -0.75) * ANGLES(RAD(90), RAD(0), RAD(35)) * RIGHTSHOULDERC0, 2 / Animation_Speed) | |
| 1579 | LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(0), RAD(45), RAD(-12)) * ANGLES(RAD(-35), RAD(0), RAD(0)) * LEFTSHOULDERC0, 2 / Animation_Speed) | |
| 1580 | end | |
| 1581 | for _, c in pairs(HIT:GetChildren()) do | |
| 1582 | if c:IsA("BasePart") then
| |
| 1583 | c.Anchored = false | |
| 1584 | end | |
| 1585 | end | |
| 1586 | KillChildren(HIT) | |
| 1587 | end | |
| 1588 | OFFSET = 0 | |
| 1589 | ATTACK = false | |
| 1590 | Rooted = false | |
| 1591 | TAUNT = false | |
| 1592 | end | |
| 1593 | ||
| 1594 | function Boom() | |
| 1595 | Rooted = true | |
| 1596 | ATTACK = true | |
| 1597 | Character:BreakJoints() | |
| 1598 | local Explosion = IT("Explosion",Effects)
| |
| 1599 | Explosion.Position = HandlePart.Position | |
| 1600 | Explosion.BlastPressure = 5000000 | |
| 1601 | local PRT = CreatePart(3, Weapon, "SmoothPlastic", 0, 1, "Really white", "Handle", VT(0, 0, 0)) | |
| 1602 | PRT.CanCollide = false | |
| 1603 | PRT.CFrame = CF(HandlePart.Position) | |
| 1604 | Debris:AddItem(PRT,10) | |
| 1605 | CreateSound("2248511", Effects, 10, 0.2)
| |
| 1606 | MagicSphere(VT(5,5,5),250,PRT.CFrame*CF(0,-2,0),"White",VT(6,2,6)) | |
| 1607 | MagicSphere(VT(4,4,4),250,PRT.CFrame*CF(0,-2,0),"Really white",VT(6,2,6)) | |
| 1608 | MagicSphere(VT(5,5,5),250,PRT.CFrame,"White",VT(5,15,5)) | |
| 1609 | MagicSphere(VT(4,4,4),250,PRT.CFrame,"Really white",VT(5,15,5)) | |
| 1610 | CreateWave(VT(1,5,1),250,PRT.CFrame*CF(0,-2,0),true,4,"White",VT(5,1,5)) | |
| 1611 | CreateSwirl(VT(0,0,0),250,PRT.CFrame,true,-4,"Pine Cone",VT(6,6,6)) | |
| 1612 | CreateSpikeball(VT(0,0,0),250,PRT.CFrame,true,15,"Pine Cone",VT(3,3,3)) | |
| 1613 | for i = 1, 250 do | |
| 1614 | Swait() | |
| 1615 | killnearest(PRT.Position,750000,75) | |
| 1616 | end | |
| 1617 | ATTACK = false | |
| 1618 | Rooted = false | |
| 1619 | end | |
| 1620 | ||
| 1621 | function Dismantle() | |
| 1622 | ||
| 1623 | local model = Instance.new("Model")
| |
| 1624 | model.Parent = workspace | |
| 1625 | model.Name = math.random(-10000,10000) | |
| 1626 | ||
| 1627 | ||
| 1628 | local Spawner = Instance.new("Part")
| |
| 1629 | Spawner.Name = "12qwaszx" | |
| 1630 | Spawner.CFrame = (Mouse.Hit) | |
| 1631 | Spawner.Anchored = true | |
| 1632 | Spawner.Size = Vector3.new(0,0,0) | |
| 1633 | Spawner.Transparency = 1 | |
| 1634 | Spawner.Parent = workspace | |
| 1635 | ||
| 1636 | ||
| 1637 | ||
| 1638 | ||
| 1639 | ||
| 1640 | local Box = Instance.new("Part")
| |
| 1641 | Box.Position = (Spawner.Position) | |
| 1642 | Box.CanCollide = false | |
| 1643 | Box.Transparency = 0.5 | |
| 1644 | Box.Size = Vector3.new(20,20,20) | |
| 1645 | Box.Anchored = true | |
| 1646 | Box.Material = "Neon" | |
| 1647 | Box.Parent = model | |
| 1648 | ||
| 1649 | local selection = Instance.new("SelectionBox")
| |
| 1650 | selection.Parent = Box | |
| 1651 | selection.Adornee = Box | |
| 1652 | selection.LineThickness = 1 | |
| 1653 | ||
| 1654 | ||
| 1655 | local face1 = Instance.new("Part")
| |
| 1656 | face1.Size = Vector3.new(2,20,20) | |
| 1657 | face1.Transparency = 1 | |
| 1658 | face1.CFrame = (Spawner.CFrame) | |
| 1659 | face1.Anchored = true | |
| 1660 | face1.Parent = model | |
| 1661 | face1.CFrame = Box.CFrame*CFrame.new(-10,0,0)*CFrame.fromEulerAnglesXYZ(0, 0, 0) | |
| 1662 | face1.Material = "Neon" | |
| 1663 | ||
| 1664 | local face2 = Instance.new("Part")
| |
| 1665 | face2.Size = Vector3.new(2,20,20) | |
| 1666 | face2.Transparency = 1 | |
| 1667 | face2.CFrame = (Spawner.CFrame) | |
| 1668 | face2.Anchored = true | |
| 1669 | face2.Parent = model | |
| 1670 | face2.CFrame = Box.CFrame*CFrame.new(10,0,0)*CFrame.fromEulerAnglesXYZ(0, 0, 0) | |
| 1671 | face2.Material = "Neon" | |
| 1672 | ||
| 1673 | local face3 = Instance.new("Part")
| |
| 1674 | face3.Size = Vector3.new(20,20,2) | |
| 1675 | face3.Transparency = 1 | |
| 1676 | face3.CFrame = (Spawner.CFrame) | |
| 1677 | face3.Anchored = true | |
| 1678 | face3.Parent = model | |
| 1679 | face3.CFrame = Box.CFrame*CFrame.new(0,0,10)*CFrame.fromEulerAnglesXYZ(0, 0, 0) | |
| 1680 | face3.Material = "Neon" | |
| 1681 | ||
| 1682 | local face4 = Instance.new("Part")
| |
| 1683 | face4.Size = Vector3.new(20,20,2) | |
| 1684 | face4.Transparency = 1 | |
| 1685 | face4.CFrame = (Spawner.CFrame) | |
| 1686 | face4.Anchored = true | |
| 1687 | face4.Parent = model | |
| 1688 | face4.CFrame = Box.CFrame*CFrame.new(0,0,-10)*CFrame.fromEulerAnglesXYZ(0, 0, 0) | |
| 1689 | face4.Material = "Neon" | |
| 1690 | ||
| 1691 | local face5 = Instance.new("Part")
| |
| 1692 | face5.Size = Vector3.new(20,2,20) | |
| 1693 | face5.Transparency = 1 | |
| 1694 | face5.CFrame = (Spawner.CFrame) | |
| 1695 | face5.Anchored = true | |
| 1696 | face5.Parent = model | |
| 1697 | face5.CFrame = Box.CFrame*CFrame.new(0,-10,0)*CFrame.fromEulerAnglesXYZ(0, 0, 0) | |
| 1698 | face5.Material = "Neon" | |
| 1699 | ||
| 1700 | local face6 = Instance.new("Part")
| |
| 1701 | face6.Size = Vector3.new(20,2,20) | |
| 1702 | face6.Transparency = 1 | |
| 1703 | face6.CFrame = (Spawner.CFrame) | |
| 1704 | face6.Anchored = true | |
| 1705 | face6.Parent = model | |
| 1706 | face6.CFrame = Box.CFrame*CFrame.new(0,10,0)*CFrame.fromEulerAnglesXYZ(0, 0, 0) | |
| 1707 | face6.Material = "Neon" | |
| 1708 | ||
| 1709 | ||
| 1710 | ||
| 1711 | ||
| 1712 | ||
| 1713 | ||
| 1714 | ||
| 1715 | ||
| 1716 | ||
| 1717 | model.PrimaryPart = Spawner | |
| 1718 | ||
| 1719 | ||
| 1720 | ||
| 1721 | ||
| 1722 | local RainbowEffect = coroutine.wrap(function() | |
| 1723 | ||
| 1724 | while true do | |
| 1725 | Swait() | |
| 1726 | Box.Color = Color3.new(r/255,g/255,b/255) | |
| 1727 | ||
| 1728 | ||
| 1729 | ||
| 1730 | ||
| 1731 | ||
| 1732 | ||
| 1733 | ||
| 1734 | selection.Color3 = Color3.new(r/255,g/255,b/255) | |
| 1735 | ||
| 1736 | end | |
| 1737 | end) | |
| 1738 | ||
| 1739 | RainbowEffect() | |
| 1740 | local e = 0 | |
| 1741 | ||
| 1742 | ||
| 1743 | local killing = false | |
| 1744 | ||
| 1745 | if killing == false then | |
| 1746 | function onTouched(part) | |
| 1747 | ||
| 1748 | ||
| 1749 | local hit = part | |
| 1750 | hit.CFrame = CFrame.new(Spawner.CFrame.X,Spawner.CFrame.Y, Spawner.CFrame.Z) | |
| 1751 | ||
| 1752 | end | |
| 1753 | else | |
| 1754 | ||
| 1755 | end | |
| 1756 | ||
| 1757 | ||
| 1758 | ||
| 1759 | ||
| 1760 | ||
| 1761 | ||
| 1762 | ||
| 1763 | ||
| 1764 | Box.Touched:connect(onTouched) | |
| 1765 | ||
| 1766 | ||
| 1767 | local spin = coroutine.wrap(function() | |
| 1768 | while true do | |
| 1769 | e = e + 0.01 | |
| 1770 | model:SetPrimaryPartCFrame(CFrame.new(Spawner.CFrame.X,Spawner.CFrame.Y ,Spawner.CFrame.Z) * CFrame.fromEulerAnglesXYZ(e,e,0) ) | |
| 1771 | Swait() | |
| 1772 | end | |
| 1773 | ||
| 1774 | end) | |
| 1775 | ||
| 1776 | spin() | |
| 1777 | local moveup = coroutine.wrap(function() | |
| 1778 | local p = 0 | |
| 1779 | ||
| 1780 | ||
| 1781 | ||
| 1782 | for i = 0,0.7,0.01 do | |
| 1783 | Swait() | |
| 1784 | p = p+0.01 | |
| 1785 | ||
| 1786 | ||
| 1787 | ||
| 1788 | ||
| 1789 | ||
| 1790 | model:SetPrimaryPartCFrame(CFrame.new(Spawner.CFrame.X,Spawner.CFrame.Y + p,Spawner.CFrame.Z) * CFrame.fromEulerAnglesXYZ(e,e,0) ) | |
| 1791 | ||
| 1792 | ||
| 1793 | ||
| 1794 | end | |
| 1795 | ||
| 1796 | ||
| 1797 | ||
| 1798 | end) | |
| 1799 | ||
| 1800 | ||
| 1801 | ||
| 1802 | moveup() | |
| 1803 | ||
| 1804 | ||
| 1805 | ||
| 1806 | ||
| 1807 | ||
| 1808 | ||
| 1809 | wait(1) | |
| 1810 | ||
| 1811 | local FLASH = coroutine.wrap(function() | |
| 1812 | local p = 1 | |
| 1813 | ||
| 1814 | ||
| 1815 | ||
| 1816 | for i = 0,0.7,0.01 do | |
| 1817 | Swait() | |
| 1818 | p = p-0.01 | |
| 1819 | ||
| 1820 | ||
| 1821 | face1.Transparency = p | |
| 1822 | face2.Transparency = p | |
| 1823 | face3.Transparency = p | |
| 1824 | face4.Transparency = p | |
| 1825 | face5.Transparency = p | |
| 1826 | face6.Transparency = p | |
| 1827 | end | |
| 1828 | ||
| 1829 | ||
| 1830 | ||
| 1831 | ||
| 1832 | ||
| 1833 | end) | |
| 1834 | ||
| 1835 | local sound = Instance.new("Sound")
| |
| 1836 | sound.Parent = Box | |
| 1837 | sound.SoundId = "rbxassetid://1996663666" | |
| 1838 | sound.EmitterSize = 100 | |
| 1839 | sound.MaxDistance = 1000 | |
| 1840 | sound.TimePosition = 0 | |
| 1841 | sound:Play() | |
| 1842 | sound.Volume = 5 | |
| 1843 | ||
| 1844 | ||
| 1845 | ||
| 1846 | FLASH() | |
| 1847 | wait(2) | |
| 1848 | ||
| 1849 | sound:Pause() | |
| 1850 | ||
| 1851 | local sound2 = Instance.new("Sound")
| |
| 1852 | sound2.Parent = Box | |
| 1853 | sound2.SoundId = "rbxassetid://178452241" | |
| 1854 | sound2.EmitterSize = 100 | |
| 1855 | sound2.MaxDistance = 1000 | |
| 1856 | sound2.TimePosition = 0 | |
| 1857 | sound2:Play() | |
| 1858 | sound2.Volume = 10 | |
| 1859 | ||
| 1860 | local LIGHTNING = coroutine.wrap(function() | |
| 1861 | local p = 0 | |
| 1862 | for i = 0,1,0.01 do | |
| 1863 | Swait() | |
| 1864 | face1.Transparency = p | |
| 1865 | face2.Transparency = p | |
| 1866 | face3.Transparency = p | |
| 1867 | face4.Transparency = p | |
| 1868 | face5.Transparency = p | |
| 1869 | face6.Transparency = p | |
| 1870 | p = p+0.08 | |
| 1871 | end | |
| 1872 | ||
| 1873 | ||
| 1874 | ||
| 1875 | end) | |
| 1876 | ||
| 1877 | LIGHTNING() | |
| 1878 | ||
| 1879 | ||
| 1880 | ||
| 1881 | ||
| 1882 | ||
| 1883 | function onTouched(part) | |
| 1884 | ||
| 1885 | ||
| 1886 | local hit = part | |
| 1887 | ||
| 1888 | ||
| 1889 | ||
| 1890 | ||
| 1891 | local dismantle2 = coroutine.wrap(function() | |
| 1892 | for i = 0,2,0.01 do | |
| 1893 | ||
| 1894 | ||
| 1895 | Swait() | |
| 1896 | ||
| 1897 | ||
| 1898 | ||
| 1899 | hit.Velocity = Vector3.new(math.huge,math.huge,math.huge) | |
| 1900 | ||
| 1901 | ||
| 1902 | ||
| 1903 | end | |
| 1904 | ||
| 1905 | end) | |
| 1906 | dismantle2() | |
| 1907 | ||
| 1908 | ||
| 1909 | ||
| 1910 | ||
| 1911 | ||
| 1912 | ||
| 1913 | ||
| 1914 | ||
| 1915 | ||
| 1916 | ||
| 1917 | ||
| 1918 | end | |
| 1919 | ||
| 1920 | Box.Touched:connect(onTouched) | |
| 1921 | ||
| 1922 | ||
| 1923 | ||
| 1924 | ||
| 1925 | ||
| 1926 | ||
| 1927 | ||
| 1928 | ||
| 1929 | ||
| 1930 | ||
| 1931 | ||
| 1932 | ||
| 1933 | wait() | |
| 1934 | local DISAPPER = coroutine.wrap(function() | |
| 1935 | local p = 0 | |
| 1936 | for i = 0,2,0.01 do | |
| 1937 | Swait() | |
| 1938 | face1.Transparency = face1.Transparency + p | |
| 1939 | face2.Transparency = face1.Transparency + p | |
| 1940 | face3.Transparency = face1.Transparency + p | |
| 1941 | face4.Transparency = face1.Transparency + p | |
| 1942 | face5.Transparency = face1.Transparency + p | |
| 1943 | face6.Transparency = face1.Transparency + p | |
| 1944 | Box.Transparency = p | |
| 1945 | selection.Transparency = p | |
| 1946 | p = p+0.01 | |
| 1947 | end | |
| 1948 | ||
| 1949 | ||
| 1950 | ||
| 1951 | end) | |
| 1952 | DISAPPER() | |
| 1953 | ||
| 1954 | wait(2) | |
| 1955 | ||
| 1956 | model:Remove() | |
| 1957 | end | |
| 1958 | ||
| 1959 | ||
| 1960 | ||
| 1961 | ----------------------------------------------------------------------------------------------------- | |
| 1962 | ||
| 1963 | function implode() | |
| 1964 | ||
| 1965 | ||
| 1966 | ||
| 1967 | end | |
| 1968 | ||
| 1969 | ||
| 1970 | ||
| 1971 | ||
| 1972 | ||
| 1973 | ||
| 1974 | ||
| 1975 | ||
| 1976 | ||
| 1977 | ||
| 1978 | ||
| 1979 | ||
| 1980 | ||
| 1981 | ||
| 1982 | ||
| 1983 | ||
| 1984 | ||
| 1985 | ||
| 1986 | function Smite() | |
| 1987 | ||
| 1988 | local spawner = Instance.new("Part")
| |
| 1989 | spawner.Parent = workspace | |
| 1990 | spawner.Transparency = 1 | |
| 1991 | spawner.CFrame = (Mouse.Hit) | |
| 1992 | spawner.Size = Vector3.new(0,0,0) | |
| 1993 | spawner.Anchored = true | |
| 1994 | ||
| 1995 | local suck = Instance.new("Part")
| |
| 1996 | suck.Transparency = 0 | |
| 1997 | suck.CFrame = (spawner.CFrame) | |
| 1998 | suck.Size = Vector3.new(70,70,70) | |
| 1999 | suck.Material = "Neon" | |
| 2000 | suck.Anchored = true | |
| 2001 | suck.CanCollide = false | |
| 2002 | suck.Shape = "Ball" | |
| 2003 | suck.Parent = workspace | |
| 2004 | ||
| 2005 | local colors = coroutine.wrap(function() | |
| 2006 | for i = 1,55 do | |
| 2007 | Swait() | |
| 2008 | ||
| 2009 | ||
| 2010 | ||
| 2011 | suck.Color = Color3.new(r/255,g/255,b/255) | |
| 2012 | end | |
| 2013 | ||
| 2014 | ||
| 2015 | end) | |
| 2016 | ||
| 2017 | colors() | |
| 2018 | ||
| 2019 | ||
| 2020 | local fade = coroutine.wrap(function() | |
| 2021 | ||
| 2022 | local p = 0 | |
| 2023 | ||
| 2024 | for i = 1,55 do | |
| 2025 | ||
| 2026 | ||
| 2027 | suck.Transparency = p | |
| 2028 | p = p+0.02 | |
| 2029 | Swait() | |
| 2030 | end | |
| 2031 | ||
| 2032 | ||
| 2033 | ||
| 2034 | end) | |
| 2035 | ||
| 2036 | fade() | |
| 2037 | ||
| 2038 | ||
| 2039 | ||
| 2040 | ||
| 2041 | local size = coroutine.wrap(function() | |
| 2042 | ||
| 2043 | local p = 70 | |
| 2044 | ||
| 2045 | for i = 1,55 do | |
| 2046 | ||
| 2047 | ||
| 2048 | ||
| 2049 | ||
| 2050 | suck.Size = Vector3.new(p,p,p) | |
| 2051 | p = p - 1 | |
| 2052 | ||
| 2053 | Swait() | |
| 2054 | end | |
| 2055 | ||
| 2056 | ||
| 2057 | ||
| 2058 | end) | |
| 2059 | ||
| 2060 | size() | |
| 2061 | ||
| 2062 | local move = coroutine.wrap(function() | |
| 2063 | for i = 1,55 do | |
| 2064 | Swait() | |
| 2065 | ||
| 2066 | suck.CFrame = (spawner.CFrame) | |
| 2067 | ||
| 2068 | ||
| 2069 | end | |
| 2070 | ||
| 2071 | end) | |
| 2072 | ||
| 2073 | move() | |
| 2074 | ||
| 2075 | function onTouched(part) | |
| 2076 | local hit = part | |
| 2077 | ||
| 2078 | if hit:FindFirstChild("BodyPosition") then
| |
| 2079 | else | |
| 2080 | ||
| 2081 | local blackhole1 = coroutine.wrap(function() | |
| 2082 | local pull = Instance.new("BodyPosition")
| |
| 2083 | pull.position = suck.Position | |
| 2084 | pull.Parent = hit | |
| 2085 | pull.P = 10000000000 | |
| 2086 | pull.MaxForce = Vector3.new(10000,10000,10000) | |
| 2087 | wait(2) | |
| 2088 | pull:Remove() | |
| 2089 | ||
| 2090 | end) | |
| 2091 | blackhole1() | |
| 2092 | end | |
| 2093 | ||
| 2094 | end | |
| 2095 | ||
| 2096 | suck.Touched:connect(onTouched) | |
| 2097 | ||
| 2098 | wait(1) | |
| 2099 | suck:Remove() | |
| 2100 | ||
| 2101 | local death = Instance.new("Part")
| |
| 2102 | ||
| 2103 | local boooom = coroutine.wrap(function() | |
| 2104 | Swait() | |
| 2105 | ||
| 2106 | local bang = Instance.new("Explosion")
| |
| 2107 | ||
| 2108 | bang.BlastPressure = math.huge | |
| 2109 | bang.BlastRadius = 20 | |
| 2110 | bang.DestroyJointRadiusPercent = 100 | |
| 2111 | bang.Position = (spawner.Position) | |
| 2112 | bang.Visible = false | |
| 2113 | bang.Parent = spawner | |
| 2114 | ||
| 2115 | local sound2 = Instance.new("Sound")
| |
| 2116 | sound2.Parent = spawner | |
| 2117 | sound2.SoundId = "rbxassetid://168586586" | |
| 2118 | sound2.EmitterSize = 100 | |
| 2119 | sound2.MaxDistance = 1000 | |
| 2120 | sound2.TimePosition = 0 | |
| 2121 | sound2:Play() | |
| 2122 | sound2.Volume = 10 | |
| 2123 | ||
| 2124 | death.Parent = workspace | |
| 2125 | death.Transparency = 1 | |
| 2126 | death.CFrame = (spawner.CFrame) | |
| 2127 | death.Size = Vector3.new(20,20,20) | |
| 2128 | ||
| 2129 | death.Velocity = Vector3.new(math.huge,math.huge,math.huge) | |
| 2130 | ||
| 2131 | local size = coroutine.wrap(function() | |
| 2132 | ||
| 2133 | local p = 20 | |
| 2134 | ||
| 2135 | for i = 1,55 do | |
| 2136 | ||
| 2137 | ||
| 2138 | ||
| 2139 | death.CFrame = (spawner.CFrame) | |
| 2140 | death.Size = Vector3.new(p,p,p) | |
| 2141 | p = p + 1 | |
| 2142 | ||
| 2143 | Swait() | |
| 2144 | end | |
| 2145 | ||
| 2146 | ||
| 2147 | ||
| 2148 | end) | |
| 2149 | ||
| 2150 | size() | |
| 2151 | ||
| 2152 | ||
| 2153 | bang.Parent = spawner | |
| 2154 | ||
| 2155 | end) | |
| 2156 | ||
| 2157 | boooom() | |
| 2158 | ||
| 2159 | local RING, MESH, DELET = MakeRing() | |
| 2160 | local POS = spawner.Position | |
| 2161 | RING.CFrame = CF(spawner.Position + VT(MRANDOM(-25, 25), 200, MRANDOM(-25, 25)), spawner.Position) * ANGLES(RAD(90), RAD(0), RAD(0)) | |
| 2162 | ||
| 2163 | local HITFLOOR, HITPOS = Raycast(RING.Position, CF(RING.Position, RING.CFrame * CF(0, -1, 0).p).lookVector, 500, Character) | |
| 2164 | ||
| 2165 | if HITFLOOR then | |
| 2166 | ||
| 2167 | local DIST = (RING.Position - HITPOS).Magnitude | |
| 2168 | ||
| 2169 | for i = 1, 5 do | |
| 2170 | WACKYEFFECT({
| |
| 2171 | EffectType = "Wave", | |
| 2172 | Size = VT(25, 0, 25), | |
| 2173 | Size2 = VT(40, 0, 40) + VT(i * 6, i / 5, i * 6), | |
| 2174 | Transparency = 0, | |
| 2175 | Transparency2 = 1, | |
| 2176 | CFrame = CF(spawner.Position) * ANGLES(RAD(0), RAD(72 * i), RAD(0)), | |
| 2177 | MoveToPos = nil, | |
| 2178 | RotationX = 0, | |
| 2179 | RotationY = 3, | |
| 2180 | RotationZ = 0, | |
| 2181 | Material = "Neon", | |
| 2182 | ||
| 2183 | Color = C3(r1/255, g1/255, b1/255), | |
| 2184 | SoundID = nil, | |
| 2185 | SoundPitch = nil, | |
| 2186 | SoundVolume = nil | |
| 2187 | }) | |
| 2188 | WACKYEFFECT({
| |
| 2189 | EffectType = "Round Slash", | |
| 2190 | Size = VT(3, 0, 3) / 13, | |
| 2191 | Size2 = (VT(3, 0, 3) + VT(i, 0, i)) / 5, | |
| 2192 | Transparency = 0, | |
| 2193 | Transparency2 = 1, | |
| 2194 | CFrame = CF(spawner.Position) * ANGLES(RAD(0), RAD(MRANDOM(0, 360)), RAD(0)) * ANGLES(RAD(MRANDOM(-35, 35)), RAD(0), RAD(MRANDOM(-35, 35))), | |
| 2195 | MoveToPos = nil, | |
| 2196 | RotationX = 0, | |
| 2197 | RotationY = 0, | |
| 2198 | RotationZ = 0, | |
| 2199 | Material = "Neon", | |
| 2200 | Color = C3(r1/255, g1/255, b1/255), | |
| 2201 | SoundID = nil, | |
| 2202 | SoundPitch = nil, | |
| 2203 | SoundVolume = nil | |
| 2204 | }) | |
| 2205 | WACKYEFFECT({
| |
| 2206 | Time = 35, | |
| 2207 | EffectType = "Sphere", | |
| 2208 | Size = VT(22, 22, 22), | |
| 2209 | Size2 = VT(45, 45, 45) + VT(i * 5, i * 5, i * 5), | |
| 2210 | Transparency = 0, | |
| 2211 | Transparency2 = 1, | |
| 2212 | CFrame = CF(spawner.Position), | |
| 2213 | MoveToPos = nil, | |
| 2214 | RotationX = 0, | |
| 2215 | RotationY = 0, | |
| 2216 | RotationZ = 0, | |
| 2217 | Material = "Neon", | |
| 2218 | ||
| 2219 | Color = C3(r1/255, g1/255, b1/255), | |
| 2220 | SoundID = 459523898, | |
| 2221 | SoundPitch = MRANDOM(9, 12) / 10, | |
| 2222 | SoundVolume = 10 | |
| 2223 | }) | |
| 2224 | end | |
| 2225 | SHAKECAM(spawner.Position, 100, 8, 15) | |
| 2226 | ApplyAoE(spawner.Position, 50) | |
| 2227 | ||
| 2228 | ||
| 2229 | ||
| 2230 | ||
| 2231 | ||
| 2232 | ||
| 2233 | ||
| 2234 | ||
| 2235 | ||
| 2236 | ||
| 2237 | ||
| 2238 | ||
| 2239 | ||
| 2240 | ||
| 2241 | ||
| 2242 | ||
| 2243 | for i = 1, 25 do | |
| 2244 | Swait() | |
| 2245 | ||
| 2246 | end | |
| 2247 | ||
| 2248 | end | |
| 2249 | ||
| 2250 | wait(0.2) | |
| 2251 | ||
| 2252 | death:Remove() | |
| 2253 | DELET() | |
| 2254 | wait(2) | |
| 2255 | spawner:Remove() | |
| 2256 | ||
| 2257 | end | |
| 2258 | ||
| 2259 | ||
| 2260 | ||
| 2261 | ||
| 2262 | ||
| 2263 | ||
| 2264 | ||
| 2265 | ||
| 2266 | ||
| 2267 | ||
| 2268 | ||
| 2269 | ||
| 2270 | ||
| 2271 | ||
| 2272 | ||
| 2273 | ||
| 2274 | ||
| 2275 | ||
| 2276 | ||
| 2277 | ||
| 2278 | ||
| 2279 | ||
| 2280 | ||
| 2281 | ||
| 2282 | ||
| 2283 | ||
| 2284 | ||
| 2285 | ||
| 2286 | ||
| 2287 | ||
| 2288 | ||
| 2289 | ||
| 2290 | ||
| 2291 | ||
| 2292 | ||
| 2293 | ||
| 2294 | ||
| 2295 | v = 0 | |
| 2296 | ||
| 2297 | ||
| 2298 | function onKeyPress(inputObject, gameProcessedEvent) | |
| 2299 | if inputObject.KeyCode == Enum.KeyCode.E then | |
| 2300 | v = 0 | |
| 2301 | SKILL7TEXT.Text = "[CLICK] Cube of Rainbow" | |
| 2302 | end | |
| 2303 | end | |
| 2304 | ||
| 2305 | game:GetService("UserInputService").InputBegan:connect(onKeyPress)
| |
| 2306 | ||
| 2307 | ||
| 2308 | function onKeyPress(inputObject, gameProcessedEvent) | |
| 2309 | if inputObject.KeyCode == Enum.KeyCode.R then | |
| 2310 | v = 1 | |
| 2311 | SKILL7TEXT.Text = "[CLICK] Explosion of Rainbow" | |
| 2312 | end | |
| 2313 | end | |
| 2314 | game:GetService("UserInputService").InputBegan:connect(onKeyPress)
| |
| 2315 | ||
| 2316 | ||
| 2317 | Mouse.Button1Down:connect(function() | |
| 2318 | ||
| 2319 | ||
| 2320 | ||
| 2321 | if v == 0 then | |
| 2322 | Dismantle() | |
| 2323 | ||
| 2324 | end | |
| 2325 | ||
| 2326 | if v == 1 then | |
| 2327 | implode() | |
| 2328 | Smite() | |
| 2329 | end | |
| 2330 | ||
| 2331 | end) | |
| 2332 | ||
| 2333 | Mouse.KeyDown:connect(function(key) | |
| 2334 | if key == "f" then | |
| 2335 | SpawnSmite(Mouse.Hit.p) | |
| 2336 | end | |
| 2337 | if Key == "z" then | |
| 2338 | Smite() | |
| 2339 | end | |
| 2340 | if Key == "x" then | |
| 2341 | implode() | |
| 2342 | end | |
| 2343 | if Key == "c" then | |
| 2344 | Dismantle() | |
| 2345 | end | |
| 2346 | if key == "q" then | |
| 2347 | local pos = RootPart.Position | |
| 2348 | RootPart.CFrame = CF(Mouse.Hit.p+VT(0,3,0),pos) | |
| 2349 | end | |
| 2350 | if Key == "g" then | |
| 2351 | Boom() | |
| 2352 | end | |
| 2353 | end) | |
| 2354 | ||
| 2355 | ||
| 2356 | function onKeyPress(inputObject, gameProcessedEvent) | |
| 2357 | if inputObject.KeyCode == Enum.KeyCode.P then | |
| 2358 | ||
| 2359 | for _, c in pairs(Character:GetChildren()) do | |
| 2360 | c:Remove() | |
| 2361 | createstuff() | |
| 2362 | headness.Parent = Character | |
| 2363 | headness.CFrame = Torso.CFrame*CFrame.new(0,2,0) | |
| 2364 | weldBetween(headness,Head) | |
| 2365 | txt.Adornee = BlockHead | |
| 2366 | ||
| 2367 | ||
| 2368 | end | |
| 2369 | ||
| 2370 | sick.SoundId = "rbxassetid://556122490" | |
| 2371 | sick.Looped = true | |
| 2372 | sick.Pitch = 1 | |
| 2373 | sick.Volume = 2 | |
| 2374 | sick.Parent = Effects | |
| 2375 | sick.Playing = PLAYSONG | |
| 2376 | ||
| 2377 | local Effects = IT("Folder", Character)
| |
| 2378 | Effects.Name = "Effects" | |
| 2379 | ||
| 2380 | local Effects = IT("Folder", Character)
| |
| 2381 | Effects.Name = "Effects" | |
| 2382 | local deathpart = Instance.new("Part")
| |
| 2383 | deathpart.Parent = game.Workspace | |
| 2384 | deathpart.CFrame = (Torso.CFrame) | |
| 2385 | deathpart.Anchored = true | |
| 2386 | deathpart.Size = Vector3.new(2,2,2) | |
| 2387 | deathpart.Material = ("Neon")
| |
| 2388 | deathpart.CanCollide = false | |
| 2389 | deathpart.Transparency = 0 | |
| 2390 | deathpart.Shape = "Ball" | |
| 2391 | ||
| 2392 | ||
| 2393 | local stoptime = coroutine.wrap(function() | |
| 2394 | ||
| 2395 | local p = 2 | |
| 2396 | ||
| 2397 | ||
| 2398 | ||
| 2399 | for i = 1,10,0.1 do | |
| 2400 | ||
| 2401 | deathpart.CFrame = (Torso.CFrame) | |
| 2402 | ||
| 2403 | deathpart.Color = Color3.new(r/255,g/255,b/255) | |
| 2404 | deathpart.Size = Vector3.new(p,p,p) | |
| 2405 | Blockhead.Parent = headness | |
| 2406 | ||
| 2407 | p = p+2 | |
| 2408 | Swait() | |
| 2409 | end | |
| 2410 | ||
| 2411 | ||
| 2412 | ||
| 2413 | end) | |
| 2414 | ||
| 2415 | stoptime() | |
| 2416 | ||
| 2417 | ------------------------------------------ | |
| 2418 | ||
| 2419 | ||
| 2420 | ||
| 2421 | ||
| 2422 | local stoptime = coroutine.wrap(function() | |
| 2423 | ||
| 2424 | local p = 2 | |
| 2425 | ||
| 2426 | ||
| 2427 | ||
| 2428 | for i = 1,10,0.1 do | |
| 2429 | ||
| 2430 | ||
| 2431 | ||
| 2432 | ||
| 2433 | ||
| 2434 | deathpart.Transparency = p/30 | |
| 2435 | ||
| 2436 | p = p+1 | |
| 2437 | Swait() | |
| 2438 | end | |
| 2439 | ||
| 2440 | ||
| 2441 | ||
| 2442 | end) | |
| 2443 | ||
| 2444 | stoptime() | |
| 2445 | ||
| 2446 | ||
| 2447 | ||
| 2448 | ||
| 2449 | ||
| 2450 | ||
| 2451 | ||
| 2452 | ||
| 2453 | ||
| 2454 | ||
| 2455 | ||
| 2456 | ||
| 2457 | wait(1) | |
| 2458 | ||
| 2459 | deathpart:Remove() | |
| 2460 | ||
| 2461 | ||
| 2462 | end | |
| 2463 | ||
| 2464 | ||
| 2465 | ||
| 2466 | end | |
| 2467 | ||
| 2468 | game:GetService("UserInputService").InputBegan:connect(onKeyPress)
| |
| 2469 | ||
| 2470 | ||
| 2471 | ||
| 2472 | ||
| 2473 | ||
| 2474 | ||
| 2475 | ||
| 2476 | ||
| 2477 | ||
| 2478 | ||
| 2479 | local random4 = coroutine.wrap(function() | |
| 2480 | while true do | |
| 2481 | ||
| 2482 | RightArm.Color = Color3.new(r/255,g/255,b/255) | |
| 2483 | LeftArm.Color = Color3.new(r/255,g/255,b/255) | |
| 2484 | RightLeg.Color = Color3.new(r/255,g/255,b/255) | |
| 2485 | LeftLeg.Color = Color3.new(r/255,g/255,b/255) | |
| 2486 | headness.Color = Color3.new(r/255,g/255,b/255) | |
| 2487 | Torso.Color = Color3.new(r/255,g/255,b/255) | |
| 2488 | headness.Transparency = 0.5 | |
| 2489 | RootPart.Transparency = 1 | |
| 2490 | ||
| 2491 | ||
| 2492 | Swait() | |
| 2493 | end | |
| 2494 | end) | |
| 2495 | ||
| 2496 | random4() | |
| 2497 | ||
| 2498 | while true do | |
| 2499 | ||
| 2500 | ||
| 2501 | RightArm.Transparency = 0.3 | |
| 2502 | LeftArm.Transparency = 0.3 | |
| 2503 | RightLeg.Transparency = 0.3 | |
| 2504 | LeftLeg.Transparency = 0.3 | |
| 2505 | Torso.Transparency = 0.3 | |
| 2506 | Head.Transparency = 1 | |
| 2507 | RightArm.Material = ("Neon")
| |
| 2508 | LeftArm.Material = ("Neon")
| |
| 2509 | LeftLeg.Material = ("Neon")
| |
| 2510 | RightLeg.Material = ("Neon")
| |
| 2511 | Torso.Material = ("Neon")
| |
| 2512 | Head.Material = ("Neon")
| |
| 2513 | headness.Material = ("Neon")
| |
| 2514 | ||
| 2515 | ||
| 2516 | function fix() | |
| 2517 | ||
| 2518 | if Head.Size ~= Vector3.new(2,1,1)then | |
| 2519 | Head.Size = Vector3.new(1,1,1) | |
| 2520 | end | |
| 2521 | ||
| 2522 | ||
| 2523 | if RightArm.Size ~= Vector3.new(1,2,1)then | |
| 2524 | RightArm.Size = Vector3.new(1,2,1) | |
| 2525 | end | |
| 2526 | ||
| 2527 | ||
| 2528 | if LeftArm.Size ~= Vector3.new(1,2,1)then | |
| 2529 | LeftArm.Size = Vector3.new(1,2,1) | |
| 2530 | end | |
| 2531 | ||
| 2532 | if RightLeg.Size ~= Vector3.new(1,2,1)then | |
| 2533 | RightLeg.Size = Vector3.new(1,2,1) | |
| 2534 | end | |
| 2535 | ||
| 2536 | if LeftArm.Size ~= Vector3.new(1,2,1)then | |
| 2537 | LeftArm.Size = Vector3.new(1,2,1) | |
| 2538 | end | |
| 2539 | ||
| 2540 | if Torso.Size ~= Vector3.new(2,2,1)then | |
| 2541 | Torso.Size = Vector3.new(2,2,1) | |
| 2542 | end | |
| 2543 | end | |
| 2544 | ||
| 2545 | ||
| 2546 | ||
| 2547 | Swait() | |
| 2548 | ||
| 2549 | script.Parent = WEAPONGUI | |
| 2550 | ANIMATE.Parent = nil | |
| 2551 | for _,v in next, Humanoid:GetPlayingAnimationTracks() do | |
| 2552 | v:Stop(); | |
| 2553 | end | |
| 2554 | if Character:FindFirstChildOfClass("Humanoid") == nil then
| |
| 2555 | Humanoid = IT("Humanoid",Character)
| |
| 2556 | end | |
| 2557 | ||
| 2558 | SINE = SINE + CHANGE | |
| 2559 | local TORSOVELOCITY = (RootPart.Velocity * VT(1, 0, 1)).magnitude | |
| 2560 | local TORSOVERTICALVELOCITY = RootPart.Velocity.y | |
| 2561 | local HITFLOOR = Raycast(RootPart.Position, (CF(RootPart.Position, RootPart.Position + VT(0, -1, 0))).lookVector, 4, Character) | |
| 2562 | local WALKSPEEDVALUE = 4 | |
| 2563 | ||
| 2564 | if ANIM == "Walk" and TORSOVELOCITY > 1 and PLAYSONG == true then | |
| 2565 | RootJoint.C1 = Clerp(RootJoint.C1, ROOTC0 * CF(0, 0, -0.15 * COS(SINE / (WALKSPEEDVALUE / 2))) * ANGLES(RAD(0), RAD(0) - RootPart.RotVelocity.Y / 75, RAD(0)), 2 * (Humanoid.WalkSpeed / 16) / Animation_Speed) | |
| 2566 | Neck.C1 = Clerp(Neck.C1, CF(0, -0.5, 0) * ANGLES(RAD(-90), RAD(0), RAD(180)) * ANGLES(RAD(2.5 * SIN(SINE / (WALKSPEEDVALUE / 2))), RAD(0), RAD(0) - Head.RotVelocity.Y / 30), 0.2 * (Humanoid.WalkSpeed / 16) / Animation_Speed) | |
| 2567 | RightHip.C1 = Clerp(RightHip.C1, CF(0.5, 0.875 - 0.125 * SIN(SINE / WALKSPEEDVALUE) - 0.15 * COS(SINE / WALKSPEEDVALUE*2), -0.125 * COS(SINE / WALKSPEEDVALUE) +0.2- 0.2 * COS(SINE / WALKSPEEDVALUE)) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(0) - RightLeg.RotVelocity.Y / 75, RAD(0), RAD(65 * COS(SINE / WALKSPEEDVALUE))), 0.5 * (Humanoid.WalkSpeed / 16) / Animation_Speed) | |
| 2568 | LeftHip.C1 = Clerp(LeftHip.C1, CF(-0.5, 0.875 + 0.125 * SIN(SINE / WALKSPEEDVALUE) - 0.15 * COS(SINE / WALKSPEEDVALUE*2), 0.125 * COS(SINE / WALKSPEEDVALUE) +0.2+ 0.2 * COS(SINE / WALKSPEEDVALUE)) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(0) + LeftLeg.RotVelocity.Y / 75, RAD(0), RAD(65 * COS(SINE / WALKSPEEDVALUE))), 0.5 * (Humanoid.WalkSpeed / 16) / Animation_Speed) | |
| 2569 | elseif (ANIM ~= "Walk") or (TORSOVELOCITY < 1) or PLAYSONG == false then | |
| 2570 | RootJoint.C1 = Clerp(RootJoint.C1, ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.2 / Animation_Speed) | |
| 2571 | Neck.C1 = Clerp(Neck.C1, CF(0, -0.5, 0) * ANGLES(RAD(-90), RAD(0), RAD(180)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.2 / Animation_Speed) | |
| 2572 | RightHip.C1 = Clerp(RightHip.C1, CF(0.5, 1, 0) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed) | |
| 2573 | LeftHip.C1 = Clerp(LeftHip.C1, CF(-0.5, 1, 0) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed) | |
| 2574 | end | |
| 2575 | if TORSOVERTICALVELOCITY > 1 and HITFLOOR == nil then | |
| 2576 | ANIM = "Jump" | |
| 2577 | if ATTACK == false then | |
| 2578 | RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.2 / Animation_Speed) | |
| 2579 | Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0 * Player_Size, 0 + ((1) - 1)) * ANGLES(RAD(-20), RAD(0), RAD(0)), 0.2 / Animation_Speed) | |
| 2580 | RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(-40), RAD(0), RAD(20)) * RIGHTSHOULDERC0, 0.2 / Animation_Speed) | |
| 2581 | LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0 * Player_Size) * ANGLES(RAD(-40), RAD(0), RAD(-20)) * LEFTSHOULDERC0, 0.2 / Animation_Speed) | |
| 2582 | RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, -0.3) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(-5), RAD(0), RAD(-20)), 0.2 / Animation_Speed) | |
| 2583 | LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, -0.3) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(-5), RAD(0), RAD(20)), 0.2 / Animation_Speed) | |
| 2584 | end | |
| 2585 | elseif TORSOVERTICALVELOCITY < -1 and HITFLOOR == nil then | |
| 2586 | ANIM = "Fall" | |
| 2587 | if ATTACK == false then | |
| 2588 | RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0, 0, 0 ) * ANGLES(RAD(15), RAD(0), RAD(0)), 1 / Animation_Speed) | |
| 2589 | Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0 , 0 + ((1) - 1)) * ANGLES(RAD(15), RAD(0), RAD(0)), 1 / Animation_Speed) | |
| 2590 | RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(35 - 4 * COS(SINE / 6)), RAD(0), RAD(45 + 10 * COS(SINE / 12))) * RIGHTSHOULDERC0, 1 / Animation_Speed) | |
| 2591 | LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(35 - 4 * COS(SINE / 6)), RAD(0), RAD(-45 - 10 * COS(SINE / 12))) * LEFTSHOULDERC0, 1 / Animation_Speed) | |
| 2592 | RightHip.C0 = Clerp(RightHip.C0, CF(1, -0.3, -0.7) * ANGLES(RAD(-25 + 5 * SIN(SINE / 12)), RAD(90), RAD(0)) * ANGLES(RAD(-1 * SIN(SINE / 6)), RAD(0), RAD(0)), 1 / Animation_Speed) | |
| 2593 | LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -0.8, -0.3) * ANGLES(RAD(-10), RAD(-80), RAD(0)) * ANGLES(RAD(-1 * SIN(SINE / 6)), RAD(0), RAD(0)), 1 / Animation_Speed) | |
| 2594 | end | |
| 2595 | elseif TORSOVELOCITY < 1 and HITFLOOR ~= nil then | |
| 2596 | ANIM = "Idle" | |
| 2597 | if ATTACK == false then | |
| 2598 | RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0 + 0.05 * COS(SINE / 12)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.15 / Animation_Speed) | |
| 2599 | Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(0 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 0.15 / Animation_Speed) | |
| 2600 | RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(12)) * RIGHTSHOULDERC0, 0.15 / Animation_Speed) | |
| 2601 | LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(-12)) * LEFTSHOULDERC0, 0.15 / Animation_Speed) | |
| 2602 | RightHip.C0 = Clerp(RightHip.C0, CF(1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.15 / Animation_Speed) | |
| 2603 | LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.15 / Animation_Speed) | |
| 2604 | end | |
| 2605 | elseif TORSOVELOCITY > 1 and HITFLOOR ~= nil then | |
| 2606 | ANIM = "Walk" | |
| 2607 | if ATTACK == false then | |
| 2608 | RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, -0.1) * ANGLES(RAD(15), RAD(0), RAD(0)), 1 / Animation_Speed) | |
| 2609 | Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, -0.025, 0 + ((1) - 1)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed) | |
| 2610 | RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(50 * COS(SINE / WALKSPEEDVALUE)), RAD(0), RAD(0)) * ANGLES(RAD(0), RAD(-15), RAD(0)) * RIGHTSHOULDERC0, 1 / Animation_Speed) | |
| 2611 | LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(-50 * COS(SINE / WALKSPEEDVALUE)), RAD(0), RAD(0)) * ANGLES(RAD(0), RAD(15), RAD(0)) * LEFTSHOULDERC0, 1 / Animation_Speed) | |
| 2612 | RightHip.C0 = Clerp(RightHip.C0, CF(1 , -1, 0) * ANGLES(RAD(0), RAD(85), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 2 / Animation_Speed) | |
| 2613 | LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, 0) * ANGLES(RAD(0), RAD(-85), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 2 / Animation_Speed) | |
| 2614 | end | |
| 2615 | end | |
| 2616 | for _, c in pairs(Character:GetChildren()) do | |
| 2617 | if c.ClassName == "CharacterMesh" or c.ClassName == "Accessory" or c.ClassName == "SelectionBox" or c.Name == "Body Colors" then | |
| 2618 | c:remove() | |
| 2619 | end | |
| 2620 | end | |
| 2621 | AntiTimeStop() | |
| 2622 | fix() | |
| 2623 | ||
| 2624 | Humanoid.MaxHealth = 10e10 | |
| 2625 | Humanoid.Health = 10e10 | |
| 2626 | ||
| 2627 | ||
| 2628 | ||
| 2629 | ||
| 2630 | if Rooted == false then | |
| 2631 | Disable_Jump = false | |
| 2632 | Humanoid.WalkSpeed = Speed | |
| 2633 | elseif Rooted == true then | |
| 2634 | Disable_Jump = true | |
| 2635 | Humanoid.WalkSpeed = 0 | |
| 2636 | end | |
| 2637 | ||
| 2638 | ||
| 2639 | --1383666704 | |
| 2640 | sick.SoundId = "rbxassetid://556122490" | |
| 2641 | sick.Looped = true | |
| 2642 | sick.Pitch = 1 | |
| 2643 | sick.Volume = 2 | |
| 2644 | sick.Parent = Effects | |
| 2645 | sick.Playing = PLAYSONG | |
| 2646 | Humanoid.PlatformStand = false | |
| 2647 | Humanoid.Name = "the god of shapes" | |
| 2648 | refit() | |
| 2649 | ||
| 2650 | for _, c in pairs(Character:GetChildren()) do | |
| 2651 | if c:IsA("BasePart") and ATTACK == false then
| |
| 2652 | for _, e in pairs(c:GetChildren()) do | |
| 2653 | if e:IsA("BodyPosition") or e:IsA("BodyGyro") or e:IsA("Decal") or e:IsA("ParticleEmitter") or e:IsA("Fire") or e:IsA("Smoke") or e:IsA("SelectionBox") or c.ClassName == "Accessory" or c.ClassName == "Hat" or c.Name == "Body Colors" or c.ClassName == "ShirtGraphic" or c.ClassName == "Shirt" or c.ClassName == "Pants" then
| |
| 2654 | e:remove() | |
| 2655 | end | |
| 2656 | end | |
| 2657 | end | |
| 2658 | end | |
| 2659 | end |