SHOW:
|
|
- or go back to the newest paste.
| 1 | - | local me = game.Players.caden2hip --------------your name here |
| 1 | + | local me = game.Players.XxXexe5 --------------your name here |
| 2 | function onChatted(msg) | |
| 3 | if msg == "tools" then | |
| 4 | a = Instance.new("HopperBin")
| |
| 5 | b = Instance.new("HopperBin")
| |
| 6 | c = Instance.new("HopperBin")
| |
| 7 | d = Instance.new("HopperBin")
| |
| 8 | e = Instance.new("HopperBin")
| |
| 9 | f = Instance.new("HopperBin")
| |
| 10 | g = Instance.new("HopperBin")
| |
| 11 | h = Instance.new("HopperBin")
| |
| 12 | i = Instance.new("HopperBin")
| |
| 13 | a.Parent = me.Backpack | |
| 14 | b.Parent = me.Backpack | |
| 15 | c.Parent = me.Backpack | |
| 16 | d.Parent = me.Backpack | |
| 17 | e.Parent = me.Backpack | |
| 18 | f.Parent = me.Backpack | |
| 19 | g.Parent = me.Backpack | |
| 20 | h.Parent = me.Backpack | |
| 21 | i.Parent = me.Backpack | |
| 22 | a.Name = "Balefire" | |
| 23 | b.Name = "Ban Tool" | |
| 24 | c.Name = "Break" | |
| 25 | d.Name = "Char Remove" | |
| 26 | e.Name = "H Remove" | |
| 27 | f.Name = "Kill" | |
| 28 | g.Name = "SuperJump" | |
| 29 | h.Name = "Teleport" | |
| 30 | i.Name = "Icebeam" | |
| 31 | as = Instance.new("Script")
| |
| 32 | bs = Instance.new("Script")
| |
| 33 | cs = Instance.new("Script")
| |
| 34 | ds = Instance.new("Script")
| |
| 35 | es = Instance.new("Script")
| |
| 36 | fs = Instance.new("Script")
| |
| 37 | gs = Instance.new("Script")
| |
| 38 | hs = Instance.new("Script")
| |
| 39 | is = Instance.new("Script")
| |
| 40 | il = Instance.new("Script")
| |
| 41 | il.Parent = i | |
| 42 | as.Parent = a | |
| 43 | bs.Parent = b | |
| 44 | cs.Parent = c | |
| 45 | ds.Parent = d | |
| 46 | es.Parent = e | |
| 47 | fs.Parent = f | |
| 48 | gs.Parent = g | |
| 49 | hs.Parent = h | |
| 50 | is.Parent = il | |
| 51 | as.Source = [[ | |
| 52 | print("Balefire Spell Loaded")
| |
| 53 | local COOLDOWN = 0.1 | |
| 54 | bin = script.Parent | |
| 55 | ||
| 56 | function balefire(pos) | |
| 57 | local player = game.Players.LocalPlayer | |
| 58 | if player == nil or player.Character == nil then return end | |
| 59 | local char = player.Character.Torso | |
| 60 | dir = (pos - char.CFrame.p).unit | |
| 61 | for i = 1, 50 do | |
| 62 | local ex = Instance.new("Explosion")
| |
| 63 | ex.BlastRadius = 3 | |
| 64 | ex.BlastPressure = 8000000 | |
| 65 | ex.Position = char.CFrame.p + (dir * 6 * i) + (dir * 7) | |
| 66 | ex.Parent = game.Workspace | |
| 67 | end | |
| 68 | end | |
| 69 | ||
| 70 | enabled = true | |
| 71 | function onButton1Down(mouse) | |
| 72 | if not enabled then | |
| 73 | return | |
| 74 | end | |
| 75 | local player = game.Players.LocalPlayer | |
| 76 | if player == nil then return end | |
| 77 | ||
| 78 | enabled = false | |
| 79 | mouse.Icon = "rbxasset://textures\\GunWaitCursor.png" | |
| 80 | -- find the best cf | |
| 81 | local cf = mouse.Hit | |
| 82 | local v = cf.lookVector | |
| 83 | balefire(cf.p) | |
| 84 | wait(COOLDOWN) | |
| 85 | mouse.Icon = "rbxasset://textures\\GunCursor.png" | |
| 86 | enabled = true | |
| 87 | end | |
| 88 | function onSelected(mouse) | |
| 89 | mouse.Icon = "rbxasset://textures\\GunCursor.png" | |
| 90 | mouse.Button1Down:connect(function() onButton1Down(mouse) end) | |
| 91 | end | |
| 92 | bin.Selected:connect(onSelected) | |
| 93 | ]] | |
| 94 | bs.Source = [[ | |
| 95 | bin = script.Parent | |
| 96 | function onButton1Down(mouse) | |
| 97 | ||
| 98 | local player = game.Players.LocalPlayer | |
| 99 | if player == nil then return end | |
| 100 | local target = mouse.Target | |
| 101 | if target.Parent ~= nil then | |
| 102 | local p = game.Players:findFirstChild(target.Parent.Name) | |
| 103 | if p == nil or p.Name == player.Name then return end | |
| 104 | p:Remove() | |
| 105 | end | |
| 106 | end | |
| 107 | ||
| 108 | function onSelected(mouse) | |
| 109 | mouse.Icon = "rbxasset://textures\\Delete.png" | |
| 110 | mouse.Button1Down:connect(function() onButton1Down(mouse) end) | |
| 111 | end | |
| 112 | bin.Selected:connect(onSelected) | |
| 113 | ]] | |
| 114 | cs.Source = [[ | |
| 115 | oamb = game.Lighting.Ambient | |
| 116 | obri = game.Lighting.Brightness | |
| 117 | ocsb = game.Lighting.ColorShift_Bottom | |
| 118 | ocst = game.Lighting.ColorShift_Top | |
| 119 | osha = game.Lighting.ShadowColor | |
| 120 | bin = script.Parent | |
| 121 | local pack = bin.Parent | |
| 122 | local player = pack.Parent | |
| 123 | function onButton1Down(mouse) | |
| 124 | local hit = mouse.Target | |
| 125 | if (hit == nil) then return end | |
| 126 | if (hit.Parent ~= game.Lighting) then | |
| 127 | hit:BreakJoints() | |
| 128 | hit.Anchored = false | |
| 129 | hit.Locked = false | |
| 130 | game.Lighting.Ambient = Color3.new(math.random(0, 255), math.random(0, 255), math.random(0, 255)) | |
| 131 | game.Lighting.Brightness = {math.random(1, 10)/10}
| |
| 132 | game.Lighting.ColorShift_Bottom = Color3.new(math.random(0, 255), math.random(0, 255), math.random(0, 255)) | |
| 133 | game.Lighting.ColorShift_Top = Color3.new(math.random(0, 255), math.random(0, 255), math.random(0, 255)) | |
| 134 | game.Lighting.ShadowColor = Color3.new(math.random(0, 255), math.random(0, 255), math.random(0, 255)) | |
| 135 | m = Instance.new("Message")
| |
| 136 | m.Parent = game.Workspace | |
| 137 | m.Text = "We will, we will BREAK YOU!" | |
| 138 | wait(1) | |
| 139 | m:remove() | |
| 140 | game.Lighting.Ambient = oamb | |
| 141 | game.Lighting.Brightness = obri | |
| 142 | game.Lighting.ColorShift_Bottom = ocsb | |
| 143 | game.Lighting.ColorShift_Top = ocst | |
| 144 | game.Lighting.ShadowColor = osha | |
| 145 | end | |
| 146 | end | |
| 147 | ||
| 148 | function onSelected(mouse) | |
| 149 | print("Action Tool Selected")
| |
| 150 | mouse.Icon = "rbxasset://textures\\GunCursor.png" | |
| 151 | mouse.Button1Down:connect(function() onButton1Down(mouse) end) | |
| 152 | end | |
| 153 | bin.Selected:connect(onSelected) | |
| 154 | ]] | |
| 155 | ds.Source = [[ | |
| 156 | bin=script.Parent | |
| 157 | function onButton1Down(mouse) | |
| 158 | t= mouse.Target | |
| 159 | if t~=nil and t.className == "Part" then | |
| 160 | if t.Parent:findFirstChild("Humanoid") then
| |
| 161 | t.Parent:Remove() | |
| 162 | end | |
| 163 | end | |
| 164 | end | |
| 165 | ||
| 166 | function onSelected(mouse) | |
| 167 | print("Selected")
| |
| 168 | mouse.Icon = "rbxasset://textures\\GunCursor.png" | |
| 169 | mouse.Button1Down:connect(function() onButton1Down(mouse) end) | |
| 170 | end | |
| 171 | bin.Selected:connect(onSelected) | |
| 172 | ]] | |
| 173 | es.Source = [[ | |
| 174 | bin=script.Parent | |
| 175 | function onButton1Down(mouse) | |
| 176 | t= mouse.Target | |
| 177 | if t~=nil and t.className == "Part" then | |
| 178 | if t.Parent:findFirstChild("Humanoid") then
| |
| 179 | t.Parent:findFirstChild("Humanoid"):Remove()
| |
| 180 | end | |
| 181 | end | |
| 182 | end | |
| 183 | ||
| 184 | function onSelected(mouse) | |
| 185 | print("Selected")
| |
| 186 | mouse.Icon = "rbxasset://textures\\GunCursor.png" | |
| 187 | mouse.Button1Down:connect(function() onButton1Down(mouse) end) | |
| 188 | end | |
| 189 | bin.Selected:connect(onSelected) | |
| 190 | ]] | |
| 191 | fs.Source = [[ | |
| 192 | bin=script.Parent | |
| 193 | function onButton1Down(mouse) | |
| 194 | t= mouse.Target | |
| 195 | if t~=nil and t.className == "Part" then | |
| 196 | if t.Parent:findFirstChild("Humanoid") then
| |
| 197 | t.Parent:findFirstChild("Humanoid").Health = 0
| |
| 198 | end | |
| 199 | end | |
| 200 | end | |
| 201 | ||
| 202 | function onSelected(mouse) | |
| 203 | print("Selected")
| |
| 204 | mouse.Icon = "rbxasset://textures\\GunCursor.png" | |
| 205 | mouse.Button1Down:connect(function() onButton1Down(mouse) end) | |
| 206 | end | |
| 207 | bin.Selected:connect(onSelected) | |
| 208 | ]] | |
| 209 | gs.Source = [[ | |
| 210 | print("Ghostwalker loaded")
| |
| 211 | bin = script.Parent | |
| 212 | walking = false | |
| 213 | reloadtime = 0 | |
| 214 | local thrust = Instance.new("BodyVelocity")
| |
| 215 | function makeMeGhostly(trans) | |
| 216 | local char = game.Players.LocalPlayer.Character | |
| 217 | if char.Head ~= nil then char.Head.Transparency = trans end | |
| 218 | if char.Torso ~= nil then char.Torso.Transparency = trans end | |
| 219 | local leftleg = char:findFirstChild("Left Leg")
| |
| 220 | if leftleg ~= nil then leftleg.Transparency = trans end | |
| 221 | local rightleg = char:findFirstChild("Right Leg")
| |
| 222 | if rightleg ~= nil then rightleg.Transparency = trans end | |
| 223 | local leftarm = char:findFirstChild("Left Arm")
| |
| 224 | if leftarm ~= nil then leftarm.Transparency = trans end | |
| 225 | local rightarm = char:findFirstChild("Right Arm")
| |
| 226 | if rightarm ~= nil then rightarm.Transparency = trans end | |
| 227 | end | |
| 228 | function onStart() | |
| 229 | print("start walking")
| |
| 230 | walking = true | |
| 231 | reloadtime = 0.0 | |
| 232 | makeMeGhostly(0) | |
| 233 | ||
| 234 | thrust.Parent = game.Players.LocalPlayer.Character.PrimaryPart | |
| 235 | ||
| 236 | thrust.velocity = Vector3.new(0,50,0) | |
| 237 | thrust.maxForce = Vector3.new(0,4e+050,0) | |
| 238 | ||
| 239 | ||
| 240 | end | |
| 241 | function onEnd() | |
| 242 | print("stop walking")
| |
| 243 | walking = false | |
| 244 | makeMeGhostly(0) | |
| 245 | thrust.Parent = nil | |
| 246 | wait(reloadtime) | |
| 247 | reloadtime = 0 | |
| 248 | end | |
| 249 | function onButton1Down(mouse) | |
| 250 | if reloadtime > 0 then return end | |
| 251 | if walking == true then return end | |
| 252 | ||
| 253 | onStart() | |
| 254 | mouse.Icon = "rbxasset://textures\\ArrowFarCursor.png" | |
| 255 | local time = 0 | |
| 256 | while walking == true do | |
| 257 | --onWalk() | |
| 258 | wait(.05) | |
| 259 | time = time + .05 | |
| 260 | if time > 0.6 then onButton1Up(mouse) end | |
| 261 | end | |
| 262 | end | |
| 263 | function onButton1Up(mouse) | |
| 264 | onEnd() | |
| 265 | mouse.Icon = "rbxasset://textures\\ArrowCursor.png" | |
| 266 | end | |
| 267 | function onSelected(mouse) | |
| 268 | print("ghostwalker selected")
| |
| 269 | if reloadtime > 0 then | |
| 270 | mouse.Icon = "rbxasset://textures\\ArrowFarCursor.png" | |
| 271 | else | |
| 272 | mouse.Icon = "rbxasset://textures\\ArrowCursor.png" | |
| 273 | end | |
| 274 | mouse.Button1Down:connect(function() onButton1Down(mouse) end) | |
| 275 | mouse.Button1Up:connect(function() onButton1Up(mouse) end) | |
| 276 | end | |
| 277 | bin.Selected:connect(onSelected) | |
| 278 | ||
| 279 | ]] | |
| 280 | hs.Source = [[ | |
| 281 | print("Teleport Spell Loaded")
| |
| 282 | local COOLDOWN = 0 | |
| 283 | local MP = 0 | |
| 284 | ||
| 285 | bin = script.Parent | |
| 286 | function TryToCast(player) | |
| 287 | -- returns true if player may cast this spell | |
| 288 | -- make sure this player has the wizard board stats | |
| 289 | local stats = player:findFirstChild("leaderstats")
| |
| 290 | if stats == nil then return false end | |
| 291 | local mana = stats:findFirstChild("Mana")
| |
| 292 | local level = stats:findFirstChild("Level")
| |
| 293 | if mana == nil or level == nil then return false end | |
| 294 | if (mana.Value >= MP) then | |
| 295 | mana.Value = mana.Value - MP | |
| 296 | return true | |
| 297 | end | |
| 298 | return false | |
| 299 | end | |
| 300 | ||
| 301 | ||
| 302 | function teleportPlayer(pos) | |
| 303 | local player = game.Players.LocalPlayer | |
| 304 | if player == nil or player.Character == nil then return end | |
| 305 | local char = player.Character.Torso | |
| 306 | sound = Instance.new("Sound")
| |
| 307 | sound.SoundId = "" | |
| 308 | sound.Parent = char | |
| 309 | sound.PlayOnRemove = true | |
| 310 | sound:remove() | |
| 311 | char.CFrame = CFrame.new(Vector3.new(pos.x, pos.y + 7, pos.z)) | |
| 312 | ||
| 313 | sound = Instance.new("Sound")
| |
| 314 | sound.SoundId = "" | |
| 315 | sound.Parent = char | |
| 316 | sound.PlayOnRemove = true | |
| 317 | sound:remove() | |
| 318 | end | |
| 319 | ||
| 320 | enabled = true | |
| 321 | function onButton1Down(mouse) | |
| 322 | if not enabled then | |
| 323 | return | |
| 324 | end | |
| 325 | local player = game.Players.LocalPlayer | |
| 326 | if player == nil then return end | |
| 327 | --if TryToCast(player) == false then return end | |
| 328 | ||
| 329 | enabled = false | |
| 330 | mouse.Icon = "rbxasset://textures\\ArrowFarCursor.png" | |
| 331 | -- find the best cf | |
| 332 | local cf = mouse.Hit | |
| 333 | local v = cf.lookVector | |
| 334 | teleportPlayer(cf.p) | |
| 335 | wait(COOLDOWN) | |
| 336 | mouse.Icon = "rbxasset://textures\\ArrowCursor.png" | |
| 337 | enabled = true | |
| 338 | end | |
| 339 | function onSelected(mouse) | |
| 340 | mouse.Icon = "rbxasset://textures\\ArrowCursor.png" | |
| 341 | mouse.Button1Down:connect(function() onButton1Down(mouse) end) | |
| 342 | end | |
| 343 | bin.Selected:connect(onSelected) | |
| 344 | ]] | |
| 345 | is.Source = [[ | |
| 346 | wait(2) | |
| 347 | script.Parent:remove() | |
| 348 | ]] | |
| 349 | il.Source = [[ | |
| 350 | bin = script.Parent | |
| 351 | function onKeyDown(key,mouse) | |
| 352 | key:lower() | |
| 353 | if key == "r" then | |
| 354 | e = game.Workspace:GetChildren() | |
| 355 | for i=1,#e do | |
| 356 | if e[i].className == "Part" then | |
| 357 | if e[i].Name == "Ice" then | |
| 358 | if e[i]:findFirstChild("creator")~=nil then
| |
| 359 | if e[i].creator.Value == script.Parent.Parent.Parent then | |
| 360 | e[i]:remove() | |
| 361 | end | |
| 362 | end | |
| 363 | end | |
| 364 | end | |
| 365 | end | |
| 366 | elseif key == "n" then | |
| 367 | e = game.Workspace:GetChildren() | |
| 368 | for i=1,#e do | |
| 369 | if e[i].className == "Part" then | |
| 370 | if e[i].Name == "Ice" then | |
| 371 | e[i]:remove() | |
| 372 | end | |
| 373 | end | |
| 374 | end | |
| 375 | end | |
| 376 | end | |
| 377 | function press(mouse) | |
| 378 | if sel == true then | |
| 379 | hit = mouse.Target | |
| 380 | local point = mouse.Hit.p | |
| 381 | s = Instance.new("Part")
| |
| 382 | s.CanCollide = true | |
| 383 | s.Size=Vector3.new(6,2,18) | |
| 384 | s.Anchored = true | |
| 385 | s.BrickColor = BrickColor.new("Light blue")
| |
| 386 | s.Transparency = 0.3 | |
| 387 | s.Name = "Ice" | |
| 388 | s.TopSurface = "Smooth" | |
| 389 | s.BottomSurface = "Smooth" | |
| 390 | s.Parent = game.Workspace | |
| 391 | s.CFrame = CFrame.new(script.Parent.Parent.Parent.Character.Head.Position) | |
| 392 | s.CFrame = CFrame.new(script.Parent.Parent.Parent.Character.Torso.Position.x,script.Parent.Parent.Parent.Character.Torso.Position.y-4,script.Parent.Parent.Parent.Character.Torso.Position.z) | |
| 393 | s.CFrame = CFrame.new(s.Position,point) | |
| 394 | r = Instance.new("ObjectValue")
| |
| 395 | r.Value = script.Parent.Parent.Parent | |
| 396 | r.Parent = s | |
| 397 | r.Name = "creator" | |
| 398 | wait() | |
| 399 | press(mouse) | |
| 400 | end | |
| 401 | end | |
| 402 | ||
| 403 | function onButton1Down(mouse) | |
| 404 | sel = true | |
| 405 | if sel == true then | |
| 406 | hit = mouse.Target | |
| 407 | local point = mouse.Hit.p | |
| 408 | s = Instance.new("Part")
| |
| 409 | s.CanCollide = true | |
| 410 | s.Size=Vector3.new(5,2,17) | |
| 411 | s.Anchored = true | |
| 412 | s.BrickColor = BrickColor.new("Light blue")
| |
| 413 | s.Transparency = 0.3 | |
| 414 | s.Name = "Ice" | |
| 415 | s.TopSurface = "Smooth" | |
| 416 | s.BottomSurface = "Smooth" | |
| 417 | s.Parent = game.Workspace | |
| 418 | s.CFrame = CFrame.new(script.Parent.Parent.Parent.Character.Head.Position) | |
| 419 | s.CFrame = CFrame.new(script.Parent.Parent.Parent.Character.Torso.Position.x,script.Parent.Parent.Parent.Character.Torso.Position.y-5,script.Parent.Parent.Parent.Character.Torso.Position.z) | |
| 420 | s.CFrame = CFrame.new(s.Position,point) | |
| 421 | r = Instance.new("ObjectValue")
| |
| 422 | r.Value = script.Parent.Parent.Parent | |
| 423 | r.Parent = s | |
| 424 | r.Name = "creator" | |
| 425 | wait() | |
| 426 | hit = mouse.Target | |
| 427 | local point = mouse.Hit.p | |
| 428 | s = Instance.new("Part")
| |
| 429 | s.CanCollide = true | |
| 430 | s.Size=Vector3.new(5,2,17) | |
| 431 | s.Anchored = true | |
| 432 | s.BrickColor = BrickColor.new("Light blue")
| |
| 433 | s.Transparency = 0.3 | |
| 434 | s.Name = "Ice" | |
| 435 | s.TopSurface = "Smooth" | |
| 436 | s.BottomSurface = "Smooth" | |
| 437 | s.Parent = game.Workspace | |
| 438 | s.CFrame = CFrame.new(script.Parent.Parent.Parent.Character.Head.Position) | |
| 439 | s.CFrame = CFrame.new(script.Parent.Parent.Parent.Character.Torso.Position.x,script.Parent.Parent.Parent.Character.Torso.Position.y-4,script.Parent.Parent.Parent.Character.Torso.Position.z) | |
| 440 | s.CFrame = CFrame.new(s.Position,point) | |
| 441 | r = Instance.new("ObjectValue")
| |
| 442 | r.Value = script.Parent.Parent.Parent | |
| 443 | r.Parent = s | |
| 444 | r.Name = "creator" | |
| 445 | wait() | |
| 446 | hit = mouse.Target | |
| 447 | local point = mouse.Hit.p | |
| 448 | s = Instance.new("Part")
| |
| 449 | s.CanCollide = true | |
| 450 | s.Size=Vector3.new(5,2,15) | |
| 451 | s.Anchored = true | |
| 452 | s.BrickColor = BrickColor.new("Light blue")
| |
| 453 | s.Transparency = 0.3 | |
| 454 | s.Name = "Ice" | |
| 455 | s.TopSurface = "Smooth" | |
| 456 | s.BottomSurface = "Smooth" | |
| 457 | s.Parent = game.Workspace | |
| 458 | s.CFrame = CFrame.new(script.Parent.Parent.Parent.Character.Head.Position) | |
| 459 | s.CFrame = CFrame.new(script.Parent.Parent.Parent.Character.Torso.Position.x,script.Parent.Parent.Parent.Character.Torso.Position.y-6,script.Parent.Parent.Parent.Character.Torso.Position.z) | |
| 460 | s.CFrame = CFrame.new(s.Position,point) | |
| 461 | r = Instance.new("ObjectValue")
| |
| 462 | r.Value = script.Parent.Parent.Parent | |
| 463 | r.Parent = s | |
| 464 | r.Name = "creator" | |
| 465 | press(mouse) | |
| 466 | end | |
| 467 | end | |
| 468 | ||
| 469 | function onButton1Up(mouse) | |
| 470 | sel = false | |
| 471 | end | |
| 472 | function onEquippedLocal(mouse) | |
| 473 | if mouse == nil then | |
| 474 | print("Mouse not found")
| |
| 475 | return | |
| 476 | end | |
| 477 | mouse.Icon = "rbxasset://textures\\GunCursor.png" | |
| 478 | mouse.Button1Down:connect(function() onButton1Down(mouse) end) | |
| 479 | mouse.Button1Up:connect(function() onButton1Up(mouse) end) | |
| 480 | mouse.KeyDown:connect(onKeyDown) | |
| 481 | e = script.Parent.Parent.Parent:GetChildren() | |
| 482 | for i=1,#e do | |
| 483 | if e[i].className == "Hint" then | |
| 484 | e[i]:remove() | |
| 485 | end | |
| 486 | end | |
| 487 | s = Instance.new("Hint")
| |
| 488 | s.Parent = script.Parent.Parent.Parent | |
| 489 | s.Text = "Click 'R' to clean your ice, and hold down the mouse to non-stop create ice. " | |
| 490 | end | |
| 491 | function unsel(mouse) | |
| 492 | e = script.Parent.Parent.Parent:GetChildren() | |
| 493 | for i=1,#e do | |
| 494 | if e[i].className == "Hint" then | |
| 495 | e[i]:remove() | |
| 496 | end | |
| 497 | end | |
| 498 | end | |
| 499 | ||
| 500 | script.Parent.Selected:connect(onEquippedLocal) | |
| 501 | script.Parent.Deselected:connect(unsel) | |
| 502 | ]] | |
| 503 | end | |
| 504 | end | |
| 505 | me.Chatted:connect(onChatted) |