Advertisement
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")
- Fire2 = Instance.new("Fire")
- Script3 = Instance.new("Script")
- ManualWeld4 = Instance.new("ManualWeld")
- Tool0.Parent = mas
- Part1.Name = "Handle"
- Part1.Parent = Tool0
- Part1.BrickColor = BrickColor.new("New Yeller")
- Part1.Rotation = Vector3.new(-176.220001, 67.3399963, 176.509995)
- Part1.FormFactor = Enum.FormFactor.Plate
- Part1.Size = Vector3.new(4, 0.400000006, 4)
- Part1.CFrame = CFrame.new(-6.13584995, 0.250743985, -11.4375601, -0.384615242, -0.0234328043, 0.9227795, -1.96509063e-06, 0.999677777, 0.0253847186, -0.923076987, 0.00976153556, -0.384491354)
- Part1.BottomSurface = Enum.SurfaceType.Smooth
- Part1.TopSurface = Enum.SurfaceType.Smooth
- Part1.Color = Color3.new(1, 1, 0)
- Part1.Position = Vector3.new(-6.13584995, 0.250743985, -11.4375601)
- Part1.Orientation = Vector3.new(-1.44999993, 112.619995, 0)
- Part1.Color = Color3.new(1, 1, 0)
- Fire2.Parent = Part1
- Fire2.Size = 30
- Fire2.Color = Color3.new(1, 0.694118, 0)
- Fire2.Enabled = false
- Fire2.Heat = 25
- Fire2.SecondaryColor = Color3.new(1, 0, 0)
- Fire2.Color = Color3.new(1, 0.694118, 0)
- Script3.Name = "HatRemover"
- Script3.Parent = Part1
- table.insert(cors,sandbox(Script3,function()
- function onTouched(hit)
- local d = hit.Parent:GetChildren()
- for i=1, #d do
- if (d[i].className == "Part") then
- d[i]:remove()
- end
- end
- end
- script.Parent.Touched:connect(onTouched)
- end))
- ManualWeld4.Name = "Head Terrain Joint"
- ManualWeld4.Parent = Part1
- ManualWeld4.Part1 = Part1
- 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
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement