View difference between Paste ID: FvwTn0tA and 68L9mD3b
SHOW: | | - or go back to the newest paste.
1
plr = game.Players.LocalPlayer
2
char = plr.Character
3
hum = char.Humanoid
4
t = char.Torso
5
h = char.Head
6
ra = char["Right Arm"]
7
la = char["Left Arm"]
8
rl = char["Right Leg"]
9
ll = char["Left Leg"]
10
tors = char.Torso
11
lleg = char["Left Leg"]
12
root = char.HumanoidRootPart
13
hed = char.Head
14
rleg = char["Right Leg"]
15
rarm = char["Right Arm"]
16
larm = char["Left Arm"]
17
vt = Vector3.new
18
bc = BrickColor.new
19
br = BrickColor.random
20
it = Instance.new
21
cf = CFrame.new
22
maus = plr:GetMouse()
23
24
function spawn()
25
local a = it("Part")
26-
a.Position = cf(maus.Hit, maus.Hit, maus.Hit)
26+
a.Position = vt(maus.Hit, maus.Hit, maus.Hit)
27
end
28
29
wait(3)
30
spawn()