Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- local function OnRenderedFrame(DeltaTime)
- Camera.CFrame = PlayerMoverModel.PrimaryPart.CFrame:ToWorldSpace(
- CFrame.Angles(0,math.rad(CurrentRot),0))*CFrame.new(0,0,CurrentDist)
- CurrentRot = CurrentRot-ROT_PER_FRAME
- CurrentDist = CurrentDist + (DIST_PER_FRAME)
- if CurrentRot <= TargetRot and CurrentDist >= TargetDist then
- RS:UnbindFromRenderStep(BindingName)
- wait(LOOKTIME)
- if FlagGUI then
- self:InterfaceGUI()
- end
- end
- end
- RS:BindToRenderStep(BindingName,Enum.RenderPriority.Last.Value,OnRenderedFrame)
- 2ND SCRIPT
- local id = 6170599
- local mp = game:GetService("MarketplaceService")
- game.Players.PlayerAdded:Connect(function(player)
- player.CharacterAdded:Connect(function(char)
- mp.PromptGamePassPurchaseFinished:Connect(function(plr,ido,purchased)
- if purchased and id == ido then
- local trail = game.ServerStorage.RainbowTrail:Clone()
- trail.Parent = char.HumanoidRootPart
- trail.Name = "CurrentTrail"
- local attachment0 = Instance.new("Attachment",char.Head)
- attachment0.Name = "TrailNum0"
- local attachment1 = Instance.new("Attachment",char.HumanoidRootPart)
- attachment1.Name = "TrailNum1"
- trail.Attachment0 = attachment0
- trail.Attachment1 = attachment1
- end
- end)
- end)
- end)
- game.Players.PlayerAdded:Connect(function(player)
- player.CharacterAdded:Connect(function(char)
- if mp:UserOwnsGamePassAsync(player.UserId,id) then
- local trail = game.ServerStorage.RainbowTrail:Clone()
- trail.Name = "CurrentTrail"
- trail.Parent = char.HumanoidRootPart
- local attachment0 = Instance.new("Attachment",char.Head)
- attachment0.Name = "TrailNum0"
- local attachment1 = Instance.new("Attachment",char.HumanoidRootPart)
- attachment1.Name = "TrailNum1"
- trail.Attachment0 = attachment0
- trail.Attachment1 = attachment1
- end
- end)
- end)
- game.Players.PlayerAdded:Connect(function(player) player.CharacterAdded:Connect(function(char) mp.PromptGamePassPurchaseFinished:Connect(function(plr,ido,purchased) if purchased and id == ido then local trail = game.ServerStorage.RainbowTrail:Clone() trail.Parent = char.HumanoidRootPart trail.Name = “CurrentTrail” local attachment0 = Instance.new(“Attachment”,char.Head) attachment0.Name = “TrailNum0” local attachment1 = Instance.new(“Attachment”,char.HumanoidRootPart) attachment1.Name = “TrailNum1” trail.Attachment0 = attachment0 trail.Attachment1 = attachment1 end end) end) end)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement