View difference between Paste ID: wsqSVjJr and exjjVDAq
SHOW: | | - or go back to the newest paste.
1
--Private Base Script by basstracker1970
2
--This Script Makes A Private Base
3
--You Can Also Bring Friends To It
4
plr = game.Players.LocalPlayer
5
Value = Instance.new("BoolValue")
6
Value.Name = "CanBeOnBase"
7
Value.Value = true
8
Value.Parent = plr.Character
9
base = Instance.new("Part",game.Workspace)
10
base.Material = "Grass"
11
base.BrickColor = BrickColor.new("Forest green")
12
base.Anchored = true
13
base.Name = "Private"
14
15
base.Position = Vector3.new(-1577.379, 0.5, -43.52)
16
base.Size = Vector3.new(478.11, 1, 374.02)
17
wait(0.2)
18
plr.Character.Torso.CFrame = CFrame.new(-1629.18, 1.5, -34.87)
19
while true do
20
wait(0)
21
base.Touched:connect(function(hit)
22
if hit.Parent:FindFirstChild("CanBeOnBase") then
23
else
24
hit.Parent:FindFirstChild("Torso").CFrame = CFrame.new(-6.25, 0.5, -42.33)
25
end
26
end)
27
end