Hi, I am repliicated, and yesterday I wanted to create a game similar to The Kinetic Abilities. I created a LocalScript inside StarterGui and wrote this:
local mouse = game:GetService("Players").LocalPlayer:GetMouse()
mouse.Button1Down:Connect(function()
local player = game:GetService("Players").LocalPlayer
local ice = game:GetService("ReplicatedStorage").IceSpikes:Clone()
ice.HitBox.Position = player.Character.HumanoidRootPart.Position - Vector3.new(0, 2.075, 0)
ice.Parent = workspace
wait(5)
ice.Parent = game:GetService("ReplicatedStorage")
end)
It worked, but it was not exactly what I wanted:
robloxapp-20201230-0959329.wmv (4.9 MB)
(yes, I know it’s unanchored)
(I don’t know why it’s making it a download)
Help would be appreciated!