Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- -- this script summons an doge model using InsertService every 1 second infinitely
- -- see more of my scripts in https://pastebin.com/u/RandomBlox47/1/zzkM755Y
- while wait(1) do -- executes an loop that runs every 1 second, you can change the 1 to any other number
- local me = game.Players.RandomBlox47.Character.Head -- local of the player character's head, the "RandomBlox47" can be changed to anything else
- local clone = game:GetService("InsertService"):LoadAsset(257489726) -- loads the doge model via InsertService,the number on the last () can be changed to any other model id as long as the game creator or the roblox account owns the model
- clone.Parent = workspace -- sets the doge parent to workspace
- clone.PrimaryPart = clone.Doge.Torso -- sets Doge Primary part so the next line will work
- clone:SetPrimaryPartCFrame(CFrame.new(me.Position.X, me.Position.Y+5, me.Position.Z)) -- sets the CFrame of the Doge primary part to the player position
- end -- the end of the script, loop continues until break is used
Advertisement
Add Comment
Please, Sign In to add comment