I cant get this script to work can anyone help me?
local Player = game.Players.LocalPlayer local Mouse = Player:GetMouse() local floor = game.ReplicatedStorage.Floor:Clone() floor.Position.Value = Vector3.new(Mouse.Hit.p.x, 0, Mouse.Hit.p.z) floor.CFrame = CFrame.new(floor.Position.Value + Vector3.new(0, 0.9, 0)) * CFrame.fromEulerAnglesXYZ(0, math.random(0, math.pi*10)/5, 0) floor.Parent = game.Workspace