Welcome To Roblox Building Script | SERVER LAGGING

[ad_1]

Created by TheSynapseGuy

Features:

local BuildingAreas = workspace:WaitForChild("BuildingAreas")
local StampFunction = game:GetService("ReplicatedStorage"):WaitForChild("BuildingBridge"):WaitForChild("Stamp")
local ConfigFunction = game:GetService("ReplicatedStorage"):WaitForChild("BuildingBridge"):WaitForChild("Config")
local Players = game:GetService("Players")
local LocalPlayer = Players.LocalPlayer
local FloorMeshPart = workspace:WaitForChild("Floor"):WaitForChild("MeshPart")

local function PlaceBlock(AssetId,CFrame)
   return StampFunction:InvokeServer(AssetId,CFrame)
end

local function FindPlayerPlot(Player)
   for _,v in pairs(BuildingAreas:GetChildren()) do
       if v:IsA("Model") then
           local PlotOwnerName = v.Player.Value
           if PlotOwnerName == Player.Name then
               return v
           end
       end
   end
   return nil
end

local LocalPlayerPlot = FindPlayerPlot(LocalPlayer)
if LocalPlayerPlot then
   local PlayerBaseplate = LocalPlayerPlot.PlayerArea.BasePlate
   local YPosition = (FloorMeshPart.Position.Y - (FloorMeshPart.Size.Y/2)) -2
   local XPosition = PlayerBaseplate.Position.X
   local ZPosition = PlayerBaseplate.Position.Z
   
   local TargetCFrame = CFrame.new(Vector3.new(XPosition,YPosition,ZPosition))
   StampFunction:InvokeServer(
       65819976,
       TargetCFrame
   )
   while true do
       local success = false
       for _,v in pairs(LocalPlayerPlot.PlayerArea:GetDescendants()) do
           if v.Name == "Speed" and v.Parent.Name == "Configuration" then
               ConfigFunction:InvokeServer(
                   v,
                   tonumber("nan")
               )
               success = true
               break
           end
       end
       task.wait(0.2)
       if success then
           break
       end
   end
end

ENJOY!

Warning: DO NOT DOWNLOAD anything from this page, you’re only here to copy the script!

[ad_2]

123movies 123movie thesoap2day soap 2 day 123movies movies123 123movies