Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- --[[
- Shooting Stars script by mr steal yo bork, idea by "Deyztro"
- Press on someone to transform them into a meme :)
- --]]
- explode = true -- if u want them to explode or not
- local countdown = 7 -- seconds before the explosion if u have it on
- plr = game.Players.LocalPlayer
- char = plr.Character
- hum = char.Humanoid
- tool = Instance.new("HopperBin", plr.Backpack)
- tool.Name = "Shoot em"
- mouse = plr:GetMouse()
- flyspeed = 20
- tool.Selected:connect(function()
- mouse.Button1Down:connect(function()
- if tool.Active == true and mouse.Target.Parent:FindFirstChild("Humanoid") or mouse.Target.Parent.Parent:FindFirstChild("Humanoid") or mouse.Target.Parent:FindFirstChild("Torso") then
- local torso = mouse.Target.Parent:FindFirstChild("Torso")
- local thum = torso.Parent:FindFirstChild("Humanoid")
- if thum ~= hum then
- local humrootpart = torso.Parent:FindFirstChild("HumanoidRootPart")
- local bv = Instance.new("BodyVelocity")
- bv.MaxForce = Vector3.new(1e8,1e8,1e8)
- bv.Velocity = Vector3.new(flyspeed,flyspeed,flyspeed)
- bv.Parent = torso
- local pe = Instance.new("ParticleEmitter", torso)
- pe.Texture = "rbxassetid://319908966"
- pe.Size = NumberSequence.new(10)
- pe.Lifetime = NumberRange.new(5,10)
- pe.Rate = 50
- pe.VelocitySpread = 45
- pe.Speed = NumberRange.new(10)
- local stars = Instance.new("Sound", torso)
- stars.Volume = 5000
- stars.SoundId = "rbxassetid://243501843"
- stars.TimePosition = 23.5
- stars:Play()
- if explode == true then
- local ex = Instance.new("Sound", torso)
- ex.Volume = 7000
- ex.SoundId = "rbxassetid://531023877"
- ex.TimePosition = 23.5
- ex:Play()
- for i = 1,countdown do
- tool.Name = "Exploding in " .. countdown - i .. "."
- wait(1)
- end
- tool.Name = "Shoot em // by mr steal yo bork"
- local explosion = Instance.new("Explosion", torso)
- explosion.Position = torso.Position
- ex.TimePosition = 23.5
- ex:Play()
- stars:Stop()
- torso.Parent:BreakJoints()
- pe:Destroy()
- char.Humanoid.MaxHealth = math.huge
- wait()
- char.Humanoid.Health = math.huge
- end
- end
- end
- end)
- end)
- shirt = Instance.new("Shirt", char)
- shirt.Name = "Shirt"
- pants = Instance.new("Pants", char)
- pants.Name = "Pants"
- char.Shirt:Remove()
- char.Pants:Remove()
- for i,v in pairs(char:GetChildren()) do if v:IsA("Accessory") then v.Handle:Remove() end end
- char.Shirt.ShirtTemplate = "http://www.roblox.com/asset/?id=134969732"
- char.Pants.PantsTemplate = "http://www.roblox.com/asset/?id=112675727"
- char.Head.face.Texture = "rbxassetid://288287250"
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement