Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- wait(5)
- local tool = Instance.new('Tool')
- local debounce = false
- tool.Parent = game.Players.jhoncena10026.Backpack
- tool.Name = 'Gernade'
- local handle = Instance.new('Part')
- handle.Name = 'Handle'
- handle.Parent = tool
- handle.Size = Vector3.new(1,1,1)
- handle.BrickColor = BrickColor.Green()
- local mesh = Instance.new('SpecialMesh')
- mesh.MeshId = 'http://www.roblox.com/asset/?id=166887416'
- mesh.Parent = handle
- tool.Activated:connect(function()
- if debounce then
- else
- debounce = true
- local gernade = handle:Clone()
- gernade.Parent = game.Workspace
- gernade.Position = handle.Position + Vector3.new(0, 3, 0)
- handle.Transparency = 1
- local humanoidrootpart = tool.Parent.HumanoidRootPart
- local bodyforce = Instance.new('BodyForce')
- bodyforce.Parent = gernade
- local directionx = (humanoidrootpart.CFrame.lookVector.x * 75)
- local directionz = (humanoidrootpart.CFrame.lookVector.z * 75)
- bodyforce.Force = Vector3.new(directionx,(gernade.Mass * 3) * 85, directionz)
- wait(.35)
- bodyforce:Destroy()
- gernade.CanCollide = true
- wait(2.5)
- local kaboom = Instance.new('Explosion')
- kaboom.Parent = gernade
- kaboom.BlastRadius = 15
- kaboom.DestroyJointRadiusPercent = 7
- kaboom.Position = gernade.Position
- gernade.Anchored = true
- wait(0.8)
- gernade:Destroy()
- wait(3)
- handle.Transparency = 0
- debounce = false
- end
- end)
Add Comment
Please, Sign In to add comment