Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- local RunService:RunService = game:GetService("RunService")
- local Players:Players = game:GetService("Players")
- local Player = Players.LocalPlayer
- local Mouse = Player:GetMouse()
- local Tool:Tool = script.Parent
- local RemoteEvent:RemoteEvent = script.Parent.RemoteEvent
- local Holdable,Holding = true,false -- set holdable to true if you want the player to be able to hold fire like a automatic weapon
- function Send() -- send mouse position to server
- RemoteEvent:FireServer({Position = Mouse.Hit.Position})
- end
- Tool.Activated:Connect(function()
- Holding = true
- if Holdable then
- local Run
- Run = RunService.Heartbeat:Connect(function()
- if not Holding then
- Run:Disconnect()
- end
- Send()
- end)
- else
- Send()
- end
- end)
- Tool.Deactivated:Connect(function()
- Holding = false
- end)
- Tool.Unequipped:Connect(function()
- Holding = false
- end)
Advertisement
Comments
-
- Autowin888 [ออโต้วิน888] การเดิมพันกีฬาออนไลน์มิติใหม่ของการเดิมพันกีฬา ในอดีตคนจำนวนมากใช้วิธีการเดิมพันโดยติดต่อกับดีลเลอร์หรือโต๊ะโดยตรง ซึ่งราคาต่อรองต่าง ๆ ตารางจะถูกปรับแต่ง โต๊ะตัวใหญ่จะมีเอเจนซี่เล็ก ๆ และจะมีลูกให้เดินเพื่อรับและส่งเดิมพันให้กับลูกค้าแต่ละคน แต่ตอนนี้ทุกอย่างเปลี่ยนไปเพราะเรามีเว็บไซต์การพนันกีฬาออนไลน์นำเสนอการพัฒนาคุณสมบัติและระบบอย่างต่อเนื่อง
- <a href="https://autowin888.com/">autowin888</a>
- [url=https://autowin888.com]autowin888[/url]
- https://autowin888.com/
-
- #https://autowin888.com/
Add Comment
Please, Sign In to add comment
Advertisement