Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- --Writted by kenty
- function onKeyPress(inputObject, gameProcessedEvent)
- local plr=game:service("Players").LocalPlayer;
- local character = plr.Character
- if inputObject.KeyCode == Enum.KeyCode.R then
- local x = Instance.new("Part", game.Workspace)
- game.Debris:AddItem(x, 4)
- x.CanCollide = false
- local ay = math.random(1,2)
- if ay == 1 then
- x.BrickColor = BrickColor.new("White")
- else
- x.BrickColor = BrickColor.new("Cyan")
- end x.Anchored = true
- x.Material = ("Neon")
- x.CFrame = Player.Character.HumanoidRootPart.CFrame
- x.Size = Vector3.new(1,1,1)
- x.TopSurface = "Smooth"
- x.BottomSurface = "Smooth"
- local m1 = Instance.new("SpecialMesh", x)
- m1.MeshType = "Sphere"
- for loop = 1,100 do
- m1.Scale = m1.Scale + Vector3.new(2,2,2)
- x.Transparency = x.Transparency + 0.02
- wait()
- end
- wait(1)
- end
- wait(0.3)
- game.ReplicatedStorage.Effect.ParticleEmitter:Clone().Parent = plr.Character:FindFirstChild("Right Arm")
- game.ReplicatedStorage.Effect.ParticleEmitter:Clone().Parent = plr.Character:FindFirstChild("Left Arm")
- game.ReplicatedStorage.Effect.ParticleEmitter:Clone().Parent = plr.Character:FindFirstChild("Left Leg")
- game.ReplicatedStorage.Effect.ParticleEmitter:Clone().Parent = plr.Character:FindFirstChild("Right Leg")
- game.ReplicatedStorage.Effect.ParticleEmitter:Clone().Parent = plr.Character:FindFirstChild("Head")
- game.ReplicatedStorage.Effect.ParticleEmitter:Clone().Parent = plr.Character:FindFirstChild("HumanoidRootPart")
- local k = game.ReplicatedStorage.Effect:WaitForChild("OMG")
- game.ReplicatedStorage.Effect.OMG:Clone().Parent = plr.Character:FindFirstChild("HumanoidRootPart")
- wait(1)
- k:Destroy()
- end
- end
- game:GetService("UserInputService").InputBegan:connect(onKeyPress)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement