Player = game.Players.LocalPlayer
Mouse = Player:GetMouse()
local userinput = game:GetService("UserInputService") local char = Player.Character local root = char:WaitForChild("HumanoidRootPart")
userinput.InputBegan:Connect(function(input, gameProcessedEvent)
if gameProcessedEvent then return end if input.KeyCode == Enum.KeyCode.Z then print ("Works") local x = Instance.new("Part", workspace) x.Shape = "Ball" x.BrickColor = BrickColor.new("Grey") x.Transparency = 1 x.TopSurface = "Smooth" x.BottomSurface = "Smooth" x.CanCollide = false x.Material = "Plastic" x.CFrame = Player.Character.UpperTorso.CFrame + Vector3.new(0,3,0) local Aura = Instance.new("ParticleEmitter",x) Aura.Color = ColorSequence.new(Color3.new(254,212,255)) Aura.LightEmission = 0.75 Aura.LightInfluence = 1 Aura.Size = NumberSequence.new(1,4) Aura.Texture = "rbxassetid://1948225767" Aura.Transparency = NumberSequence.new(1,1) Aura.Parent = x Aura.LockedToPart = true Aura.Lifetime = NumberRange.new(.6) Aura.Rate = 15 Aura.Speed = NumberRange.new(1) print ("Works x2") end
end)