SHOW:
|
|
- or go back to the newest paste.
| 1 | - | Creater by XxXexe5 and 0bingo53442 |
| 1 | + | ----- CREATED BY XxXexe5 AND 0bingo53442 |
| 2 | ||
| 3 | plr = game.Players.LocalPlayer | |
| 4 | chr = plr.Character or plr.CharacterAdded:wait() | |
| 5 | mouse = plr:GetMouse() | |
| 6 | fire = Instance.new("Fire")
| |
| 7 | shield = Instance.new('Part')
| |
| 8 | shield.FormFactor = "Custom" | |
| 9 | shield.Size = Vector3.new(.2,.2,.2) | |
| 10 | shield.BottomSurface = "Smooth" | |
| 11 | shield.TopSurface = "Smooth" | |
| 12 | shield.Anchored = true | |
| 13 | shield.CanCollide = false | |
| 14 | shield.BrickColor = BrickColor.new(0,0,0) | |
| 15 | shield.Transparency = .5 | |
| 16 | mesh = Instance.new("SpecialMesh",shield)
| |
| 17 | mesh.MeshType = "Sphere" | |
| 18 | tele = Instance.new("Part")
| |
| 19 | tele.Anchored = true | |
| 20 | tele.Transparency = .5 | |
| 21 | tele.CanCollide = false | |
| 22 | cil = Instance.new("CylinderMesh",tele)
| |
| 23 | tele.BrickColor = BrickColor.new(1,1,1) | |
| 24 | tele.Size = Vector3.new(5,1,5) | |
| 25 | box = Instance.new("Part")
| |
| 26 | box.Transparency = .5 | |
| 27 | box.Anchored = true | |
| 28 | box.CanCollide = false | |
| 29 | box.FormFactor = Enum.FormFactor.Custom | |
| 30 | box.Size = Vector3.new(.2,.2,.2) | |
| 31 | box.TopSurface = Enum.SurfaceType.Smooth | |
| 32 | box.BottomSurface = Enum.SurfaceType.Smooth | |
| 33 | ||
| 34 | mouse.KeyDown:connect(function(key) | |
| 35 | if key == '' then | |
| 36 | if mouse.Target.Name == "Torso" or mouse.Target.Name == "Head" or mouse.Target.ClassName == "Part" then | |
| 37 | local clone = fire:Clone() | |
| 38 | clone.Parent = chr["Right Arm"] | |
| 39 | clone.Color = Color3.new(1,1,1) | |
| 40 | clone.SecondaryColor = clone.Color | |
| 41 | wait(2) | |
| 42 | clone:Destroy() | |
| 43 | local target = mouse.Target | |
| 44 | local victim = game.Players:GetPlayerFromCharacter(mouse.Target.Parent) | |
| 45 | victim.Character.Torso.Anchored = true | |
| 46 | while true do | |
| 47 | game:GetService('RunService').RenderStepped:wait()
| |
| 48 | victim.Character.HumanoidRootPart.CFrame = victim.Character.HumanoidRootPart.CFrame + Vector3.new(0,.1,0) | |
| 49 | end | |
| 50 | end | |
| 51 | elseif key == '' then | |
| 52 | if mouse.Target.Name == "Torso" or mouse.Target.Name == "Head" or mouse.Target.ClassName == "Part" then | |
| 53 | local clone = fire:Clone() | |
| 54 | clone.Parent = chr["Right Arm"] | |
| 55 | clone.Color = Color3.new(0.3333333333333333,0.6666666666666667,1) | |
| 56 | clone.SecondaryColor = clone.Color | |
| 57 | wait(2) | |
| 58 | clone:Destroy() | |
| 59 | local victim = game.Players:GetPlayerFromCharacter(mouse.Target.Parent) | |
| 60 | local children = victim.Character:GetChildren() | |
| 61 | victim.Character.Humanoid.WalkSpeed = 0 | |
| 62 | victim.Character.Torso.Anchored = true | |
| 63 | for i,v in pairs(children) do | |
| 64 | if v.ClassName == "Part" and v.Name ~= "HumanoidRootPart" then | |
| 65 | v.Anchored = true | |
| 66 | v.CanCollide = false | |
| 67 | for i = 0,1,.1 do | |
| 68 | wait() | |
| 69 | v.Transparency = i | |
| 70 | end | |
| 71 | end | |
| 72 | end | |
| 73 | end | |
| 74 | elseif key == '' then | |
| 75 | if mouse.Target.Name == "Torso" or mouse.Target.Name == "Head" or mouse.Target.ClassName == "Part" then | |
| 76 | local clone = fire:Clone() | |
| 77 | clone.Parent = chr["Right Arm"] | |
| 78 | clone.Color = Color3.new(1,0,0) | |
| 79 | clone.SecondaryColor = clone.Color | |
| 80 | wait(2) | |
| 81 | clone:Destroy() | |
| 82 | local explosion = Instance.new('Explosion',workspace)
| |
| 83 | explosion.Position = mouse.Target.Position | |
| 84 | end | |
| 85 | elseif key == '' then | |
| 86 | if mouse.Target.Name == "Torso" or mouse.Target.Name == "Head" or mouse.Target.ClassName == "Part" then | |
| 87 | local clone = fire:Clone() | |
| 88 | clone.Parent = chr["Right Arm"] | |
| 89 | clone.Color = Color3.new(0,1,0) | |
| 90 | clone.SecondaryColor = clone.Color | |
| 91 | wait(2) | |
| 92 | clone:Destroy() | |
| 93 | local victim = game.Players:GetPlayerFromCharacter(mouse.Target.Parent) | |
| 94 | local children = victim.Character:GetChildren() | |
| 95 | victim.Character.Humanoid.WalkSpeed = 0 | |
| 96 | victim.Character.Torso.Anchored = true | |
| 97 | for i,v in pairs(children) do | |
| 98 | if v.ClassName == "Part" and v.Name ~= "HumanoidRootPart" then | |
| 99 | wait(.25) | |
| 100 | v.BrickColor = BrickColor.Green() | |
| 101 | v.CanCollide = false | |
| 102 | v.Parent = workspace | |
| 103 | v.Anchored = false | |
| 104 | end | |
| 105 | end | |
| 106 | end | |
| 107 | elseif key == '' then | |
| 108 | if mouse.Target.Name == "Torso" or mouse.Target.Name == "Head" or mouse.Target.ClassName == "Part" then | |
| 109 | local clone = fire:Clone() | |
| 110 | clone.Parent = chr["Right Arm"] | |
| 111 | clone.Color = Color3.new(0,0,0) | |
| 112 | clone.SecondaryColor = clone.Color | |
| 113 | wait(2) | |
| 114 | clone:Destroy() | |
| 115 | local ball = shield:Clone() | |
| 116 | ball.Parent = workspace | |
| 117 | ||
| 118 | ball.Touched:connect(function(p) | |
| 119 | if p.Name ~= "Base" and p.Parent ~=chr or p.Name ~= "Base" and p.Parent.Parent ~= chr then | |
| 120 | p:Destroy() | |
| 121 | end | |
| 122 | end) | |
| 123 | ||
| 124 | while ball.Size.Y < 26 do | |
| 125 | game:GetService('RunService').RenderStepped:wait()
| |
| 126 | ball.Size = ball.Size + Vector3.new(.25,.25,.25) | |
| 127 | ball.CFrame = chr.Torso.CFrame | |
| 128 | end | |
| 129 | for i = .5,1,.05 do | |
| 130 | game:GetService('RunService').RenderStepped:wait()
| |
| 131 | ball.Transparency = i | |
| 132 | end | |
| 133 | ball:Destroy() | |
| 134 | end | |
| 135 | elseif key == '' then | |
| 136 | local dis = shield:Clone() | |
| 137 | local telep = tele:Clone() | |
| 138 | telep.Parent = workspace | |
| 139 | dis.Parent = workspace | |
| 140 | dis.BrickColor = BrickColor.new(1,1,1) | |
| 141 | for i = 1,25 do | |
| 142 | game:GetService('RunService').RenderStepped:wait()
| |
| 143 | dis.Size = dis.Size + Vector3.new(.35,.35,.35) | |
| 144 | dis.CFrame = chr.Torso.CFrame | |
| 145 | telep.Size = telep.Size + Vector3.new(0,5,0) | |
| 146 | telep.CFrame = chr.Torso.CFrame | |
| 147 | end | |
| 148 | for i = .5,1,.05 do | |
| 149 | game:GetService('RunService').RenderStepped:wait()
| |
| 150 | dis.Transparency = i | |
| 151 | telep.Transparency = i | |
| 152 | dis.CFrame = chr.Torso.CFrame | |
| 153 | telep.CFrame = chr.Torso.CFrame | |
| 154 | end | |
| 155 | dis:Destroy() | |
| 156 | telep:Destroy() | |
| 157 | chr:SetPrimaryPartCFrame(mouse.Hit+Vector3.new(0,20,0)) | |
| 158 | elseif | |
| 159 | key == '' then | |
| 160 | if mouse.Target.Name == "Torso" or mouse.Target.Name == "Head" or mouse.Target.ClassName == "Part" then | |
| 161 | local target = mouse.Target | |
| 162 | local clone = fire:Clone() | |
| 163 | clone.Parent = chr["Right Arm"] | |
| 164 | clone.Color = Color3.new(math.random(0,1),math.random(0,1),math.random(0,1)) | |
| 165 | clone.SecondaryColor = clone.Color | |
| 166 | wait(2) | |
| 167 | clone:Destroy() | |
| 168 | local boxB = box:Clone() | |
| 169 | boxB.Parent = target | |
| 170 | boxB.BrickColor = BrickColor.new(math.random(0,1),math.random(0,1),math.random(0,1)) | |
| 171 | local victim = game.Players:GetPlayerFromCharacter(mouse.Target.Parent).Character | |
| 172 | victim.Humanoid.WalkSpeed = 0 | |
| 173 | for i = .2,10,.2 do | |
| 174 | game:GetService('RunService').RenderStepped:wait()
| |
| 175 | boxB.Size = Vector3.new(i,i,i) | |
| 176 | boxB.CFrame = victim.Torso.CFrame | |
| 177 | end | |
| 178 | for i = .5,1,.025 do | |
| 179 | game:GetService('RunService').RenderStepped:wait()
| |
| 180 | boxB.Transparency = i | |
| 181 | end | |
| 182 | wait() | |
| 183 | boxB:Destroy() | |
| 184 | local children = victim:GetChildren() | |
| 185 | for i,v in pairs(children) do | |
| 186 | clone = fire:Clone() | |
| 187 | clone.Parent = v | |
| 188 | clone.Color = Color3.new(1,0,0) | |
| 189 | victim.Humanoid.Health = victim.Humanoid.Health - 10 | |
| 190 | if v.ClassName == "Part" then | |
| 191 | v.BrickColor = BrickColor.Red() | |
| 192 | end | |
| 193 | end | |
| 194 | end | |
| 195 | elseif key == '' then | |
| 196 | local clone = fire:Clone() | |
| 197 | clone.Parent = chr["Right Arm"] | |
| 198 | clone.Color = Color3.new(1,1,1) | |
| 199 | clone.SecondaryColor = clone.Color | |
| 200 | wait(.5) | |
| 201 | clone:Destroy() | |
| 202 | local sphere = shield:Clone() | |
| 203 | sphere.Parent = workspace | |
| 204 | sphere.Touched:connect(function(p) | |
| 205 | local debounce = false | |
| 206 | local h = p.Parent:FindFirstChild("Humanoid")
| |
| 207 | if h and h.Parent.Name ~= plr.Name and debounce == false then | |
| 208 | debounce = true | |
| 209 | local dis = shield:Clone() | |
| 210 | local telep = tele:Clone() | |
| 211 | telep.Parent = workspace | |
| 212 | dis.Parent = workspace | |
| 213 | dis.BrickColor = BrickColor.new(1,1,1) | |
| 214 | for i = 1,25 do | |
| 215 | game:GetService('RunService').RenderStepped:wait()
| |
| 216 | dis.Size = dis.Size + Vector3.new(.35,.35,.35) | |
| 217 | dis.CFrame = h.Parent.Torso.CFrame | |
| 218 | telep.Size = telep.Size + Vector3.new(0,5,0) | |
| 219 | telep.CFrame = h.Parent.Torso.CFrame | |
| 220 | end | |
| 221 | for i = .5,1,.05 do | |
| 222 | game:GetService('RunService').RenderStepped:wait()
| |
| 223 | dis.Transparency = i | |
| 224 | telep.Transparency = i | |
| 225 | dis.CFrame = h.Parent.Torso.CFrame | |
| 226 | telep.CFrame = h.Parent.Torso.CFrame | |
| 227 | end | |
| 228 | dis:Destroy() | |
| 229 | telep:Destroy() | |
| 230 | h.Parent:MoveTo(h.Parent.PrimaryPart.Position + Vector3.new(math.random(-50,50),20,math.random(-50,50))) | |
| 231 | wait(5) | |
| 232 | debounce = false | |
| 233 | end | |
| 234 | end) | |
| 235 | for i = .2,25,.5 do | |
| 236 | game:GetService('RunService').RenderStepped:wait()
| |
| 237 | sphere.Size = Vector3.new(i,i,i) | |
| 238 | sphere.CFrame = chr.Torso.CFrame | |
| 239 | end | |
| 240 | for i = .5,1,.05 do | |
| 241 | game:GetService('RunService').RenderStepped:wait()
| |
| 242 | sphere.Transparency = i | |
| 243 | end | |
| 244 | sphere:Destroy() | |
| 245 | elseif key == '' and mouse.Target.ClassName == "Part" then | |
| 246 | local target = mouse.Target | |
| 247 | local sword = tele:Clone() | |
| 248 | sword.FormFactor = "Custom" | |
| 249 | sword.BrickColor = BrickColor.new(0,0,0) | |
| 250 | sword.Parent = workspace | |
| 251 | sword.Size = Vector3.new(.2,.2,.2) | |
| 252 | local swordB = sword:Clone() | |
| 253 | swordB.Parent = workspace | |
| 254 | for i = 1,5,.2 do | |
| 255 | game:GetService('RunService').RenderStepped:wait()
| |
| 256 | sword.Size = Vector3.new(.2,i,.2) | |
| 257 | sword.CFrame = chr["Right Arm"].CFrame | |
| 258 | swordB.Size = Vector3.new(.2,i,.2) | |
| 259 | swordB.CFrame = chr["Left Arm"].CFrame | |
| 260 | end | |
| 261 | for i = 1,30 do | |
| 262 | game:GetService('RunService').RenderStepped:wait()
| |
| 263 | swordB.CFrame = chr["Left Arm"].CFrame | |
| 264 | sword.CFrame = chr["Right Arm"].CFrame | |
| 265 | end | |
| 266 | local swordC = sword:Clone() | |
| 267 | swordC.Parent = workspace | |
| 268 | sword.CFrame = target.CFrame + Vector3.new(0,10,0) | |
| 269 | for i = 3,7,.5 do | |
| 270 | game:GetService('RunService').RenderStepped:wait()
| |
| 271 | sword.Size = Vector3.new(.2,i,.2) | |
| 272 | sword.CFrame = target.CFrame + Vector3.new(0,10,0) | |
| 273 | swordB.CFrame = chr["Left Arm"].CFrame | |
| 274 | swordC.CFrame = chr["Right Arm"].CFrame | |
| 275 | end | |
| 276 | for i = 10,0,-.2 do | |
| 277 | game:GetService('RunService').RenderStepped:wait()
| |
| 278 | sword.Rotation = Vector3.new(0,0,0) | |
| 279 | sword.CFrame = target.CFrame + Vector3.new(0,i,0) | |
| 280 | sword.Rotation = Vector3.new(0,0,0) | |
| 281 | swordB.CFrame = chr["Left Arm"].CFrame | |
| 282 | swordC.CFrame = chr["Right Arm"].CFrame | |
| 283 | end | |
| 284 | if target.Parent.ClassName == "Hat" then | |
| 285 | target.Parent.Parent.Humanoid.Health = target.Parent.Parent.Humanoid.Health - 15 | |
| 286 | else | |
| 287 | target.Parent.Humanoid.Health = target.Parent.Humanoid.Health - 35 | |
| 288 | end | |
| 289 | for i = .5,1,.05 do | |
| 290 | game:GetService('RunService').RenderStepped:wait()
| |
| 291 | sword.Transparency = i | |
| 292 | swordB.Transparency = i | |
| 293 | swordC.Transparency = i | |
| 294 | end | |
| 295 | sword:Destroy() | |
| 296 | swordB:Destroy() | |
| 297 | swordC:Destroy() | |
| 298 | elseif key == '' and mouse.Target and mouse.Target.Parent.ClassName == "Model" and mouse.Target.ClassName == "Part" then | |
| 299 | local target = mouse.Target | |
| 300 | local children = target.Parent:GetChildren() | |
| 301 | for i,v in pairs(children) do | |
| 302 | v.BrickColor = BrickColor.new(1,0,0) | |
| 303 | local clone = fire:Clone() | |
| 304 | clone.Parent = v | |
| 305 | clone.Color = Color3.new(1,0,0) | |
| 306 | wait(.25) | |
| 307 | v:Destroy() | |
| 308 | end | |
| 309 | elseif key == 'x' and mouse.Target.ClassName == "Part" then | |
| 310 | local t = mouse.Target.Transparency | |
| 311 | for i = t,0.7,.02 do | |
| 312 | game:GetService('RunService').RenderStepped:wait()
| |
| 313 | mouse.Target.Transparency = i | |
| 314 | end | |
| 315 | mouse.Target:Destroy() | |
| 316 | elseif key == 'z' then | |
| 317 | local part = Instance.new("Part",workspace)
| |
| 318 | part.CFrame = CFrame.new(50,50,50) | |
| 319 | local bv = Instance.new("BodyVelocity",part)
| |
| 320 | Instance.new("CFrameValue",part)
| |
| 321 | local rotate = Instance.new("BodyAngularVelocity",part)
| |
| 322 | rotate.AngularVelocity = Vector3.new(math.random(3.5,7.5),math.random(3.5,7.5),math.random(3.5,7.5)) | |
| 323 | local cvalue = part:WaitForChild("Value")
| |
| 324 | part.Touched:connect(function(p) | |
| 325 | if p.Name == "Part" or p.Name == "Head" then | |
| 326 | for i = 0,1,.05 do | |
| 327 | game:GetService('RunService').RenderStepped:wait()
| |
| 328 | part.Transparency = i | |
| 329 | p.Transparency = i | |
| 330 | end | |
| 331 | p:Destroy() | |
| 332 | part:Destroy() | |
| 333 | elseif p.Name == "Baseplate" or p.Name == "Base" or p.Name == "BasePlate" then | |
| 334 | cvalue.Value = part.CFrame | |
| 335 | part.Anchored = true | |
| 336 | for i = 10,25,.5 do | |
| 337 | game:GetService('RunService').RenderStepped:wait()
| |
| 338 | part.Size = Vector3.new(i,i,i) | |
| 339 | part.CFrame = cvalue.Value | |
| 340 | end | |
| 341 | for i = 0,1.,.05 do | |
| 342 | game:GetService('RunService').RenderStepped:wait()
| |
| 343 | part.Transparency = i | |
| 344 | end | |
| 345 | part:Destroy() | |
| 346 | end | |
| 347 | end) | |
| 348 | part.Parent = chr | |
| 349 | part.BrickColor = BrickColor.new(193,1,1) | |
| 350 | part.Material = "Slate" | |
| 351 | part.Anchored = false | |
| 352 | part.CanCollide = false | |
| 353 | part.Name = "bomb" | |
| 354 | part.FormFactor = "Custom" | |
| 355 | part.Size = Vector3.new(.2,.2,.2) | |
| 356 | part.BottomSurface = "Smooth" | |
| 357 | part.TopSurface = "Smooth" | |
| 358 | local sbox = Instance.new("SelectionBox",part)
| |
| 359 | sbox.Adornee = part | |
| 360 | sbox.Color3 = Color3.new(0,0,0) | |
| 361 | sbox.LineThickness = 0.005 | |
| 362 | sbox.Transparency = .75 | |
| 363 | sbox.SurfaceColor3 = Color3.new(0,0,0) | |
| 364 | bv.MaxForce = Vector3.new(math.huge,math.huge,math.huge,math.huge) | |
| 365 | for i = 1,9 do | |
| 366 | wait() | |
| 367 | local clone = part:Clone() | |
| 368 | Instance.new("CFrameValue",clone)
| |
| 369 | local rotateB = Instance.new("BodyAngularVelocity",part)
| |
| 370 | rotateB.AngularVelocity = Vector3.new(math.random(5,15),math.random(5,15),math.random(5,15)) | |
| 371 | clone.CFrame = CFrame.new(100,100,100) | |
| 372 | local cvalueB = clone:WaitForChild("Value")
| |
| 373 | wait() | |
| 374 | clone.Parent = chr | |
| 375 | clone.Name = "bomb" | |
| 376 | clone.Touched:connect(function(p) | |
| 377 | if p.Name == "Part" or p.Name == "Head" then | |
| 378 | for i = 0,1,.05 do | |
| 379 | game:GetService('RunService').RenderStepped:wait()
| |
| 380 | clone.Transparency = i | |
| 381 | p.Transparency = i | |
| 382 | end | |
| 383 | p:Destroy() | |
| 384 | clone:Destroy() | |
| 385 | elseif p.Name == "Baseplate" or p.Name == "Base" or p.Name == "BasePlate" then | |
| 386 | cvalueB.Value = clone.CFrame | |
| 387 | clone.Anchored = true | |
| 388 | for i = 10,25,.5 do | |
| 389 | game:GetService('RunService').RenderStepped:wait()
| |
| 390 | clone.Size = Vector3.new(i,i,i) | |
| 391 | clone.CFrame = cvalueB.Value | |
| 392 | end | |
| 393 | for i = 0,1.,.05 do | |
| 394 | game:GetService('RunService').RenderStepped:wait()
| |
| 395 | clone.Transparency = i | |
| 396 | end | |
| 397 | clone:Destroy() | |
| 398 | end | |
| 399 | end) | |
| 400 | end | |
| 401 | local children = chr:GetChildren() | |
| 402 | for i,v in pairs(children) do | |
| 403 | if v.Name == "bomb" then | |
| 404 | for i = .2,10,.5 do | |
| 405 | game:GetService('RunService').RenderStepped:wait()
| |
| 406 | v.Size = Vector3.new(i,i,i) | |
| 407 | v.CFrame = chr.Torso.CFrame * CFrame.Angles(math.random(),math.pi,math.random()) + Vector3.new(0,20,0) | |
| 408 | end | |
| 409 | local bvB = v:WaitForChild("BodyVelocity")
| |
| 410 | bvB.Velocity = mouse.Hit.lookVector*200 | |
| 411 | end | |
| 412 | end | |
| 413 | elseif key == 'e' then | |
| 414 | local kill = Instance.new("Part")
| |
| 415 | local bv = Instance.new("BodyVelocity",kill)
| |
| 416 | bv.MaxForce = Vector3.new(math.huge,math.huge,math.huge) | |
| 417 | local rotate = Instance.new("BodyAngularVelocity",kill)
| |
| 418 | rotate.AngularVelocity = Vector3.new(math.random(10,20),math.random(10,20),math.random(10,20)) | |
| 419 | kill.CFrame = CFrame.new(50,50,50) | |
| 420 | kill.Touched:connect(function(p) | |
| 421 | if p.Name == "Head" and p.Parent ~= chr or p.Name == "Torso" and p.Parent ~= chr then | |
| 422 | p.Parent.Humanoid.Health = 0 | |
| 423 | p:Destroy() | |
| 424 | for i = 1,10 do | |
| 425 | game:GetService('RunService').RenderStepped:wait()
| |
| 426 | kill.Size = kill.Size - Vector3.new(.2,.2,.2) | |
| 427 | kill.Transparency = kill.Transparency - .1 | |
| 428 | end | |
| 429 | end | |
| 430 | end) | |
| 431 | kill.BrickColor = BrickColor.new(0,0,0) | |
| 432 | kill.Material = "Slate" | |
| 433 | kill.Anchored = false | |
| 434 | kill.CanCollide = false | |
| 435 | kill.FormFactor = "Custom" | |
| 436 | kill.Size = Vector3.new(1,1,1) | |
| 437 | kill.TopSurface = "Smooth" | |
| 438 | kill.BottomSurface = "Smooth" | |
| 439 | wait() | |
| 440 | local sbox = Instance.new("SelectionBox",kill)
| |
| 441 | sbox.Adornee = kill | |
| 442 | sbox.Color3 = Color3.new(1,1,1) | |
| 443 | sbox.LineThickness = .010 | |
| 444 | sbox.Transparency = .5 | |
| 445 | kill.Parent = workspace | |
| 446 | kill.CFrame = chr.Head.CFrame | |
| 447 | wait() | |
| 448 | kill.BodyVelocity.Velocity = mouse.Hit.lookVector*100 | |
| 449 | kill.ChildAdded:connect(function(c) | |
| 450 | for i = 0,1,.2 do | |
| 451 | game:GetService('RunService').RenderStepped:wait()
| |
| 452 | c.Transparency = i | |
| 453 | c.SelectionBox.Transparency = i | |
| 454 | end | |
| 455 | c:Destroy() | |
| 456 | end) | |
| 457 | while kill.Transparency == 0 do | |
| 458 | wait(.09) | |
| 459 | local clone = kill:Clone() | |
| 460 | clone.Anchored = true | |
| 461 | clone.Parent = kill | |
| 462 | clone.CFrame = kill.CFrame | |
| 463 | end | |
| 464 | end | |
| 465 | end) | |
| 466 | --=<=Abilitys above=>=-- | |
| 467 | ew = function(Object, Parent, Name, Data) | |
| 468 | local Object = Instance.new(Object) | |
| 469 | for Index, Value in pairs(Data or {}) do
| |
| 470 | Object[Index] = Value | |
| 471 | end | |
| 472 | Object.Parent = Parent | |
| 473 | Object.Name = Name | |
| 474 | return Object | |
| 475 | end | |
| 476 | ||
| 477 | local Player = game:GetService("Players").LocalPlayer
| |
| 478 | repeat wait(1) until Player.Character | |
| 479 | local Character = Player.Character | |
| 480 | Character.Animate.Disabled = true | |
| 481 | local la = Character:FindFirstChild("Left Arm")
| |
| 482 | local ra = Character:FindFirstChild("Right Arm")
| |
| 483 | local ll = Character:FindFirstChild("Left Leg")
| |
| 484 | local rl = Character:FindFirstChild("Right Leg")
| |
| 485 | local Torso = Character:FindFirstChild("Torso")
| |
| 486 | z = Instance.new("Sound", Torso)
| |
| 487 | z.SoundId = "rbxassetid://182096702" -- Put Music ID Here. | |
| 488 | z.Looped = true | |
| 489 | z.Volume = 10 | |
| 490 | wait(.1) | |
| 491 | z:Play() | |
| 492 | local Humanoid = Character:findFirstChild("Humanoid")
| |
| 493 | local Mouse = Player:GetMouse() | |
| 494 | Character.Animate.Disabled = true | |
| 495 | Character.Sound:Destroy() | |
| 496 | Humanoid.Animator:Destroy() | |
| 497 | ||
| 498 | local LimbAccess = {LA=true,RA=true,LL=true,RL=true,RJ=true,NJ=true,Weapon=true}
| |
| 499 | local State = "Lounge" | |
| 500 | local Active = true | |
| 501 | local Mode = "Staff" | |
| 502 | function Lerp(a,b,i) -- A = First pos, B = Second Pos, i = Speed | |
| 503 | return a:lerp(b,i) | |
| 504 | end | |
| 505 | Left_Arm = Instance.new("Weld",Torso)
| |
| 506 | Left_Arm.Part0 = Torso | |
| 507 | Left_Arm.Part1 = la | |
| 508 | Left_Arm.Name = "LeftArmJ" | |
| 509 | Left_Arm.C0 = CFrame.new(-1.5,0.5,0) | |
| 510 | Left_Arm.C1 = CFrame.new(0,0.5,0) | |
| 511 | Right_Arm = Instance.new("Weld",Torso)
| |
| 512 | Right_Arm.Part0 = Torso | |
| 513 | Right_Arm.Part1 = ra | |
| 514 | Right_Arm.Name = "RightArmJ" | |
| 515 | Right_Arm.C0 = CFrame.new(1.5,0.5,0) | |
| 516 | Right_Arm.C1 = CFrame.new(0,0.5,0) | |
| 517 | Left_Leg = Instance.new("Weld",Torso)
| |
| 518 | Left_Leg.Part0 = Torso | |
| 519 | Left_Leg.Part1 = ll | |
| 520 | Left_Leg.Name = "LeftLegJ" | |
| 521 | Left_Leg.C0 = CFrame.new(-0.5,-1,0) | |
| 522 | Left_Leg.C1 = CFrame.new(0,1,0) | |
| 523 | Right_Leg = Instance.new("Weld",Torso)
| |
| 524 | Right_Leg.Name = "RightLegJ" | |
| 525 | Right_Leg.Part0 = Torso | |
| 526 | Right_Leg.Part1 = rl | |
| 527 | Right_Leg.C0 = CFrame.new(0.5,-1,0) | |
| 528 | Right_Leg.C1 = CFrame.new(0,1,0) | |
| 529 | Staffw = Instance.new("Weld",Torso)
| |
| 530 | Staffw.Part0 = Torso | |
| 531 | Staffw.Part1 = Handle | |
| 532 | Staffw.Name = "StaffJoint" | |
| 533 | ||
| 534 | local RootJoint = Instance.new("Weld",Character["HumanoidRootPart"])
| |
| 535 | RootJoint.Name = "RootJ" | |
| 536 | RootJoint.Part0 = Character["HumanoidRootPart"] | |
| 537 | RootJoint.Part1 = Torso | |
| 538 | ||
| 539 | local NeckJ = Instance.new("Weld",Torso)
| |
| 540 | NeckJ.Name = "NeckJ" | |
| 541 | NeckJ.Part0 = Torso | |
| 542 | NeckJ.Part1 = Character.Head | |
| 543 | NeckJ.C1 = CFrame.new(0,-1.5,0) | |
| 544 | ||
| 545 | function Change() | |
| 546 | ||
| 547 | end | |
| 548 | _G.MoveCheck1 = false | |
| 549 | _G.SatanState = false | |
| 550 | ||
| 551 | function SpellBinder(SpellID) | |
| 552 | if _G.MoveCheck1 == false then | |
| 553 | _G.MoveCheck1 = true | |
| 554 | if _G.SatanState == false then | |
| 555 | _G.SatanState = true | |
| 556 | ||
| 557 | ID = 357442018 | |
| 558 | _G.SpellBindStuff = 0 | |
| 559 | _G.SpellBind = game:GetObjects("rbxassetid://437368177")[1]
| |
| 560 | _G.SpellBind.Decal.Texture = "rbxassetid://" .. SpellID | |
| 561 | _G.SpellBind.Decal1.Texture = "rbxassetid://" .. SpellID | |
| 562 | _G.SpellBind.Parent = game.Players.LocalPlayer.Character | |
| 563 | _G.SpellBind.CFrame = game.Players.LocalPlayer.Character.Torso.CFrame - game.Players.LocalPlayer.Character.Torso.CFrame.lookVector * 35 | |
| 564 | _G.SpellBind.CFrame = CFrame.new(_G.SpellBind.Position, game.Players.LocalPlayer.Character.Torso.Position)* CFrame.Angles(1.6,0,0) | |
| 565 | _G.SpellBind.ParticleEmitter.Color = ColorSequence.new(Color3.new(255,0,0)) | |
| 566 | _G.SpellBind.ParticleEmitter.Size = NumberSequence.new(5) | |
| 567 | ||
| 568 | _G.UnsealEnforca = game:GetService("RunService").RenderStepped:connect(function()
| |
| 569 | _G.SpellBind.CFrame = game.Players.LocalPlayer.Character.Torso.CFrame + game.Players.LocalPlayer.Character.Torso.CFrame.lookVector * 35 | |
| 570 | _G.SpellBind.CFrame = CFrame.new(_G.SpellBind.Position, game.Players.LocalPlayer.Character.Torso.Position)* CFrame.Angles(1.6,_G.SpellBindStuff,0) | |
| 571 | _G.SpellBindStuff = _G.SpellBindStuff + 0.012 | |
| 572 | end) | |
| 573 | ||
| 574 | ||
| 575 | for i = 1, 117 do | |
| 576 | _G.SpellBind.Size = _G.SpellBind.Size + Vector3.new(0.50,0,0.50) | |
| 577 | wait(0.07) | |
| 578 | end | |
| 579 | ||
| 580 | ||
| 581 | wait(0.1) | |
| 582 | ||
| 583 | _G.chatcustom("You shall not pass!", "Really red", game.Players.LocalPlayer)
| |
| 584 | _G.MoveCheck1 = false | |
| 585 | else | |
| 586 | _G.MoveCheck1 = true | |
| 587 | wait(0.6) | |
| 588 | ||
| 589 | for i = 1, 117 do | |
| 590 | _G.SpellBind.Size = _G.SpellBind.Size - Vector3.new(0.50,0,0.50) | |
| 591 | wait(0.07) | |
| 592 | end | |
| 593 | ||
| 594 | ||
| 595 | _G.UnsealEnforca:disconnect() | |
| 596 | _G.SpellBind.Parent = _G.newParent | |
| 597 | wait(0.1) | |
| 598 | _G.SatanState = false | |
| 599 | _G.MoveCheck1 = false | |
| 600 | end | |
| 601 | end | |
| 602 | end | |
| 603 | ||
| 604 | ||
| 605 | ||
| 606 | _G.ConnectionAgent = Mouse.KeyDown:connect(function(key) | |
| 607 | if key == "q" and State == "Flying" and Active == true then | |
| 608 | State = "Lounge" | |
| 609 | Humanoid.WalkSpeed = 30 | |
| 610 | elseif key == "q" and State == "Lounge" and Active == true then | |
| 611 | State = "Flying" | |
| 612 | Humanoid.WalkSpeed = 20 | |
| 613 | elseif key == "q" and State == "Battle" and Active == true then | |
| 614 | State = "Flying" | |
| 615 | Humanoid.WalkSpeed = 50 | |
| 616 | elseif key == "e" and State == "Battle" and Active == true then | |
| 617 | SpellBinder(375165574) | |
| 618 | elseif key == "e" and Active == true then | |
| 619 | --[[ | |
| 620 | Humanoid.WalkSpeed = 0 | |
| 621 | State = "Changing" | |
| 622 | Mode = "Changing" | |
| 623 | Active = false | |
| 624 | Change() | |
| 625 | --]] | |
| 626 | end | |
| 627 | end) | |
| 628 | ||
| 629 | Player.Character.Humanoid.Died:connect(function() | |
| 630 | _G.ConnectionAgent:disconnect() | |
| 631 | end) | |
| 632 | ||
| 633 | angle = 0 | |
| 634 | angle2 = 0 | |
| 635 | angle3 = 0 | |
| 636 | anglespeed = 2 | |
| 637 | anglespeed2 = 1 | |
| 638 | anglespeed3 = .4 | |
| 639 | game:GetService("RunService").Stepped:connect(function()
| |
| 640 | angle = ((angle % 100) + anglespeed/10) | |
| 641 | angle2 = ((angle2 % 100) + anglespeed2/10) | |
| 642 | angle3 = ((angle3 % 100) + anglespeed3/10) --it'll go from 0 to 100 and repeat in a loop. basically it will get to its destination and back --ok | |
| 643 | if Vector3.new(Torso.Velocity.x,0,Torso.Velocity.z).magnitude < 2 and State == "Flying" then -- idle | |
| 644 | if not Humanoid.WalkSpeed == 50 then | |
| 645 | Humanoid.WalkSpeed = 50 | |
| 646 | end | |
| 647 | if LimbAccess.RJ then | |
| 648 | RootJoint.C0 = Lerp(RootJoint.C0,CFrame.new(-.5,.5+math.sin(angle2)*.1,0)*CFrame.Angles(math.sin(angle3)*.02,math.rad(90),0),.2) | |
| 649 | end | |
| 650 | if LimbAccess.LA then | |
| 651 | Left_Arm.C0 = Lerp(Left_Arm.C0,CFrame.new(-1.2,0.35,0)*CFrame.Angles(math.rad(-25)+math.sin(angle3)*.06,0+math.sin(angle3)*.06,math.rad(0)+math.sin(angle3)*.06),.1) | |
| 652 | end | |
| 653 | if LimbAccess.NJ then | |
| 654 | NeckJ.C0 = Lerp(NeckJ.C0,CFrame.new(0,0,0)*CFrame.Angles(math.sin(-angle3)*.04,math.rad(-45)+(math.sin(-angle3)*.04),0),.25) | |
| 655 | end | |
| 656 | if LimbAccess.RA then | |
| 657 | Right_Arm.C0 = Lerp(Right_Arm.C0,CFrame.new(1.5,0.5,0)*CFrame.Angles(math.rad(-25)+math.sin(angle3)*.06,0+math.sin(angle3)*.06,math.rad(-5)+math.sin(angle3)*.06),.1) | |
| 658 | end | |
| 659 | if LimbAccess.LL then | |
| 660 | Left_Leg.C0 = Lerp(Left_Leg.C0,CFrame.new(-0.5,(math.sin(angle3)*.1)-.6,-.2)*CFrame.Angles(math.rad(35)+(math.sin(angle3)*.1),0,math.rad(-5)),.1) | |
| 661 | end | |
| 662 | if LimbAccess.RL then | |
| 663 | Right_Leg.C0 = Lerp(Right_Leg.C0,CFrame.new(0.5,(math.sin(angle3)*.1)-.7,-.1)*CFrame.Angles(math.rad(45)+(math.sin(angle3)*.1),0,math.rad(5)),.1) | |
| 664 | end | |
| 665 | if LimbAccess.Weapon then | |
| 666 | Staffw.C0 = Lerp(Staffw.C0,CFrame.new(0,-1,0),.2) | |
| 667 | Staffw.C1 = Lerp(Staffw.C1,CFrame.new(0,0,-.4)*CFrame.Angles(math.rad(180),math.rad(180),0),.2) | |
| 668 | end | |
| 669 | elseif Vector3.new(Torso.Velocity.x,0,Torso.Velocity.z).magnitude > 2 and State == "Flying" then -- walk | |
| 670 | if LimbAccess.RJ then | |
| 671 | RootJoint.C0 = Lerp(RootJoint.C0,CFrame.new(-.5,.5+math.sin(angle2)*.1,0)*CFrame.Angles(math.sin(angle3)*.02,math.rad(90),0),.2) | |
| 672 | end | |
| 673 | if LimbAccess.LA then | |
| 674 | Left_Arm.C0 = Lerp(Left_Arm.C0,CFrame.new(-1.2,0.35,0)*CFrame.Angles(math.rad(-25)+math.sin(angle3)*.06,0+math.sin(angle3)*.06,math.rad(7)+math.sin(angle3)*.06),.1) | |
| 675 | end | |
| 676 | if LimbAccess.NJ then | |
| 677 | NeckJ.C0 = Lerp(NeckJ.C0,CFrame.new(0,0,0)*CFrame.Angles(math.sin(-angle3)*.04,math.rad(-45)+(math.sin(-angle3)*.04),0),.25) | |
| 678 | end | |
| 679 | if LimbAccess.RA then | |
| 680 | Right_Arm.C0 = Lerp(Right_Arm.C0,CFrame.new(1.5,0.5,0)*CFrame.Angles(math.rad(-25)+math.sin(angle3)*.06,0+math.sin(angle3)*.06,math.rad(-5)+math.sin(angle3)*.06),.1) | |
| 681 | end | |
| 682 | if LimbAccess.LL then | |
| 683 | Left_Leg.C0 = Lerp(Left_Leg.C0,CFrame.new(-0.5,(math.sin(angle3)*.1)-.6,-.2)*CFrame.Angles(math.rad(35)+(math.sin(angle3)*.1),0,math.rad(-5)),.1) | |
| 684 | end | |
| 685 | if LimbAccess.RL then | |
| 686 | Right_Leg.C0 = Lerp(Right_Leg.C0,CFrame.new(0.5,(math.sin(angle3)*.1)-.7,-.1)*CFrame.Angles(math.rad(45)+(math.sin(angle3)*.1),0,math.rad(5)),.1) | |
| 687 | end | |
| 688 | if LimbAccess.Weapon then | |
| 689 | Staffw.C0 = Lerp(Staffw.C0,CFrame.new(0,-1,0),.2) | |
| 690 | Staffw.C1 = Lerp(Staffw.C1,CFrame.new(0,0,-.4)*CFrame.Angles(math.rad(180),math.rad(180),0),.2) | |
| 691 | end | |
| 692 | end | |
| 693 | if Vector3.new(Torso.Velocity.x,0,Torso.Velocity.z).magnitude < 2 and State == "Lounge" then -- idle | |
| 694 | if not Humanoid.WalkSpeed == 30 then | |
| 695 | Humanoid.WalkSpeed = 30 | |
| 696 | end | |
| 697 | if LimbAccess.RJ then | |
| 698 | RootJoint.C0 = Lerp(RootJoint.C0,CFrame.new(-.5,0,0)*CFrame.Angles(math.sin(angle3)*.02,math.rad(0),0),.2) | |
| 699 | end | |
| 700 | if LimbAccess.LA then | |
| 701 | Left_Arm.C0 = Lerp(Left_Arm.C0,CFrame.new(-1.5,0.5,0)*CFrame.Angles(math.rad(5)+math.sin(angle3)*.06,0+math.sin(angle3)*.06,math.rad(-3)+math.sin(angle3)*.06),.1) | |
| 702 | end | |
| 703 | if LimbAccess.NJ then | |
| 704 | NeckJ.C0 = Lerp(NeckJ.C0,CFrame.new(0,0,0)*CFrame.Angles(math.sin(-angle3)*.04,math.rad(0)+(math.sin(-angle3)*.04),0),.25) | |
| 705 | end | |
| 706 | if LimbAccess.RA then | |
| 707 | Right_Arm.C0 = Lerp(Right_Arm.C0,CFrame.new(1.5,0.5,0)*CFrame.Angles(math.rad(5)+(math.sin(angle3)*.1),math.rad(0),math.rad(3)),.1) | |
| 708 | end | |
| 709 | if LimbAccess.LL then | |
| 710 | Left_Leg.C0 = Lerp(Left_Leg.C0,CFrame.new(-0.5,-1,0)*CFrame.Angles(0,0,math.rad(-5)+math.sin(angle3)*.02),.1) | |
| 711 | end | |
| 712 | if LimbAccess.RL then | |
| 713 | Right_Leg.C0 = Lerp(Right_Leg.C0,CFrame.new(0.5,-1,0)*CFrame.Angles(0,0,math.rad(15)+math.sin(angle3)*-.02),.1) | |
| 714 | end | |
| 715 | if LimbAccess.Weapon then | |
| 716 | Staffw.C0 = Lerp(Staffw.C0,CFrame.new(0,0,.5),.2) | |
| 717 | Staffw.C1 = Lerp(Staffw.C1,CFrame.new(0,0,0)*CFrame.Angles(math.rad(180),math.rad(180),math.rad(-45)),.2) | |
| 718 | end | |
| 719 | elseif Vector3.new(Torso.Velocity.x,0,Torso.Velocity.z).magnitude > 2 and State == "Lounge" then -- walk | |
| 720 | if LimbAccess.RJ then | |
| 721 | RootJoint.C0 = Lerp(RootJoint.C0,CFrame.new(-.2,math.sin(angle2)*.1,0)*CFrame.Angles(0,math.rad(0),0),.2) | |
| 722 | end | |
| 723 | if LimbAccess.LA then | |
| 724 | Left_Arm.C0 = Lerp(Left_Arm.C0,CFrame.new(-1.5,0.5,0)*CFrame.Angles(math.rad(5)+math.sin(angle3)*.06,0+math.sin(angle3)*.06,math.rad(-23)+math.sin(angle3)*.06),.1) | |
| 725 | end | |
| 726 | if LimbAccess.NJ then | |
| 727 | NeckJ.C0 = Lerp(NeckJ.C0,CFrame.new(0,0,0)*CFrame.Angles(math.sin(-angle3)*.04,math.rad(0)+(math.sin(-angle3)*.04),0),.25) | |
| 728 | end | |
| 729 | if LimbAccess.RA then | |
| 730 | Right_Arm.C0 = Lerp(Right_Arm.C0,CFrame.new(1.5,0.5,0)*CFrame.Angles(math.rad(5)+(math.sin(angle3)*.1),math.rad(0),math.rad(23)),.1) | |
| 731 | end | |
| 732 | if LimbAccess.LL then | |
| 733 | Left_Leg.C0 = Lerp(Left_Leg.C0,CFrame.new(-0.5,(math.sin(angle3)*.1)-.6,-.2)*CFrame.Angles(math.rad(-15)+(math.sin(angle3)*.1),0,math.rad(-5)),.1) | |
| 734 | end | |
| 735 | if LimbAccess.RL then | |
| 736 | Right_Leg.C0 = Lerp(Right_Leg.C0,CFrame.new(0.5,(math.sin(angle3)*.1)-.7,-.1)*CFrame.Angles(math.rad(-15)+(math.sin(angle3)*.1),0,math.rad(5)),.1) | |
| 737 | end | |
| 738 | if LimbAccess.Weapon then | |
| 739 | Staffw.C0 = Lerp(Staffw.C0,CFrame.new(0,0,.5),.2) | |
| 740 | Staffw.C1 = Lerp(Staffw.C1,CFrame.new(0,0,0)*CFrame.Angles(math.rad(180),math.rad(180),math.rad(-45)),.2) | |
| 741 | end | |
| 742 | end | |
| 743 | if Vector3.new(Torso.Velocity.x,0,Torso.Velocity.z).magnitude < 2 and State == "Battle" then -- idle | |
| 744 | if not Humanoid.WalkSpeed == 20 then | |
| 745 | Humanoid.WalkSpeed = 20 | |
| 746 | end | |
| 747 | if LimbAccess.RJ then | |
| 748 | RootJoint.C0 = Lerp(RootJoint.C0,CFrame.new(-.5,.5+math.sin(angle2)*.1,0)*CFrame.Angles(math.sin(angle3)*.02,math.rad(0),0),.2) | |
| 749 | end | |
| 750 | if LimbAccess.LA then | |
| 751 | Left_Arm.C0 = Lerp(Left_Arm.C0,CFrame.new(-1.1,0.5,-.7)*CFrame.Angles(math.rad(5),math.rad(-135),math.rad(-90)),.1) | |
| 752 | end | |
| 753 | if LimbAccess.NJ then | |
| 754 | NeckJ.C0 = Lerp(NeckJ.C0,CFrame.new(0,0,0)*CFrame.Angles(math.sin(-angle3)*.04,math.rad(0)+(math.sin(-angle3)*.04),0),.25) | |
| 755 | end | |
| 756 | if LimbAccess.RA then | |
| 757 | Right_Arm.C0 = Lerp(Right_Arm.C0,CFrame.new(1.1,0.5,-.7)*CFrame.Angles(math.rad(5),math.rad(135),math.rad(90)),.1) | |
| 758 | end | |
| 759 | if LimbAccess.LL then | |
| 760 | Left_Leg.C0 = Lerp(Left_Leg.C0,CFrame.new(-0.5,-1,0)*CFrame.Angles(0,0,math.rad(-5)+math.sin(angle3)*.02),.1) | |
| 761 | end | |
| 762 | if LimbAccess.RL then | |
| 763 | Right_Leg.C0 = Lerp(Right_Leg.C0,CFrame.new(0.5,-1,0)*CFrame.Angles(0,0,math.rad(5)+math.sin(angle3)*-.02),.1) | |
| 764 | end | |
| 765 | if LimbAccess.Weapon then | |
| 766 | Staffw.C0 = Lerp(Staffw.C0,CFrame.new(0,-.5,-1),.2) | |
| 767 | Staffw.C1 = Lerp(Staffw.C1,CFrame.new(0,.6,0)*CFrame.Angles(math.rad(90),math.rad(180),math.rad(-90)),.2) | |
| 768 | end | |
| 769 | elseif Vector3.new(Torso.Velocity.x,0,Torso.Velocity.z).magnitude > 2 and State == "Battle" then -- walk | |
| 770 | if LimbAccess.RJ then | |
| 771 | RootJoint.C0 = Lerp(RootJoint.C0,CFrame.new(-.2,.5+math.sin(angle2)*.1,0)*CFrame.Angles(0,math.rad(0),0),.2) | |
| 772 | end | |
| 773 | if LimbAccess.LA then | |
| 774 | Left_Arm.C0 = Lerp(Left_Arm.C0,CFrame.new(-.9,0.6,-.8)*CFrame.Angles(math.rad(5),math.rad(-135),math.rad(-90)),.1) | |
| 775 | end | |
| 776 | if LimbAccess.NJ then | |
| 777 | NeckJ.C0 = Lerp(NeckJ.C0,CFrame.new(0,0,0)*CFrame.Angles(math.sin(-angle3)*.04,math.rad(0)+(math.sin(-angle3)*.04),0),.25) | |
| 778 | end | |
| 779 | if LimbAccess.RA then | |
| 780 | Right_Arm.C0 = Lerp(Right_Arm.C0,CFrame.new(1.1,0.4,-.3)*CFrame.Angles(math.rad(5),math.rad(135),math.rad(90)),.1) | |
| 781 | end | |
| 782 | if LimbAccess.LL then | |
| 783 | Left_Leg.C0 = Lerp(Left_Leg.C0,CFrame.new(-0.5,(math.sin(angle3)*.1)-.7,-.2)*CFrame.Angles(math.rad(-15)+(math.sin(angle3)*.1),0,math.rad(-5)),.1) | |
| 784 | end | |
| 785 | if LimbAccess.RL then | |
| 786 | Right_Leg.C0 = Lerp(Right_Leg.C0,CFrame.new(0.5,(math.sin(angle3)*.1)-.7,-.1)*CFrame.Angles(math.rad(-15)+(math.sin(angle3)*.1),0,math.rad(5)),.1) | |
| 787 | end | |
| 788 | if LimbAccess.Weapon then | |
| 789 | Staffw.C0 = Lerp(Staffw.C0,CFrame.new(.4,.5,-1),.2) | |
| 790 | Staffw.C1 = Lerp(Staffw.C1,CFrame.new(0,.1,0)*CFrame.Angles(math.rad(135),math.rad(120),math.rad(-135)),.2) | |
| 791 | end | |
| 792 | end | |
| 793 | if Vector3.new(Torso.Velocity.x,0,Torso.Velocity.z).magnitude < 2 and State == "Changing" then -- idle | |
| 794 | if LimbAccess.RJ then | |
| 795 | RootJoint.C0 = Lerp(RootJoint.C0,CFrame.new(-.5,.5+math.sin(angle2)*.1,0)*CFrame.Angles(math.sin(angle3)*.02,math.rad(0),0),.2) | |
| 796 | end | |
| 797 | if LimbAccess.LA then | |
| 798 | Left_Arm.C0 = Lerp(Left_Arm.C0,CFrame.new(-1.3,0.51,-.7)*CFrame.Angles(math.rad(5),math.rad(-165),math.rad(-90)),.1) | |
| 799 | end | |
| 800 | if LimbAccess.NJ then | |
| 801 | NeckJ.C0 = Lerp(NeckJ.C0,CFrame.new(0,0,0)*CFrame.Angles(math.rad(-10),math.rad(0)+(math.sin(-angle3)*.04),0),.25) | |
| 802 | end | |
| 803 | if LimbAccess.RA then | |
| 804 | Right_Arm.C0 = Lerp(Right_Arm.C0,CFrame.new(1.3,0.49,-.7)*CFrame.Angles(math.rad(5),math.rad(165),math.rad(90)),.1) | |
| 805 | end | |
| 806 | if LimbAccess.LL then | |
| 807 | Left_Leg.C0 = Lerp(Left_Leg.C0,CFrame.new(-1,-1,-.4)*CFrame.Angles(0,math.rad(25),math.rad(75)),.1) | |
| 808 | end | |
| 809 | if LimbAccess.RL then | |
| 810 | Right_Leg.C0 = Lerp(Right_Leg.C0,CFrame.new(1,-1,-.4)*CFrame.Angles(0,math.rad(-25),math.rad(-75)),.1) | |
| 811 | end | |
| 812 | end | |
| 813 | end) | |
| 814 | ||
| 815 | Player = game:GetService("Players").LocalPlayer
| |
| 816 | Cha = Player.Character | |
| 817 | rarm=Cha["Right Arm"] | |
| 818 | larm=Cha["Left Arm"] | |
| 819 | rar=Cha["Right Leg"] | |
| 820 | lar=Cha["Left Leg"] | |
| 821 | ||
| 822 | Handle = Instance.new("Part",Cha)
| |
| 823 | Handle.TopSurface = "Smooth" | |
| 824 | Handle.BottomSurface = "Smooth" | |
| 825 | Handle.Size = Vector3.new(1,1,1) | |
| 826 | Handle.CanCollide = false | |
| 827 | Handle.Transparency = 0 | |
| 828 | Handle.BrickColor = BrickColor.new("Crimson")
| |
| 829 | HandleMesh = Instance.new("SpecialMesh", Handle)
| |
| 830 | HandleMesh.MeshType = "Brick" | |
| 831 | HandleMesh.Scale = Vector3.new(1.01,0.5,1.01) | |
| 832 | HandleWeld = Instance.new("Weld",Cha)
| |
| 833 | HandleWeld.Part0 = rarm | |
| 834 | HandleWeld.Part1 = Handle | |
| 835 | HandleWeld.C1 = CFrame.new(0, 0.4, 0) | |
| 836 | ||
| 837 | ||
| 838 | Hand = Instance.new("Part",Cha)
| |
| 839 | Hand.TopSurface = "Smooth" | |
| 840 | Hand.BottomSurface = "Smooth" | |
| 841 | Hand.Size = Vector3.new(1,1,1) | |
| 842 | Hand.CanCollide = false | |
| 843 | Hand.Transparency = 0 | |
| 844 | Hand.BrickColor = BrickColor.new("Royal purple")
| |
| 845 | HandMesh = Instance.new("SpecialMesh", Hand)
| |
| 846 | HandMesh.MeshType = "Brick" | |
| 847 | HandMesh.Scale = Vector3.new(1.02,0.1,1.02) | |
| 848 | HandWeld = Instance.new("Weld",Cha)
| |
| 849 | HandWeld.Part0 = rarm | |
| 850 | HandWeld.Part1 = Hand | |
| 851 | HandWeld.C1 = CFrame.new(0, 0.4, 0) | |
| 852 | ||
| 853 | Handle = Instance.new("Part",Cha)
| |
| 854 | Handle.TopSurface = "Smooth" | |
| 855 | Handle.BottomSurface = "Smooth" | |
| 856 | Handle.Size = Vector3.new(1,1,1) | |
| 857 | Handle.CanCollide = false | |
| 858 | Handle.Transparency = 0 | |
| 859 | Handle.BrickColor = BrickColor.new("Crimson")
| |
| 860 | HandleMesh = Instance.new("SpecialMesh", Handle)
| |
| 861 | HandleMesh.MeshType = "Brick" | |
| 862 | HandleMesh.Scale = Vector3.new(1.01,0.5,1.01) | |
| 863 | HandleWeld = Instance.new("Weld",Cha)
| |
| 864 | HandleWeld.Part0 = larm | |
| 865 | HandleWeld.Part1 = Handle | |
| 866 | HandleWeld.C1 = CFrame.new(0, 0.4, 0) | |
| 867 | ||
| 868 | ||
| 869 | Hand = Instance.new("Part",Cha)
| |
| 870 | Hand.TopSurface = "Smooth" | |
| 871 | Hand.BottomSurface = "Smooth" | |
| 872 | Hand.Size = Vector3.new(1,1,1) | |
| 873 | Hand.CanCollide = false | |
| 874 | Hand.Transparency = 0 | |
| 875 | Hand.BrickColor = BrickColor.new("Royal purple")
| |
| 876 | HandMesh = Instance.new("SpecialMesh", Hand)
| |
| 877 | HandMesh.MeshType = "Brick" | |
| 878 | HandMesh.Scale = Vector3.new(1.02,0.1,1.02) | |
| 879 | HandWeld = Instance.new("Weld",Cha)
| |
| 880 | HandWeld.Part0 = larm | |
| 881 | HandWeld.Part1 = Hand | |
| 882 | HandWeld.C1 = CFrame.new(0, 0.4, 0) | |
| 883 | ||
| 884 | Handle = Instance.new("Part",Cha)
| |
| 885 | Handle.TopSurface = "Smooth" | |
| 886 | Handle.BottomSurface = "Smooth" | |
| 887 | Handle.Size = Vector3.new(1,1,1) | |
| 888 | Handle.CanCollide = false | |
| 889 | Handle.Transparency = 0 | |
| 890 | Handle.BrickColor = BrickColor.new("Crimson")
| |
| 891 | HandleMesh = Instance.new("SpecialMesh", Handle)
| |
| 892 | HandleMesh.MeshType = "Brick" | |
| 893 | HandleMesh.Scale = Vector3.new(1.01,0.5,1.01) | |
| 894 | HandleWeld = Instance.new("Weld",Cha)
| |
| 895 | HandleWeld.Part0 = larm | |
| 896 | HandleWeld.Part1 = Handle | |
| 897 | HandleWeld.C1 = CFrame.new(0, 0.2, 0) | |
| 898 | ||
| 899 | ||
| 900 | Hand = Instance.new("Part",Cha)
| |
| 901 | Hand.TopSurface = "Smooth" | |
| 902 | Hand.BottomSurface = "Smooth" | |
| 903 | Hand.Size = Vector3.new(1,1,1) | |
| 904 | Hand.CanCollide = false | |
| 905 | Hand.Transparency = 0 | |
| 906 | Hand.BrickColor = BrickColor.new("Bright green")
| |
| 907 | HandMesh = Instance.new("SpecialMesh", Hand)
| |
| 908 | HandMesh.MeshType = "Brick" | |
| 909 | HandMesh.Scale = Vector3.new(1.02,0.1,1.02) | |
| 910 | HandWeld = Instance.new("Weld",Cha)
| |
| 911 | HandWeld.Part0 = larm | |
| 912 | HandWeld.Part1 = Hand | |
| 913 | HandWeld.C1 = CFrame.new(0, 0.2, 0) | |
| 914 | ||
| 915 | Handle = Instance.new("Part",Cha)
| |
| 916 | Handle.TopSurface = "Smooth" | |
| 917 | Handle.BottomSurface = "Smooth" | |
| 918 | Handle.Size = Vector3.new(1,1,1) | |
| 919 | Handle.CanCollide = false | |
| 920 | Handle.Transparency = 0 | |
| 921 | Handle.BrickColor = BrickColor.new("Crimson")
| |
| 922 | HandleMesh = Instance.new("SpecialMesh", Handle)
| |
| 923 | HandleMesh.MeshType = "Brick" | |
| 924 | HandleMesh.Scale = Vector3.new(1.01,0.5,1.01) | |
| 925 | HandleWeld = Instance.new("Weld",Cha)
| |
| 926 | HandleWeld.Part0 = rarm | |
| 927 | HandleWeld.Part1 = Handle | |
| 928 | HandleWeld.C1 = CFrame.new(0, 0.2, 0) | |
| 929 | ||
| 930 | ||
| 931 | Hand = Instance.new("Part",Cha)
| |
| 932 | Hand.TopSurface = "Smooth" | |
| 933 | Hand.BottomSurface = "Smooth" | |
| 934 | Hand.Size = Vector3.new(1,1,1) | |
| 935 | Hand.CanCollide = false | |
| 936 | Hand.Transparency = 0 | |
| 937 | Hand.BrickColor = BrickColor.new("Bright green")
| |
| 938 | HandMesh = Instance.new("SpecialMesh", Hand)
| |
| 939 | HandMesh.MeshType = "Brick" | |
| 940 | HandMesh.Scale = Vector3.new(1.02,0.1,1.02) | |
| 941 | HandWeld = Instance.new("Weld",Cha)
| |
| 942 | HandWeld.Part0 = rarm | |
| 943 | HandWeld.Part1 = Hand | |
| 944 | HandWeld.C1 = CFrame.new(0, 0.2, 0) | |
| 945 | ||
| 946 | Handle = Instance.new("Part",Cha)
| |
| 947 | Handle.TopSurface = "Smooth" | |
| 948 | Handle.BottomSurface = "Smooth" | |
| 949 | Handle.Size = Vector3.new(1,1,1) | |
| 950 | Handle.CanCollide = false | |
| 951 | Handle.Transparency = 0 | |
| 952 | Handle.BrickColor = BrickColor.new("Crimson")
| |
| 953 | HandleMesh = Instance.new("SpecialMesh", Handle)
| |
| 954 | HandleMesh.MeshType = "Brick" | |
| 955 | HandleMesh.Scale = Vector3.new(1.01,0.5,1.01) | |
| 956 | HandleWeld = Instance.new("Weld",Cha)
| |
| 957 | HandleWeld.Part0 = rarm | |
| 958 | HandleWeld.Part1 = Handle | |
| 959 | HandleWeld.C1 = CFrame.new(0, 0.6, 0) | |
| 960 | ||
| 961 | ||
| 962 | Hand = Instance.new("Part",Cha)
| |
| 963 | Hand.TopSurface = "Smooth" | |
| 964 | Hand.BottomSurface = "Smooth" | |
| 965 | Hand.Size = Vector3.new(1,1,1) | |
| 966 | Hand.CanCollide = false | |
| 967 | Hand.Transparency = 0 | |
| 968 | Hand.BrickColor = BrickColor.new("Bright green")
| |
| 969 | HandMesh = Instance.new("SpecialMesh", Hand)
| |
| 970 | HandMesh.MeshType = "Brick" | |
| 971 | HandMesh.Scale = Vector3.new(1.02,0.1,1.02) | |
| 972 | HandWeld = Instance.new("Weld",Cha)
| |
| 973 | HandWeld.Part0 = rarm | |
| 974 | HandWeld.Part1 = Hand | |
| 975 | HandWeld.C1 = CFrame.new(0, 0.6, 0) | |
| 976 | ||
| 977 | Handle = Instance.new("Part",Cha)
| |
| 978 | Handle.TopSurface = "Smooth" | |
| 979 | Handle.BottomSurface = "Smooth" | |
| 980 | Handle.Size = Vector3.new(1,1,1) | |
| 981 | Handle.CanCollide = false | |
| 982 | Handle.Transparency = 0 | |
| 983 | Handle.BrickColor = BrickColor.new("Crimson")
| |
| 984 | HandleMesh = Instance.new("SpecialMesh", Handle)
| |
| 985 | HandleMesh.MeshType = "Brick" | |
| 986 | HandleMesh.Scale = Vector3.new(1.01,0.5,1.01) | |
| 987 | HandleWeld = Instance.new("Weld",Cha)
| |
| 988 | HandleWeld.Part0 = larm | |
| 989 | HandleWeld.Part1 = Handle | |
| 990 | HandleWeld.C1 = CFrame.new(0, 0.6, 0) | |
| 991 | ||
| 992 | ||
| 993 | Hand = Instance.new("Part",Cha)
| |
| 994 | Hand.TopSurface = "Smooth" | |
| 995 | Hand.BottomSurface = "Smooth" | |
| 996 | Hand.Size = Vector3.new(1,1,1) | |
| 997 | Hand.CanCollide = false | |
| 998 | Hand.Transparency = 0 | |
| 999 | Hand.BrickColor = BrickColor.new("Bright green")
| |
| 1000 | HandMesh = Instance.new("SpecialMesh", Hand)
| |
| 1001 | HandMesh.MeshType = "Brick" | |
| 1002 | HandMesh.Scale = Vector3.new(1.02,0.1,1.02) | |
| 1003 | HandWeld = Instance.new("Weld",Cha)
| |
| 1004 | HandWeld.Part0 = larm | |
| 1005 | HandWeld.Part1 = Hand | |
| 1006 | HandWeld.C1 = CFrame.new(0, 0.6, 0) | |
| 1007 | ||
| 1008 | wait(0.1) | |
| 1009 | ||
| 1010 | rs = game:GetService'RunService' | |
| 1011 | plrs = game:GetService'Players' | |
| 1012 | lp = plrs.LocalPlayer | |
| 1013 | c = lp.Character | |
| 1014 | root = lp.Character.HumanoidRootPart | |
| 1015 | human = c.Humanoid | |
| 1016 | FPS = 0 | |
| 1017 | inf = 0 | |
| 1018 | opos1 = Vector3.new(1) | |
| 1019 | opos2 = Vector3.new(2) | |
| 1020 | opos3 = Vector3.new(3) | |
| 1021 | waves = Instance.new("Model", c)
| |
| 1022 | res = Instance.new("Model", c)
| |
| 1023 | ||
| 1024 | local function b() | |
| 1025 | local t=tick(); | |
| 1026 | local l=t%1*3; | |
| 1027 | local t=.5*math.pi*(l%1); | |
| 1028 | if l<0.5 then | |
| 1029 | return Color3.new(47,0,32); | |
| 1030 | elseif l<2 then | |
| 1031 | return Color3.new(193,0,0); | |
| 1032 | else | |
| 1033 | return Color3.new(0,10,0); | |
| 1034 | end; | |
| 1035 | end; | |
| 1036 | speedParts = function() | |
| 1037 | for i = 1, 4 do | |
| 1038 | local pos = Vector3.new(math.sin(math.rad(inf + 360 * i)) * 2, math.sin(math.rad(inf + 260 * i) + math.pi / 2) * 2, -c.HumanoidRootPart.Velocity / 5) * (math.sin(tick()) + 2) | |
| 1039 | local CFramepos = root.CFrame:toWorldSpace(CFrame.new(pos)).p | |
| 1040 | local opos | |
| 1041 | if i == 1 then | |
| 1042 | opos = opos1 | |
| 1043 | elseif i == 2 then | |
| 1044 | opos = opos2 | |
| 1045 | else | |
| 1046 | opos = opos3 | |
| 1047 | end | |
| 1048 | if human.MoveDirection ~= Vector3.new(7, 8, 9) then | |
| 1049 | local e | |
| 1050 | if #res:children() <= 3 then | |
| 1051 | e = Instance.new("Part")
| |
| 1052 | else | |
| 1053 | e = res:FindFirstChild("Tail")
| |
| 1054 | end | |
| 1055 | e.Parent = waves | |
| 1056 | e.Anchored = true | |
| 1057 | e.CanCollide = false | |
| 1058 | e.Transparency = 0 | |
| 1059 | e.Material = "Slate" | |
| 1060 | e.Name = "Tail" | |
| 1061 | e.Color = b(); --Color = a(); | |
| 1062 | e.Size = Vector3.new(.2, (CFramepos - opos).magnitude, .2) | |
| 1063 | e.CFrame = CFrame.new((CFramepos + opos) / 2, opos) * CFrame.Angles(math.pi / 2, 4, 2) | |
| 1064 | end | |
| 1065 | if i == 1 then | |
| 1066 | opos1 = CFramepos | |
| 1067 | elseif i == 2 then | |
| 1068 | opos2 = CFramepos | |
| 1069 | else | |
| 1070 | opos3 = CFramepos | |
| 1071 | end | |
| 1072 | end | |
| 1073 | end | |
| 1074 | ||
| 1075 | rs.RenderStepped:connect(function() | |
| 1076 | FPS = 1 / rs.RenderStepped:wait() | |
| 1077 | for i, v in pairs (waves:children()) do | |
| 1078 | v.Transparency = v.Transparency + .05 / (FPS / 60) | |
| 1079 | if v.Transparency >= .98 then | |
| 1080 | v.Transparency = 1 | |
| 1081 | v.Parent = res | |
| 1082 | end | |
| 1083 | end | |
| 1084 | inf = inf + (8 + root.Velocity.magnitude / 15) / (FPS / 60) | |
| 1085 | speedParts() | |
| 1086 | end) | |
| 1087 | ||
| 1088 | local p = game.Players.LocalPlayer | |
| 1089 | local char = p.Character | |
| 1090 | local size = 15 | |
| 1091 | part = function() | |
| 1092 | ||
| 1093 | local a = Instance.new("Part", script)
| |
| 1094 | a.Anchored = true | |
| 1095 | a.CanCollide = true | |
| 1096 | a.CFrame = char.Torso.CFrame | |
| 1097 | a.Size = Vector3.new(size, 0.2, 0.2) | |
| 1098 | a.Transparency = 5 | |
| 1099 | return a | |
| 1100 | end | |
| 1101 | ||
| 1102 | part2 = function() | |
| 1103 | ||
| 1104 | local a = Instance.new("Part", script)
| |
| 1105 | a.Anchored = true | |
| 1106 | a.CanCollide = true | |
| 1107 | a.CFrame = char.Torso.CFrame | |
| 1108 | a.Size = Vector3.new(0.2, size, 0.2) | |
| 1109 | a.Transparency = 5 | |
| 1110 | return a | |
| 1111 | end | |
| 1112 | ||
| 1113 | part3 = function() | |
| 1114 | ||
| 1115 | local a = Instance.new("Part", script)
| |
| 1116 | a.Anchored = true | |
| 1117 | a.CanCollide = false | |
| 1118 | a.Size = Vector3.new(size, size, 1) | |
| 1119 | a.Transparency = 5 | |
| 1120 | a.Material = "Neon" | |
| 1121 | a.BrickColor = BrickColor.new("Really black")
| |
| 1122 | local b = Instance.new("BlockMesh", a)
| |
| 1123 | b.Scale = Vector3.new(1, 1, 0) | |
| 1124 | return a | |
| 1125 | end | |
| 1126 | ||
| 1127 | local replicating = false | |
| 1128 | local root, a, b, c, d, a2, b2, c2, d2, aa, bb, cc, dd, z, x, c, v, b, n = nil, nil, nil, nil, nil, nil, nil, nil, nil, nil, nil, nil, nil, nil, nil, nil, nil, nil, nil | |
| 1129 | replicate = function() | |
| 1130 | ||
| 1131 | replicating = true | |
| 1132 | script:ClearAllChildren() | |
| 1133 | root = part() | |
| 1134 | root.Transparency = 5 | |
| 1135 | root.Size = Vector3.new(0.2, 0.2, 0.2) | |
| 1136 | root.CanCollide = false | |
| 1137 | a = part() | |
| 1138 | b = part() | |
| 1139 | c = part() | |
| 1140 | d = part() | |
| 1141 | a2 = part() | |
| 1142 | b2 = part() | |
| 1143 | c2 = part() | |
| 1144 | d2 = part() | |
| 1145 | aa = part2() | |
| 1146 | bb = part2() | |
| 1147 | cc = part2() | |
| 1148 | dd = part2() | |
| 1149 | z = part3() | |
| 1150 | x = part3() | |
| 1151 | c = part3() | |
| 1152 | v = part3() | |
| 1153 | b = part3() | |
| 1154 | n = part3() | |
| 1155 | replicating = false | |
| 1156 | end | |
| 1157 | ||
| 1158 | script.ChildRemoved:connect(function(a) | |
| 1159 | ||
| 1160 | if a.ClassName == "Part" and replicating == false then | |
| 1161 | replicate() | |
| 1162 | end | |
| 1163 | end | |
| 1164 | ) | |
| 1165 | replicate() | |
| 1166 | local tick = 0 | |
| 1167 | CreateRegion3FromLocAndSize = function(Position, Size) | |
| 1168 | ||
| 1169 | local SizeOffset = Size / 2 | |
| 1170 | local Point1 = Position - SizeOffset | |
| 1171 | local Point2 = Position + SizeOffset | |
| 1172 | return Region3.new(Point1, Point2) | |
| 1173 | end | |
| 1174 | ||
| 1175 | local set = false | |
| 1176 | local whitelist = {""}
| |
| 1177 | p.Chatted:connect(function(ms) | |
| 1178 | ||
| 1179 | if ms:sub(1, 5) == "size-" then | |
| 1180 | size = tonumber(ms:sub(6)) | |
| 1181 | replicate() | |
| 1182 | else | |
| 1183 | if ms:sub(1, 4) == "set-" then | |
| 1184 | set = true | |
| 1185 | z.CanCollide = false | |
| 1186 | x.CanCollide = false | |
| 1187 | c.CanCollide = false | |
| 1188 | v.CanCollide = false | |
| 1189 | b.CanCollide = false | |
| 1190 | n.CanCollide = false | |
| 1191 | else | |
| 1192 | if ms:sub(1, 6) == "unset-" then | |
| 1193 | set = false | |
| 1194 | z.CanCollide = false | |
| 1195 | x.CanCollide = false | |
| 1196 | c.CanCollide = false | |
| 1197 | v.CanCollide = false | |
| 1198 | b.CanCollide = false | |
| 1199 | n.CanCollide = false | |
| 1200 | else | |
| 1201 | if ms:sub(1, 10) == "whitelist-" then | |
| 1202 | table.insert(whitelist, ms:sub(11)) | |
| 1203 | else | |
| 1204 | if ms:sub(1, 12) == "unwhitelist-" then | |
| 1205 | for i,v in pairs(whitelist) do | |
| 1206 | if ms:sub(13) == v then | |
| 1207 | table.remove(whitelist, i) | |
| 1208 | break | |
| 1209 | end | |
| 1210 | end | |
| 1211 | end | |
| 1212 | end | |
| 1213 | end | |
| 1214 | end | |
| 1215 | end | |
| 1216 | end | |
| 1217 | ) | |
| 1218 | local magicpos = nil | |
| 1219 | game:GetService("RunService").Heartbeat:connect(function()
| |
| 1220 | ||
| 1221 | pcall(function() | |
| 1222 | ||
| 1223 | local void = char:GetChildren() | |
| 1224 | for _,pl in pairs(whitelist) do | |
| 1225 | if game.Players:FindFirstChild(pl) ~= nil and game.Players:FindFirstChild(pl).Character ~= nil then | |
| 1226 | for i,v in pairs(game.Players[pl].Character:GetChildren()) do | |
| 1227 | table.insert(void, v) | |
| 1228 | end | |
| 1229 | end | |
| 1230 | end | |
| 1231 | for i,v in pairs(game.Players:GetPlayers()) do | |
| 1232 | if v.Character:isDescendantOf(char) and not v.Name == "FangxWulf" then | |
| 1233 | v:LoadCharacter() | |
| 1234 | end | |
| 1235 | end | |
| 1236 | char.Humanoid.Health = math.huge | |
| 1237 | tick = tick + 0.01 | |
| 1238 | if not set then | |
| 1239 | root.CFrame = root.CFrame:lerp(CFrame.new(char.Torso.CFrame.p) * CFrame.Angles(math.sin(tick) * 100 / 30 / (size / 2), math.cos(tick) * 100 / 30 / (size / 2), math.cos(tick) * 100 / 30 / (size / 2)), 0.1) | |
| 1240 | magicpos = char.Torso.CFrame | |
| 1241 | else | |
| 1242 | root.CFrame = root.CFrame:lerp(CFrame.new(magicpos.p) * CFrame.Angles(0, 0, 0), 0.05) | |
| 1243 | end | |
| 1244 | local reg = CreateRegion3FromLocAndSize(root.CFrame.p, Vector3.new(size, size, size)) | |
| 1245 | for i,v in pairs(game.Workspace:FindPartsInRegion3WithIgnoreList(reg, void, 100)) do | |
| 1246 | if v.Name ~= "Base" then | |
| 1247 | v:Destroy() | |
| 1248 | end | |
| 1249 | end | |
| 1250 | a.CFrame = root.CFrame * CFrame.new(size / 2, size / 2, 0) * CFrame.Angles(0, math.rad(90), 0) | |
| 1251 | b.CFrame = root.CFrame * CFrame.new(-size / 2, size / 2, 0) * CFrame.Angles(0, math.rad(90), 0) | |
| 1252 | c.CFrame = root.CFrame * CFrame.new(0, size / 2, size / 2) | |
| 1253 | d.CFrame = root.CFrame * CFrame.new(0, size / 2, -size / 2) | |
| 1254 | a2.CFrame = root.CFrame * CFrame.new(size / 2, -size / 2, 0) * CFrame.Angles(0, math.rad(90), 0) | |
| 1255 | b2.CFrame = root.CFrame * CFrame.new(-size / 2, -size / 2, 0) * CFrame.Angles(0, math.rad(90), 0) | |
| 1256 | c2.CFrame = root.CFrame * CFrame.new(0, -size / 2, size / 2) | |
| 1257 | d2.CFrame = root.CFrame * CFrame.new(0, -size / 2, -size / 2) | |
| 1258 | aa.CFrame = root.CFrame * CFrame.new(size / 2, 0, size / 2) | |
| 1259 | bb.CFrame = root.CFrame * CFrame.new(-size / 2, 0, size / 2) | |
| 1260 | cc.CFrame = root.CFrame * CFrame.new(-size / 2, 0, -size / 2) | |
| 1261 | dd.CFrame = root.CFrame * CFrame.new(size / 2, 0, -size / 2) | |
| 1262 | z.CFrame = root.CFrame * CFrame.new(size / 2, 0, 0) * CFrame.Angles(0, math.rad(90), 0) | |
| 1263 | x.CFrame = root.CFrame * CFrame.new(-size / 2, 0, 0) * CFrame.Angles(0, math.rad(90), 0) | |
| 1264 | c.CFrame = root.CFrame * CFrame.new(0, 0, size / 2) * CFrame.Angles(0, 0, math.rad(90)) | |
| 1265 | v.CFrame = root.CFrame * CFrame.new(0, 0, -size / 2) * CFrame.Angles(0, 0, math.rad(90)) | |
| 1266 | b.CFrame = root.CFrame * CFrame.new(0, size / 2, 0) * CFrame.Angles(math.rad(90), 0, 0) | |
| 1267 | n.CFrame = root.CFrame * CFrame.new(0, -size / 2, 0) * CFrame.Angles(math.rad(90), 0, 0) | |
| 1268 | end | |
| 1269 | ) | |
| 1270 | end | |
| 1271 | ) | |
| 1272 | --=<=Skin=>=-- | |
| 1273 | Player=game:GetService('Players').LocalPlayer
| |
| 1274 | local p = game.Players.LocalPlayer | |
| 1275 | local char = p.Character | |
| 1276 | local mouse = p:GetMouse() | |
| 1277 | local larm = char["Left Arm"] | |
| 1278 | local rarm = char["Right Arm"] | |
| 1279 | local lleg = char["Left Leg"] | |
| 1280 | local rleg = char["Right Leg"] | |
| 1281 | local hed = char.Head | |
| 1282 | local torso = char.Torso | |
| 1283 | local hum = char.Humanoid | |
| 1284 | local cam = game.Workspace.CurrentCamera | |
| 1285 | local root = char.HumanoidRootPart | |
| 1286 | local deb = false | |
| 1287 | local shot = 0 | |
| 1288 | local debris=game:service"Debris" | |
| 1289 | local l = game:GetService("Lighting")
| |
| 1290 | local rs = game:GetService("RunService").RenderStepped
| |
| 1291 | ptz = {0.8, 0.85, 0.9, 0.95, 1, 1.05, 1.1}
| |
| 1292 | math.randomseed(os.time()) | |
| 1293 | for i,v in pairs(char:children()) do | |
| 1294 | if v:IsA("Hat") then
| |
| 1295 | v:Destroy() | |
| 1296 | end | |
| 1297 | end | |
| 1298 | for i,v in pairs (hed:GetChildren()) do | |
| 1299 | if v:IsA("Sound") then
| |
| 1300 | v:Destroy() | |
| 1301 | end | |
| 1302 | end | |
| 1303 | ---------------------------------------------------- | |
| 1304 | Debounces = {
| |
| 1305 | CanAttack = true; | |
| 1306 | NoIdl = false; | |
| 1307 | Slashing = false; | |
| 1308 | Slashed = false; | |
| 1309 | RPunch = false; | |
| 1310 | RPunched = false; | |
| 1311 | LPunch = false; | |
| 1312 | LPunched = false; | |
| 1313 | } | |
| 1314 | local Touche = {char.Name, }
| |
| 1315 | ---------------------------------------------------- | |
| 1316 | hed.face.Texture = "" | |
| 1317 | char["Body Colors"].HeadColor = BrickColor.new("Institutional white")
| |
| 1318 | char["Body Colors"].TorsoColor = BrickColor.new("Institutional white")
| |
| 1319 | char["Body Colors"].LeftArmColor = BrickColor.new("Institutional white")
| |
| 1320 | char["Body Colors"].RightArmColor = BrickColor.new("Institutional white")
| |
| 1321 | char["Body Colors"].RightLegColor = BrickColor.new("Institutional white")
| |
| 1322 | char["Body Colors"].LeftLegColor = BrickColor.new("Institutional white")
| |
| 1323 | ---------------------------------------------------- | |
| 1324 | ypcall(function() | |
| 1325 | char.Shirt:Destroy() | |
| 1326 | char.Pants:Destroy() | |
| 1327 | shirt = Instance.new("Shirt", char)
| |
| 1328 | shirt.Name = "Shirt" | |
| 1329 | pants = Instance.new("Pants", char)
| |
| 1330 | pants.Name = "Pants" | |
| 1331 | char.Shirt.ShirtTemplate = "http://www.roblox.com/asset/?id=0" | |
| 1332 | char.Pants.PantsTemplate = "http://www.roblox.com/asset/?id=0" | |
| 1333 | end) |