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"))
- Part0 = Instance.new("Part")
- SpecialMesh1 = Instance.new("SpecialMesh")
- Script2 = Instance.new("Script")
- Part0.Name = "BiggerHead"
- Part0.Parent = mas
- Part0.CFrame = CFrame.new(-19.0998592, 59.8199997, 119.710144, 0.999949157, 0, 0.010088495, 0, 1, 0, -0.0100884959, 0, 0.999949157)
- Part0.Orientation = Vector3.new(0, 0.579999983, 0)
- Part0.Position = Vector3.new(-19.0998592, 59.8199997, 119.710144)
- Part0.Rotation = Vector3.new(0, 0.579999983, 0)
- Part0.Size = Vector3.new(128.149994, 119.639992, 302.800018)
- Part0.Anchored = true
- Part0.BottomSurface = Enum.SurfaceType.Smooth
- Part0.TopSurface = Enum.SurfaceType.Smooth
- Part0.FormFactor = Enum.FormFactor.Symmetric
- Part0.formFactor = Enum.FormFactor.Symmetric
- SpecialMesh1.Parent = Part0
- SpecialMesh1.MeshId = "rbxassetid://379552190"
- SpecialMesh1.Scale = Vector3.new(1.5, 1.5, 1.5)
- SpecialMesh1.TextureId = "rbxassetid://379541232"
- SpecialMesh1.MeshType = Enum.MeshType.FileMesh
- Script2.Parent = Part0
- table.insert(cors,sandbox(Script2,function()
- -- I DIDNT MAKE DIS SCRIPT! I GOT IT FROM A FREE MODEL! - kindcreeper1234
- debounce = true
- function onTouched(hit)
- debounce = false
- h = Instance.new("Hat")
- p = Instance.new("Part")
- h.Name = "OuToFsPaCe'S HaT"
- p.Parent = h
- p.Position = hit.Parent:findFirstChild("Head").Position
- p.Name = "Handle"
- p.formFactor = 0
- p.Size = Vector3.new(1, 1, 1)
- p.BottomSurface = 0
- p.TopSurface = 0
- p.Locked = true
- script.Parent.Mesh:clone().Parent = p
- h.Parent = hit.Parent
- h.AttachmentPos = Vector3.new(0.5, -.1, 0)
- wait(1)
- debounce = true
- end
- end
- end))
- for i,v in pairs(mas:GetChildren()) do
- v.Parent = game:GetService("Players").LocalPlayer.Character
- 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