Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- plr = owner
- character =plr.Character
- torso = character.Torso
- function yeet(Hit)
- if Hit.Name ~= "base" then
- Hit.Anchored = false
- local d = Hit:GetChildren()
- if d.ClassName == Attachment then
- Hit:BreakJoints()
- end
- --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"))
- Script0 = Instance.new("Script")
- Script0.Parent = Hit
- table.insert(cors,sandbox(Script0,function()
- function yeet(hit)
- if hit.Name ~= "Base" then
- if hit.Parent.ClassName ~= "Model" then
- if hit.Parent.Name ~= "gdfPlace" then
- hit.Anchored = false
- local d = hit:GetChildren()
- if d.ClassName == Attachment then
- hit:BreakJoints()
- end
- local a = script:Clone()
- a.Parent = hit
- end
- if hit.Parent.ClassName == "Model" then
- if hit.Parent.Name == "Tabby_Cxt" then
- end
- if hit.Parent.Name ~= "Tabby_Cxt" then
- hit.Anchored = false
- local d = hit:GetChildren()
- if d.ClassName == Attachment then
- hit:BreakJoints()
- end
- local b = script:Clone()
- b.Parent = hit
- end
- end
- end
- end
- end
- script.Parent.Touched:Connect(yeet)
- end))
- for i,v in pairs(mas:GetChildren()) do
- v.Parent = workspace
- pcall(function() v:MakeJoints() end)
- end
- mas:Destroy()
- for i,v in pairs(cors) do
- spawn(function()
- pcall(v)
- end)
- end
- end
- end
- torso.Touched:Connect(yeet)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement