Okay, so I want to move a model in front of my torso, but that's not working though :P
- Yes I know KeyDown is deprecated, just help me, please. *
local m = game.Players.LocalPlayer:GetMouse()
local character = game.Players.LocalPlayer.Character
local Torso = game.Players.LocalPlayer.Character.UpperTorso
local active = false
local IceShield = script.IceShield
local position = Torso.Position + Torso.CFrame.lookVector * 5
db = true
m.KeyDown:connect(function(k)
k = k:lower()
if k == 'x' then
IceShield:Clone().Parent = game.Workspace
IceShield:MoveTo(position)
end
end)

1 comment
Fixed