Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- -- Gui to Lua
- -- Version: 3.2
- -- Instances:
- local ScreenGui = Instance.new("ScreenGui")
- local Frame = Instance.new("Frame")
- local drophat = Instance.new("TextButton")
- --Properties:
- ScreenGui.Parent = game.Players.LocalPlayer:WaitForChild("PlayerGui")
- ScreenGui.ZIndexBehavior = Enum.ZIndexBehavior.Sibling
- ScreenGui.ResetOnSpawn = false
- Frame.Parent = ScreenGui
- Frame.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
- Frame.Position = UDim2.new(0.667636335, 0, 0.138297871, 0)
- Frame.Size = UDim2.new(0, 397, 0, 141)
- drophat.Name = "drop hat"
- drophat.Parent = Frame
- drophat.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
- drophat.Position = UDim2.new(0.264483631, 0, 0.316374421, 0)
- drophat.Size = UDim2.new(0, 200, 0, 50)
- drophat.Font = Enum.Font.SourceSans
- drophat.Text = "ey men drop hat now"
- drophat.TextColor3 = Color3.fromRGB(0, 0, 0)
- drophat.TextSize = 14.000
- -- Scripts:
- local function GPEBHEE_fake_script() -- drophat.LocalScript
- local script = Instance.new('LocalScript', drophat)
- script.Parent.MouseButton1Click:connect(function()
- for i,v in pairs(game.Players.LocalPlayer.Character:GetChildren()) do
- if (v:IsA("Accessory")) then
- v.Parent = workspace
- end
- end
- end)
- end
- coroutine.wrap(GPEBHEE_fake_script)()
- --Made by MrLua(1/0'd#7036)
- --Credits to Heplful Guy for the idea lol
- local Player = game:GetService("Players").LocalPlayer
- repeat wait() until Player.Character
- local function Main()
- local Humanoid = Player.Character:WaitForChild("Humanoid")
- local ripfunction = false
- Humanoid.Died:Connect(function()
- local DeathLocation = Player.Character:WaitForChild("HumanoidRootPart").CFrame
- workspace.ChildAdded:Connect(function(Object)
- if not ripfunction and Object.Name == Player.Name then
- wait()
- Player.Character:WaitForChild("HumanoidRootPart").CFrame = DeathLocation
- ripfunction = true
- Main()
- end
- end)
- end)
- end
- Main()
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement