Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- --Converted with ttyyuu12345's model to script plugin v4
- function sandbox(var,func)
- local env = getfenv(func)
- local newenv = setmetatable({},{
- __index = function(self,k)
- if k=="script" then
- return var
- else
- return env[k]
- end
- end,
- })
- setfenv(func,newenv)
- return func
- end
- cors = {}
- mas = Instance.new("Model",game:GetService("Lighting"))
- Tool0 = Instance.new("Tool")
- Part1 = Instance.new("Part")
- Script2 = Instance.new("Script")
- Script3 = Instance.new("Script")
- Weld4 = Instance.new("Weld")
- Weld5 = Instance.new("Weld")
- Weld6 = Instance.new("Weld")
- Weld7 = Instance.new("Weld")
- Weld8 = Instance.new("Weld")
- Weld9 = Instance.new("Weld")
- Weld10 = Instance.new("Weld")
- Weld11 = Instance.new("Weld")
- Weld12 = Instance.new("Weld")
- Weld13 = Instance.new("Weld")
- Weld14 = Instance.new("Weld")
- Weld15 = Instance.new("Weld")
- Weld16 = Instance.new("Weld")
- Weld17 = Instance.new("Weld")
- LocalScript18 = Instance.new("LocalScript")
- Script19 = Instance.new("Script")
- Script20 = Instance.new("Script")
- ForceField21 = Instance.new("ForceField")
- Script22 = Instance.new("Script")
- Part23 = Instance.new("Part")
- CylinderMesh24 = Instance.new("CylinderMesh")
- Part25 = Instance.new("Part")
- SpecialMesh26 = Instance.new("SpecialMesh")
- Part27 = Instance.new("Part")
- Part28 = Instance.new("Part")
- Part29 = Instance.new("Part")
- Part30 = Instance.new("Part")
- Part31 = Instance.new("Part")
- Part32 = Instance.new("Part")
- Part33 = Instance.new("Part")
- Tool0.Name = "Sage Staff"
- Tool0.Parent = mas
- Tool0.TextureId = "http://www.roblox.com/asset/?id"
- Part1.Name = "Handle"
- Part1.Parent = Tool0
- Part1.BrickColor = BrickColor.new("Royal purple")
- Part1.Transparency = 1
- Part1.Rotation = Vector3.new(-180, 0, -180)
- Part1.Elasticity = 1
- Part1.FormFactor = Enum.FormFactor.Symmetric
- Part1.Friction = 0
- Part1.Shape = Enum.PartType.Ball
- Part1.Size = Vector3.new(1.79999995, 1.79999995, 1.79999995)
- Part1.CFrame = CFrame.new(-25, 3.18699694, -3.99999999e-06, -1, 0, 0, 0, 1, 0, 0, 0, -1)
- Part1.BottomSurface = Enum.SurfaceType.Smooth
- Part1.TopSurface = Enum.SurfaceType.Smooth
- Part1.Color = Color3.new(0.384314, 0.145098, 0.819608)
- Part1.Position = Vector3.new(-25, 3.18699694, -3.99999999e-06)
- Part1.Orientation = Vector3.new(0, 180, 0)
- Part1.Color = Color3.new(0.384314, 0.145098, 0.819608)
- Script2.Name = "Damage Script"
- Script2.Parent = Part1
- table.insert(cors,sandbox(Script2,function()
- function onTouched(hit)
- local human = hit.Parent:findFirstChild("Humanoid")
- if (human ~= nil) then
- human.Health = human.Health - 0 -- Change the amount to change the damage dealt on humanoid.
- end
- end
- script.Parent.Touched:connect(onTouched)
- end))
- Script3.Name = "PushPack"
- Script3.Parent = Part1
- table.insert(cors,sandbox(Script3,function()
- door = script.Parent
- function onTouch(hit)
- if hit.Parent == nil then return end
- local h = hit.Parent:FindFirstChild("Humanoid")
- if h ~= nil then
- hit.Parent.Torso.Velocity=door.CFrame.lookVector * 9e9 -- Push the Player back
- end
- end
- door.Touched:connect(onTouch)
- end))
- Weld4.Parent = Part1
- Weld4.C0 = CFrame.new(0, 0, 0, -1, 0, 0, 0, 1, 0, 0, 0, -1)
- Weld4.C1 = CFrame.new(0, 0, 0, -1, 0, 0, 0, 1, 0, 0, 0, -1)
- Weld4.Part0 = Part1
- Weld4.Part1 = Part1
- Weld5.Parent = Part1
- Weld5.C0 = CFrame.new(0, 0, 0, -0.0693622008, 7.15705319e-05, -0.997591734, -0.000822129659, 0.999999642, 0.000128905667, 0.997591496, 0.000829090481, -0.0693621263)
- Weld5.C1 = CFrame.new(0, 0, 0, -0.0693622008, 7.15705319e-05, -0.997591734, -0.000822129659, 0.999999642, 0.000128905667, 0.997591496, 0.000829090481, -0.0693621263)
- Weld5.Part0 = Part1
- Weld5.Part1 = Part1
- Weld6.Parent = Part1
- Weld6.C0 = CFrame.new(0, 0, 0, 0.974388421, 1.08974045e-05, -0.224872604, -0.224047974, -0.0855143517, -0.970819414, -0.0192404129, 0.996336937, -0.0833217502)
- Weld6.C1 = CFrame.new(0, 0, 0, 0.974388421, 1.08974045e-05, -0.224872604, -0.224047974, -0.0855143517, -0.970819414, -0.0192404129, 0.996336937, -0.0833217502)
- Weld6.Part0 = Part1
- Weld6.Part1 = Part1
- Weld7.Parent = Part1
- Weld7.C0 = CFrame.new(0, 0, 0, -1, 0, 0, 0, 1, 0, 0, 0, -1)
- Weld7.C1 = CFrame.new(0, 0, 0, -1, 0, 0, 0, 1, 0, 0, 0, -1)
- Weld7.Part0 = Part1
- Weld7.Part1 = Part1
- Weld8.Parent = Part1
- Weld8.C0 = CFrame.new(0, 0, 0, 0.99601841, -1.18931712e-06, -0.0891464427, -6.97506912e-05, 0.999999642, -0.000792654057, 0.0891464204, 0.000795716129, 0.996018171)
- Weld8.C1 = CFrame.new(0, 0, 0, 0.99601841, -1.18931712e-06, -0.0891464427, -6.97506912e-05, 0.999999642, -0.000792654057, 0.0891464204, 0.000795716129, 0.996018171)
- Weld8.Part0 = Part1
- Weld8.Part1 = Part1
- Weld9.Parent = Part1
- Weld9.C0 = CFrame.new(0, 0, 0, 0.999305069, -2.74373724e-06, 0.037290547, 3.22435953e-05, 1.00000036, -0.000790480641, -0.0372904874, 0.000790983555, 0.999304116)
- Weld9.C1 = CFrame.new(0, 0, 0, 0.999305069, -2.74373724e-06, 0.037290547, 3.22435953e-05, 1.00000036, -0.000790480641, -0.0372904874, 0.000790983555, 0.999304116)
- Weld9.Part0 = Part1
- Weld9.Part1 = Part1
- Weld10.Parent = Part1
- Weld10.C0 = CFrame.new(0, 0, 0, 0.738843381, 1.69185698e-21, 0.673877418, 0.671039343, 0.0916804299, -0.735731721, -0.0617813729, 0.995788455, 0.0677374825)
- Weld10.C1 = CFrame.new(0, 0, 0, 0.738843381, 1.69185698e-21, 0.673877418, 0.671039343, 0.0916804299, -0.735731721, -0.0617813729, 0.995788455, 0.0677374825)
- Weld10.Part0 = Part1
- Weld10.Part1 = Part1
- Weld11.Parent = Part1
- Weld11.C0 = CFrame.new(0, 0, 0, -1, -2.72165767e-06, 2.00980085e-05, -2.7217061e-06, 1, -2.41504245e-06, -2.00980012e-05, -2.41509724e-06, -1)
- Weld11.C1 = CFrame.new(0, 0, 0, -1, -2.72165767e-06, 2.00980085e-05, -2.7217061e-06, 1, -2.41504245e-06, -2.00980012e-05, -2.41509724e-06, -1)
- Weld11.Part0 = Part1
- Weld11.Part1 = Part1
- Weld12.Parent = Part1
- Weld12.Part0 = Part1
- Weld12.Part1 = Part1
- Weld13.Parent = Part1
- Weld13.C0 = CFrame.new(0, 0, 0, 0.99601841, -1.18931712e-06, -0.0891464427, -6.97506912e-05, 0.999999642, -0.000792654057, 0.0891464204, 0.000795716129, 0.996018171)
- Weld13.C1 = CFrame.new(0, 0, 0, 0.99601841, -1.18931712e-06, -0.0891464427, -6.97506912e-05, 0.999999642, -0.000792654057, 0.0891464204, 0.000795716129, 0.996018171)
- Weld13.Part0 = Part1
- Weld13.Part1 = Part1
- Weld14.Parent = Part1
- Weld14.Part0 = Part1
- Weld14.Part1 = Part1
- Weld15.Parent = Part1
- Weld15.C0 = CFrame.new(0, 0, 0, 0.995937765, 7.15705391e-05, 0.0900487304, 0.0897202343, 0.0845526457, -0.992371857, -0.00768488273, 0.996419013, 0.0842027515)
- Weld15.C1 = CFrame.new(0, 0, 0, 0.995937765, 7.15705391e-05, 0.0900487304, 0.0897202343, 0.0845526457, -0.992371857, -0.00768488273, 0.996419013, 0.0842027515)
- Weld15.Part0 = Part1
- Weld15.Part1 = Part1
- Weld16.Parent = Part1
- Weld16.C0 = CFrame.new(0, 0, 0, 0.999929905, 1.08974036e-05, 0.0118370662, -1.39977601e-06, 0.999999642, -0.00080237136, -0.0118370717, 0.000802298542, 0.999929667)
- Weld16.C1 = CFrame.new(0, 0, 0, 0.999929905, 1.08974036e-05, 0.0118370662, -1.39977601e-06, 0.999999642, -0.00080237136, -0.0118370717, 0.000802298542, 0.999929667)
- Weld16.Part0 = Part1
- Weld16.Part1 = Part1
- Weld17.Parent = Part1
- Weld17.C0 = CFrame.new(0, 0, 0, -0.991831541, -2.32271257e-15, 0.127554804, 0.10643521, 0.551118016, 0.827611327, -0.0702977479, 0.834427297, -0.546616256)
- Weld17.C1 = CFrame.new(0, 0, 0, -0.991831541, -2.32271257e-15, 0.127554804, 0.10643521, 0.551118016, 0.827611327, -0.0702977479, 0.834427297, -0.546616256)
- Weld17.Part0 = Part1
- Weld17.Part1 = Part1
- LocalScript18.Name = "Local Gui"
- LocalScript18.Parent = Tool0
- table.insert(cors,sandbox(LocalScript18,function()
- local Tool = script.Parent;
- enabled = true
- function onButton1Down(mouse)
- if not enabled then
- return
- end
- enabled = false
- mouse.Icon = "rbxasset://textures\\GunWaitCursor.png"
- wait(.1)
- mouse.Icon = "rbxasset://textures\\GunCursor.png"
- enabled = true
- end
- function onEquippedLocal(mouse)
- if mouse == nil then
- print("Mouse not found")
- return
- end
- mouse.Icon = "rbxasset://textures\\GunCursor.png"
- mouse.Button1Down:connect(function() onButton1Down(mouse) end)
- end
- Tool.Equipped:connect(onEquippedLocal)
- end))
- Script19.Name = "Welding"
- Script19.Parent = Tool0
- table.insert(cors,sandbox(Script19,function()
- function Weld(x,y)
- local W = Instance.new("Weld")
- W.Part0 = x
- W.Part1 = y
- local CJ = CFrame.new(x.Position)
- local C0 = x.CFrame:inverse()*CJ
- local C1 = y.CFrame:inverse()*CJ
- W.C0 = C0
- W.C1 = C1
- W.Parent = x
- end
- function Get(A)
- if A.className == "Part" then
- Weld(script.Parent.Handle, A)
- A.Anchored = false
- else
- local C = A:GetChildren()
- for i=1, #C do
- Get(C[i])
- end
- end
- end
- function Finale()
- Get(script.Parent)
- end
- script.Parent.Equipped:connect(Finale)
- script.Parent.Unequipped:connect(Finale)
- Finale()
- end))
- Script20.Parent = Script19
- table.insert(cors,sandbox(Script20,function()
- print 'Hello world!'
- end))
- ForceField21.Parent = Tool0
- Script22.Name = "ForceScript"
- Script22.Parent = Tool0
- table.insert(cors,sandbox(Script22,function()
- --- DaxMan :)
- print("FoiceField Loaded")
- local COOLDOWN = 10
- local POWER = 20
- bin = script.Parent
- enabled = true
- function onButton1Down(mouse)
- if not enabled then
- return
- end
- enabled = true
- bin.ForceField:clone().Parent = bin.Parent.Parent.Character
- wait(0.1)
- local FF = bin.Parent.Parent.Character:findFirstChild("ForceField")
- wait(POWER)
- mouse.Icon = "rbxasset://textures\\ArrowCursor.png"
- FF.Parent = nil
- wait(COOLDOWN)
- enabled = true
- end
- function onSelected(mouse)
- mouse.Icon = "rbxasset://textures\\ArrowCursor.png"
- mouse.Button1Down:connect(function() onButton1Down(mouse) end)
- end
- bin.Selected:connect(onSelected)
- end))
- Part23.Parent = Tool0
- Part23.Material = Enum.Material.SmoothPlastic
- Part23.BrickColor = BrickColor.new("Black")
- Part23.Rotation = Vector3.new(-180, 0, -180)
- Part23.Anchored = true
- Part23.FormFactor = Enum.FormFactor.Custom
- Part23.Size = Vector3.new(0.200000003, 4.99999905, 0.200000003)
- Part23.CFrame = CFrame.new(-25.0259991, 2.50000095, 0.112999, -1, 0, 0, 0, 1, 0, 0, 0, -1)
- Part23.BottomSurface = Enum.SurfaceType.Smooth
- Part23.TopSurface = Enum.SurfaceType.Smooth
- Part23.Color = Color3.new(0.105882, 0.164706, 0.207843)
- Part23.Position = Vector3.new(-25.0259991, 2.50000095, 0.112999)
- Part23.Orientation = Vector3.new(0, 180, 0)
- Part23.Color = Color3.new(0.105882, 0.164706, 0.207843)
- CylinderMesh24.Parent = Part23
- Part25.Parent = Tool0
- Part25.Material = Enum.Material.SmoothPlastic
- Part25.BrickColor = BrickColor.new("Black")
- Part25.Rotation = Vector3.new(-180, 0, -180)
- Part25.Anchored = true
- Part25.FormFactor = Enum.FormFactor.Custom
- Part25.Size = Vector3.new(1, 2.60000038, 1)
- Part25.CFrame = CFrame.new(-25.0259991, 5.49994278, 0.112999, -1, 0, 0, 0, 1, 0, 0, 0, -1)
- Part25.BottomSurface = Enum.SurfaceType.Smooth
- Part25.TopSurface = Enum.SurfaceType.Smooth
- Part25.Color = Color3.new(0.105882, 0.164706, 0.207843)
- Part25.Position = Vector3.new(-25.0259991, 5.49994278, 0.112999)
- Part25.Orientation = Vector3.new(0, 180, 0)
- Part25.Color = Color3.new(0.105882, 0.164706, 0.207843)
- SpecialMesh26.Parent = Part25
- SpecialMesh26.MeshId = "http://www.roblox.com/asset/?id=3270017"
- SpecialMesh26.MeshType = Enum.MeshType.FileMesh
- Part27.Parent = Tool0
- Part27.Material = Enum.Material.Ice
- Part27.BrickColor = BrickColor.new("Really black")
- Part27.FormFactor = Enum.FormFactor.Symmetric
- Part27.Shape = Enum.PartType.Ball
- Part27.Size = Vector3.new(1, 1, 1)
- Part27.CFrame = CFrame.new(-26, 3.20405602, -3, 1, 0, 0, 0, 1, 0, 0, 0, 1)
- Part27.BottomSurface = Enum.SurfaceType.Smooth
- Part27.TopSurface = Enum.SurfaceType.Smooth
- Part27.Color = Color3.new(0.0666667, 0.0666667, 0.0666667)
- Part27.Position = Vector3.new(-26, 3.20405602, -3)
- Part27.Color = Color3.new(0.0666667, 0.0666667, 0.0666667)
- Part28.Parent = Tool0
- Part28.Material = Enum.Material.Ice
- Part28.BrickColor = BrickColor.new("Really black")
- Part28.FormFactor = Enum.FormFactor.Symmetric
- Part28.Shape = Enum.PartType.Ball
- Part28.Size = Vector3.new(1, 1, 1)
- Part28.CFrame = CFrame.new(-20, 3.20406604, -3, 1, 0, 0, 0, 1, 0, 0, 0, 1)
- Part28.BottomSurface = Enum.SurfaceType.Smooth
- Part28.TopSurface = Enum.SurfaceType.Smooth
- Part28.Color = Color3.new(0.0666667, 0.0666667, 0.0666667)
- Part28.Position = Vector3.new(-20, 3.20406604, -3)
- Part28.Color = Color3.new(0.0666667, 0.0666667, 0.0666667)
- Part29.Parent = Tool0
- Part29.Material = Enum.Material.Ice
- Part29.BrickColor = BrickColor.new("Really black")
- Part29.FormFactor = Enum.FormFactor.Symmetric
- Part29.Shape = Enum.PartType.Ball
- Part29.Size = Vector3.new(1, 1, 1)
- Part29.CFrame = CFrame.new(-25, 6.2040658, -3, 1, 0, 0, 0, 1, 0, 0, 0, 1)
- Part29.BottomSurface = Enum.SurfaceType.Smooth
- Part29.TopSurface = Enum.SurfaceType.Smooth
- Part29.Color = Color3.new(0.0666667, 0.0666667, 0.0666667)
- Part29.Position = Vector3.new(-25, 6.2040658, -3)
- Part29.Color = Color3.new(0.0666667, 0.0666667, 0.0666667)
- Part30.Parent = Tool0
- Part30.Material = Enum.Material.Ice
- Part30.BrickColor = BrickColor.new("Really black")
- Part30.FormFactor = Enum.FormFactor.Symmetric
- Part30.Shape = Enum.PartType.Ball
- Part30.Size = Vector3.new(1, 1, 1)
- Part30.CFrame = CFrame.new(-21, 6.20409393, -3, 1, 0, 0, 0, 1, 0, 0, 0, 1)
- Part30.BottomSurface = Enum.SurfaceType.Smooth
- Part30.TopSurface = Enum.SurfaceType.Smooth
- Part30.Color = Color3.new(0.0666667, 0.0666667, 0.0666667)
- Part30.Position = Vector3.new(-21, 6.20409393, -3)
- Part30.Color = Color3.new(0.0666667, 0.0666667, 0.0666667)
- Part31.Parent = Tool0
- Part31.Material = Enum.Material.Ice
- Part31.BrickColor = BrickColor.new("Really black")
- Part31.FormFactor = Enum.FormFactor.Symmetric
- Part31.Shape = Enum.PartType.Ball
- Part31.Size = Vector3.new(1, 1, 1)
- Part31.CFrame = CFrame.new(-23, 2.20404601, -3, 1, 0, 0, 0, 1, 0, 0, 0, 1)
- Part31.BottomSurface = Enum.SurfaceType.Smooth
- Part31.TopSurface = Enum.SurfaceType.Smooth
- Part31.Color = Color3.new(0.0666667, 0.0666667, 0.0666667)
- Part31.Position = Vector3.new(-23, 2.20404601, -3)
- Part31.Color = Color3.new(0.0666667, 0.0666667, 0.0666667)
- Part32.Parent = Tool0
- Part32.Material = Enum.Material.Ice
- Part32.BrickColor = BrickColor.new("Really black")
- Part32.FormFactor = Enum.FormFactor.Symmetric
- Part32.Shape = Enum.PartType.Ball
- Part32.Size = Vector3.new(1, 1, 1)
- Part32.CFrame = CFrame.new(-23, 7.20405006, -3, 1, 0, 0, 0, 1, 0, 0, 0, 1)
- Part32.BottomSurface = Enum.SurfaceType.Smooth
- Part32.TopSurface = Enum.SurfaceType.Smooth
- Part32.Color = Color3.new(0.0666667, 0.0666667, 0.0666667)
- Part32.Position = Vector3.new(-23, 7.20405006, -3)
- Part32.Color = Color3.new(0.0666667, 0.0666667, 0.0666667)
- Part33.Parent = Tool0
- Part33.Material = Enum.Material.Ice
- Part33.BrickColor = BrickColor.new("Really black")
- Part33.FormFactor = Enum.FormFactor.Symmetric
- Part33.Shape = Enum.PartType.Ball
- Part33.Size = Vector3.new(1, 1, 1)
- Part33.CFrame = CFrame.new(-23, 4.20405293, -3, 1, 0, 0, 0, 1, 0, 0, 0, 1)
- Part33.BottomSurface = Enum.SurfaceType.Smooth
- Part33.TopSurface = Enum.SurfaceType.Smooth
- Part33.Color = Color3.new(0.0666667, 0.0666667, 0.0666667)
- Part33.Position = Vector3.new(-23, 4.20405293, -3)
- Part33.Color = Color3.new(0.0666667, 0.0666667, 0.0666667)
- for i,v in pairs(mas:GetChildren()) do
- v.Parent = game:GetService("Players").LocalPlayer.Backpack
- pcall(function() v:MakeJoints() end)
- end
- mas:Destroy()
- for i,v in pairs(cors) do
- spawn(function()
- pcall(v)
- end)
- end
Add Comment
Please, Sign In to add comment