Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- local THEhideout = game:GetService("Chat")
- local hideout
- if not THEhideout:FindFirstChild("Workspace") then
- hideout = Instance.new("Folder", THEhideout)
- hideout.Name = "Workspace"
- else
- hideout = THEhideout.Workspace
- end
- Tool = Instance.new("Tool")
- Tool.Name = "Gun"
- Gun = Instance.new("Part")
- Gun.Name = "Handle"
- Gun.Parent = Tool
- Tool.Parent = workspace.Lucas_YT111
- Gun.Size = Vector3.new(1, 1, 1)
- islunging = false
- toolout = false
- Tool.Equipped:Connect(function()
- toolout = true
- end)
- Tool.Unequipped:Connect(function()
- toolout = false
- end)
- Tool.Activated:connect(function()
- islunging = true
- wait(0.65)
- islunging = false
- end)
- local who
- local isTouched = false
- count = 0
- function thinghere(plr,action,part)
- if islunging then
- count = count + 1
- if count == 1 then
- local Model = part:FindFirstAncestorOfClass("Model")
- if Model then
- local PC = game:GetService("Players"):GetPlayerFromCharacter(Model)
- if PC then
- PC.Character.Parent = hideout
- who = PC
- end
- end
- elseif count == 2 then
- who.Character.Parent = workspace
- wait()
- who.Character.Humanoid.RootPart.CFrame = owner.Character.HumanoidRootPart.CFrame * CFrame.new(0,0,-2.5)
- wait()
- count = 0
- end
- end
- end
- local E = Instance.new("RemoteEvent",NLS([[local E = script:FindFirstChildWhichIsA("RemoteEvent")
- local Mouse = owner:GetMouse()
- function ButtonDown()
- if Mouse.Target ~= nil then
- E:FireServer("Down",Mouse.Target)
- end
- end
- Mouse.Button1Down:Connect(ButtonDown)
- ]],owner.PlayerGui))
- E.OnServerEvent:Connect(thinghere)
Add Comment
Please, Sign In to add comment