Advertisement
Vzurxy

Untitled

Oct 6th, 2017
149
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 4.50 KB | None | 0 0
  1. local me = game.Players.RhinoFluffyHips61local wand = Instance.new("Tool")wand.Parent = me.Backpackwand.Name = "Magic Wand"wand.GripPos = Vector3.new(0, -1, 0)local hand = Instance.new("Part")hand.Parent = wandhand.Name = "Handle"hand.BrickColor = BrickColor.new("Dark orange")hand.Size = Vector3.new(1, 3.6, 1)hand.BottomSurface = "Smooth"hand.TopSurface = "Smooth"hand.Locked = truelocal mesh = Instance.new("SpecialMesh")mesh.Parent = handmesh.Scale = Vector3.new(0.4, 1, 0.4)local scr = Instance.new("LocalScript")scr.Name = "Local Gui"scr.Parent = wandscr.Source = [[Tool = script.ParentMe = Tool.ParentSpell = "Ava"on = trueiceon = truemode = truelocal force = Instance.new("BodyPosition")force.Parent = nillocal P2 = Instance.new("Part")P2.formFactor = 0P2.Parent = nilP2.BrickColor = BrickColor.new("Bright bluish green")P2.Anchored = trueP2.CanCollide = falseP2.TopSurface = "Smooth"P2.BottomSurface = "Smooth"P2.Name = "Laser"function Click(mouse)if (Spell == "Tele") thenforce.Parent = mouse.targeton = truewhile on doforce.position = mouse.hit.plocal Place0 = CFrame.new(Tool.Handle.CFrame.x,Tool.Handle.CFrame.y + 1.2,Tool.Handle.CFrame.z)local Place1 = mouse.Hit.pP2.Size = Vector3.new(1,1,(Place0.p - Place1).magnitude)P2.CFrame = CFrame.new((Place0.p + Place1)/2,Place0.p)P2.Parent = game.WorkspaceP2.BrickColor = BrickColor.new("Bright bluish green")wait(0.0)endendif (Spell == "Draw") thenmode = truewhile mode dolocal p = Instance.new("Part")p.Parent = game.Workspacep.formFactor = "Plate"p.Size = Vector3.new(1,0.4,1)p.BrickColor = BrickColor.new("Bright violet")p.TopSurface = "Smooth"p.Name = "Ink"p.BottomSurface = "Smooth"p.Position = mouse.hit.pp.Anchored = truelocal Place0 = CFrame.new(Tool.Handle.CFrame.x,Tool.Handle.CFrame.y + 1.2,Tool.Handle.CFrame.z)local Place1 = mouse.Hit.pP2.Size = Vector3.new(1,1,(Place0.p - Place1).magnitude)P2.CFrame = CFrame.new((Place0.p + Place1)/2,Place0.p)P2.Parent = game.WorkspaceP2.BrickColor = BrickColor.new("Black")wait(0.0)endendif (Spell == "Ava") thenlocal P = Instance.new("Part")local Place0 = CFrame.new(Tool.Handle.CFrame.x,Tool.Handle.CFrame.y + 1.2,Tool.Handle.CFrame.z)local Place1 = mouse.Hit.pP.formFactor = 0P.Size = Vector3.new(1,1,(Place0.p - Place1).magnitude)P.Name = "Laser"P.CFrame = CFrame.new((Place0.p + Place1)/2,Place0.p)P.Parent = game.WorkspaceP.BrickColor = BrickColor.new("Dark green")P.Anchored = trueP.CanCollide = falseP.Locked = trueP.BottomSurface = "Smooth"P.TopSurface = "Smooth"local E = Instance.new("Explosion")E.Position = Place1E.Parent = game.WorkspaceE.BlastPressure = 5000for i = 1,20 doP.Transparency = i*0.05wait(0.1)endP:remove()endif (Spell == "Aper") thenTool.Parent:MoveTo(mouse.hit.p + Vector3.new(0,5,0))endif (Spell == "Glacius") thenTool.Parent.Humanoid.WalkSpeed = 100iceon = truewhile iceon dolocal ice = Instance.new("Part")ice.TopSurface = "Smooth"ice.BottomSurface = "Smooth"ice.Transparency = 0.3ice.Anchored = trueice.Locked = trueice.Position = Tool.Parent.Torso.Positionlocal cleanup = script.Clean:clone()cleanup.Parent = icecleanup.Disabled = falseice.Size = Vector3.new(8, 2.4, 14)ice.BrickColor = BrickColor.new("Pastel Blue")ice.Parent = game.Workspaceice.CFrame = CFrame.new(Tool.Parent.Torso.CFrame.x,Tool.Parent.Torso.CFrame.y - 4,Tool.Parent.Torso.CFrame.z)ice.CFrame = CFrame.new(Tool.Parent.Head.Position)ice.CFrame = CFrame.new(Tool.Parent.Torso.Position.x,Tool.Parent.Torso.Position.y-4,Tool.Parent.Torso.Position.z)ice.CFrame = CFrame.new(ice.Position,mouse.hit.p)wait(0.0)endendendfunction DownKey(Key)if (Key ~= nil) thenif (Key == "y") thenSpell = "Aper"endif (Key == "z") thenSpell = "Ava"endif (Key == "x") thenSpell = "Tele"endif (Key == "v") thenSpell = "Draw"endif (Key == "n") thenSpell = "Glacius"endif (Key == "c") thenlocal force = Instance.new("ForceField")force.Parent = Tool.Parentendif (Key == "b") thenink = game.Workspace:GetChildren()for i = 1, #ink doif (ink[i].Name == "Ink") thenink[i]:remove()endendendendendfunction ClickUp(mouse)if (Spell == "Glacius") thenTool.Parent.Humanoid.WalkSpeed = 16iceon = falseendif (Spell == "Draw") thenP2.Parent = nilmode = falseendif (Spell == "Tele") thenon = falseP2.Parent = nilforce.Parent = nilendendfunction Select(mouse)mouse.KeyDown:connect(DownKey)mouse.Button1Down:connect(function() Click(mouse) end)mouse.Button1Up:connect(function() ClickUp(mouse) end)endTool.Equipped:connect(Select)]]local clean = Instance.new("Script")clean.Parent = scrclean.Name = "Clean"clean.Disabled = trueclean.Source = [[wait(3)script.Parent:remove()]]wait(0.1)wand:clone().Parent = me.Backpackwait(0.1)wand:remov
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement