Advertisement
voidman

Untitled

Dec 27th, 2018
137
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 17.82 KB | None | 0 0
  1. --]]
  2. --https://github.com/Mokiros/roblox-FE-compatibility
  3. if game:GetService("RunService"):IsClient() then error("Script must be server-side in order to work; use h/ and not hl/") end
  4. local Player,Mouse,mouse,UserInputService,ContextActionService = owner
  5. local RealPlayer = Player
  6. do print("FE Compatibility code by Mokiros")local a=RealPlayer;script.Parent=a.Character;local b=Instance.new("RemoteEvent")b.Name="UserInput_Event"local function c()local d={_fakeEvent=true,Functions={},Connect=function(self,e)table.insert(self.Functions,e)end}d.connect=d.Connect;return d end;local f={Target=nil,Hit=CFrame.new(),KeyUp=c(),KeyDown=c(),Button1Up=c(),Button1Down=c(),Button2Up=c(),Button2Down=c()}local g={InputBegan=c(),InputEnded=c()}local CAS={Actions={},BindAction=function(self,h,i,j,...)CAS.Actions[h]=i and{Name=h,Function=i,Keys={...}}or nil end}CAS.UnbindAction=CAS.BindAction;local function k(self,l,...)local d=f[l]if d and d._fakeEvent then for m,e in pairs(d.Functions)do e(...)end end end;f.TrigEvent=k;g.TrigEvent=k;b.OnServerEvent:Connect(function(n,o)if n~=a then return end;f.Target=o.Target;f.Hit=o.Hit;if not o.isMouse then local p=o.UserInputState==Enum.UserInputState.Begin;if o.UserInputType==Enum.UserInputType.MouseButton1 then return f:TrigEvent(p and"Button1Down"or"Button1Up")end;if o.UserInputType==Enum.UserInputType.MouseButton2 then return f:TrigEvent(p and"Button2Down"or"Button2Up")end;for m,d in pairs(CAS.Actions)do for m,q in pairs(d.Keys)do if q==o.KeyCode then d.Function(d.Name,o.UserInputState,o)end end end;f:TrigEvent(p and"KeyDown"or"KeyUp",o.KeyCode.Name:lower())g:TrigEvent(p and"InputBegan"or"InputEnded",o,false)end end)b.Parent=NLS([==[local a=game:GetService("Players").LocalPlayer;local b=script:WaitForChild("UserInput_Event")local c=a:GetMouse()local d=game:GetService("UserInputService")local e=function(f,g)if g then return end;b:FireServer({KeyCode=f.KeyCode,UserInputType=f.UserInputType,UserInputState=f.UserInputState,Hit=c.Hit,Target=c.Target})end;d.InputBegan:Connect(e)d.InputEnded:Connect(e)local h,i;while wait(1/30)do if h~=c.Hit or i~=c.Target then h,i=c.Hit,c.Target;b:FireServer({isMouse=true,Target=i,Hit=h})end end]==],Player.Character)local r=game;local s={__index=function(self,q)local t=rawget(self,"_RealService")if t then return typeof(t[q])=="function"and function(m,...)return t[q](t,...)end or t[q]end end,__newindex=function(self,q,u)local t=rawget(self,"_RealService")if t then t[q]=u end end}local function v(d,w)d._RealService=typeof(w)=="string"and r:GetService(w)or w;return setmetatable(d,s)end;local x={GetService=function(self,t)return rawget(self,t)or r:GetService(t)end,Players=v({LocalPlayer=v({GetMouse=function(self)return f end},Player)},"Players"),UserInputService=v(g,"UserInputService"),ContextActionService=v(CAS,"ContextActionService"),RunService=v({_btrs={},RenderStepped=r:GetService("RunService").Heartbeat,BindToRenderStep=function(self,h,m,i)self._btrs[h]=self.Heartbeat:Connect(i)end,UnbindFromRenderStep=function(self,h)self._btrs[h]:Disconnect()end},"RunService")}rawset(x.Players,"localPlayer",x.Players.LocalPlayer)x.service=x.GetService;v(x,game)game,owner=x,x.Players.LocalPlayer end
  7. --SHIROBAKO made by mugex--
  8.  
  9.  
  10.  
  11.  
  12. Player = game.Players.LocalPlayer
  13.  
  14. Char = Player.Character
  15.  
  16. Torso = Char.Torso
  17.  
  18. Head = Char.Head
  19.  
  20. Arms = {Char:FindFirstChild'Right Arm', Char:FindFirstChild'Left Arm'}
  21.  
  22. Shoulders = {Torso:FindFirstChild'Right Shoulder', Torso:FindFirstChild'Left Shoulder'}
  23.  
  24. Legs = {Char:FindFirstChild'Right Leg', Char:FindFirstChild'Left Leg'}
  25.  
  26. HumRoot = Char:FindFirstChild'HumanoidRootPart'
  27.  
  28. HumRootJ = HumRoot['RootJoint']
  29.  
  30. Humanoid = Char:FindFirstChild'Humanoid'
  31.  
  32.  
  33.  
  34.  
  35. local s = Workspace:FindFirstChild('shirobako_script: '..Player.Name,true)
  36.  
  37. if s then
  38.  
  39. local f = s:FindFirstChild'stop'
  40.  
  41. if f then
  42.  
  43. f:Invoke()
  44.  
  45. end
  46.  
  47. end
  48.  
  49. s=nil
  50.  
  51.  
  52.  
  53.  
  54. Debris = game:service'Debris'
  55.  
  56. RS = game:service'RunService'
  57.  
  58. Chatserv = game:service'Chat'
  59.  
  60. Insertserv = game:service'InsertService'
  61.  
  62.  
  63.  
  64.  
  65. Neck = Torso:FindFirstChild'Neck'
  66.  
  67.  
  68.  
  69.  
  70. pcall(function() Char.Shirobako:Destroy() end)
  71.  
  72. Main = Instance.new("Model",Char)
  73.  
  74. Main.Name = "Shirobako"
  75.  
  76. script.Parent=Main
  77.  
  78.  
  79.  
  80.  
  81. cfn=CFrame.new
  82.  
  83. ang = function(x,y,z) return CFrame.Angles(x or 0,y or 0,z or 0)end
  84.  
  85. m={tau=math.pi*2}
  86.  
  87. v3n=Vector3.new
  88.  
  89. md,mr,PI=math.rad, math.random, math.pi
  90.  
  91. bcol=BrickColor.new
  92.  
  93.  
  94.  
  95.  
  96. function l(a1,x,y,z,rx,ry,rz)
  97.  
  98. local cf
  99.  
  100. if tostring(a1):find(',') == nil then
  101.  
  102. cf=a1.CFrame
  103.  
  104. else cf=a1 end
  105.  
  106. return cf*CFrame.new(x or 0,y or 0,z or 0)*CFrame.Angles(
  107.  
  108. rx or 0,ry or 0,yz or 0)
  109.  
  110. end
  111.  
  112.  
  113.  
  114.  
  115. New = function(what)
  116.  
  117. return function(bar)
  118.  
  119. local obj=Instance.new(what)
  120.  
  121. for arg,val in pairs(bar) do
  122.  
  123. if arg == "_P" then
  124.  
  125. obj.Parent = val
  126.  
  127. else
  128.  
  129. if pcall(function()return obj[arg] end) then
  130.  
  131. obj[arg]=val
  132.  
  133. end
  134.  
  135. end
  136.  
  137. end
  138.  
  139. return obj
  140.  
  141. end
  142.  
  143. end
  144.  
  145.  
  146.  
  147.  
  148. Edit = function(what)
  149.  
  150. return function(args)
  151.  
  152. for _,obj in next,what do
  153.  
  154. for arg,val in next,args do
  155.  
  156. if pcall(function()return obj[arg]end) then
  157.  
  158. obj[arg]=val
  159.  
  160. end
  161.  
  162. end
  163.  
  164. end
  165.  
  166. end
  167.  
  168. end
  169.  
  170.  
  171.  
  172.  
  173. _1=nil
  174.  
  175. set_material = nil
  176.  
  177. set_color = nil
  178.  
  179. set_parent = nil
  180.  
  181. Part = function(x,y,z,col,tr)
  182.  
  183. local p = New"Part"{
  184.  
  185. _P=set_parent or Main;
  186.  
  187. BrickColor = bcol(col or set_color or "White");
  188.  
  189. CanCollide = false;
  190.  
  191. Transparency = tr or 0;
  192.  
  193. Size = Vector3.new(x or 0,y or 0,z or 0);
  194.  
  195. Material = set_material or 'SmoothPlastic';
  196.  
  197. }
  198.  
  199. for _,sur in next,Enum.NormalId:GetEnumItems() do
  200.  
  201. p[sur.Name..'Surface'] = 0
  202.  
  203. end
  204.  
  205. _1 = p
  206.  
  207. return p
  208.  
  209. end
  210.  
  211. Wedge = function(x,y,z,col,tr)
  212.  
  213. local p = New"WedgePart"{
  214.  
  215. _P=Main;
  216.  
  217. BrickColor = bcol(col or "White");
  218.  
  219. CanCollide = false;
  220.  
  221. Transparency = tr or 0;
  222.  
  223. Size = Vector3.new(x or 0,y or 0,z or 0);
  224.  
  225. Material = set_material or 'SmoothPlastic';
  226.  
  227. }
  228.  
  229. for _,sur in next,Enum.NormalId:GetEnumItems() do
  230.  
  231. p[sur.Name..'Surface'] = 0
  232.  
  233. end
  234.  
  235. _1 = p
  236.  
  237. return p
  238.  
  239. end
  240.  
  241. Weld = function(part0,part1,c0,c1,...) --over-engineered welding function which accepts many things
  242.  
  243. local ar = {...}
  244.  
  245. local cframe0,cframe1
  246.  
  247. local function checkf()local res=true
  248.  
  249. for i,v in pairs(ar)do
  250.  
  251. if type(v) ~= 'number' then
  252.  
  253. res=false
  254.  
  255. end
  256.  
  257. end
  258.  
  259. return res
  260.  
  261. end
  262.  
  263. if type(c0) == 'table' then
  264.  
  265. cframe0 = CFrame.new(c0[1] or 0, c0[2] or 0, c0[3] or 0) * CFrame.Angles(
  266.  
  267. c0[4] or 0, c0[5] or 0, c0[6] or 0)
  268.  
  269. elseif type(c0) == 'userdata' then
  270.  
  271. cframe0 = c0
  272.  
  273. elseif type(c0) == 'number' and checkf() then
  274.  
  275. cframe0 = CFrame.new(c0 or 0,c1 or 0,ar[1] or 0) * CFrame.Angles(ar[2] or 0, ar[3] or 0, ar[4] or 0)
  276.  
  277. end
  278.  
  279. if type(c1) == 'table' then
  280.  
  281. cframe1 = CFrame.new(c1[1] or 0, c1[2] or 0, c1[3] or 0) * CFrame.Angles(
  282.  
  283. c1[4] or 0, c1[5] or 0, c1[6] or 0)
  284.  
  285. elseif type(c1) == 'userdata' then
  286.  
  287. cframe1 = c1
  288.  
  289. elseif type(c1) == 'number' and (not c0 or (c0 and type(c0) == 'table')) then
  290.  
  291. cframe1 = CFrame.new(c1 or 0, ar[1] or 0, ar[2] or 0) * CFrame.Angles(ar[3] or 0, ar[4] or 0, ar[5] or 0)
  292.  
  293. end
  294.  
  295. for i,v in pairs(ar)do
  296.  
  297. if type(v) == 'table' then
  298.  
  299. cframe1 = CFrame.new(v[1] or 0, v[2] or 0, v[3] or 0) * CFrame.new(v[4] or 0, v[5] or 0, v[6] or 0)
  300.  
  301. elseif type(v) == 'userdata' then
  302.  
  303. cframe1 = v
  304.  
  305. end
  306.  
  307. end
  308.  
  309.  
  310.  
  311. cframe0,cframe1 = cframe1,cframe0
  312.  
  313. part0.Position=part1.Position
  314.  
  315. local weld = Instance.new("Motor")
  316.  
  317. weld.Part0 = part0
  318.  
  319. weld.Part1 = part1
  320.  
  321. weld.C0 = cframe0 or CFrame.new()
  322.  
  323. weld.C1 = cframe1 or CFrame.new()
  324.  
  325. weld.MaxVelocity = .1
  326.  
  327. weld.Parent = part0
  328.  
  329. return weld
  330.  
  331. end
  332.  
  333.  
  334.  
  335.  
  336. mesh_ids = {spike = "rbxassetid://1033714";
  337.  
  338. ring="rbxassetid://3270017";
  339.  
  340. }
  341.  
  342.  
  343.  
  344.  
  345. Mesh = function(parent,id,sx,sy,sz)
  346.  
  347. local name = ( (id == 'cyl' and 'CylinderMesh') or (id == 'bl' and 'BlockMesh') or 'SpecialMesh')
  348.  
  349. local mesh = Instance.new(name)
  350.  
  351. if id == 's' then
  352.  
  353. mesh.MeshType = Enum.MeshType.Sphere
  354.  
  355. elseif id == 'w' then
  356.  
  357. mesh.MeshType = Enum.MeshType.Wedge
  358.  
  359. elseif string.find(id,"://") ~= nil then
  360.  
  361. mesh.MeshId = id
  362.  
  363. end
  364.  
  365. mesh.Scale = Vector3.new(sx or 1, sy or 1, sz or 1)
  366.  
  367. mesh.Parent = parent
  368.  
  369. return mesh
  370.  
  371. end
  372.  
  373.  
  374.  
  375.  
  376. hdl = Part(1.1,1.5,1.1) hdl.Material='Wood'
  377.  
  378. hw=Weld(hdl,Arms[1],0,-2,0,-PI/2)
  379.  
  380.  
  381.  
  382.  
  383. -- New'Decal'{_P=hdl;face='Front';Texture='rbxassetid://49125250'}
  384.  
  385.  
  386.  
  387.  
  388. dollar = Part(1,1,1,'Bright green')
  389.  
  390. dollar_msh=Mesh(dollar,"rbxassetid://443493147",.015,.015,.015)
  391.  
  392. Weld(dollar,hdl,0,0,-.5,0,PI)
  393.  
  394.  
  395.  
  396.  
  397. top=Part(1,.1,1,'Black')Mesh(top,'bl',.95,.1,.95)
  398.  
  399. Weld(top,hdl,0,.75)
  400.  
  401.  
  402.  
  403.  
  404. ring = Part(1,1,1)
  405.  
  406. Weld(ring,hdl,0,0,.5,0,PI/2)
  407.  
  408. Mesh(ring,mesh_ids.ring,1,1,3)
  409.  
  410.  
  411.  
  412.  
  413. Joints = {}
  414.  
  415. function addJoint(name,weld,c0,c1)
  416.  
  417. local t= {}
  418.  
  419. t.w=weld
  420.  
  421. t.n_c0 = c0 or weld.C0
  422.  
  423. t.n_c1 = c1 or weld.C1
  424.  
  425. t._desired=weld.C0
  426.  
  427. t.speed=.1
  428.  
  429. t.l=0
  430.  
  431.  
  432.  
  433. function t:get()
  434.  
  435. return setmetatable({},{__newindex=function(t,i,v)
  436.  
  437. if i=='d' and self.l == 0 then
  438.  
  439. self.d = v
  440.  
  441. elseif i == 's' then self.speed=v end end})
  442.  
  443. end
  444.  
  445.  
  446.  
  447.  
  448. setmetatable(t,{__newindex=function(ta,i,v)
  449.  
  450. if i=='d' then
  451.  
  452. ta._desired = ta.n_c0 * v
  453.  
  454. end end})
  455.  
  456.  
  457.  
  458.  
  459.  
  460.  
  461. Joints[name]=t
  462.  
  463. end
  464.  
  465.  
  466.  
  467.  
  468. addJoint('rw',New"Weld"{_P = Torso;Part0=Torso;Part1=Arms[1];
  469.  
  470. C0=cfn(1,0.5,0); C1=cfn(-.5,0.5,0)})
  471.  
  472. addJoint('hw',hw)
  473.  
  474. addJoint('tw',HumRootJ)
  475.  
  476.  
  477.  
  478.  
  479. rw=Joints.rw
  480.  
  481. hw=Joints.hw
  482.  
  483. tw=Joints.tw
  484.  
  485.  
  486.  
  487.  
  488. snd=New"Sound"{_P=hdl;SoundId='rbxassetid://359628148'}
  489.  
  490.  
  491.  
  492.  
  493. rw.d=ang(PI/2)
  494.  
  495. script.Name='shirobako_script: '..Player.Name
  496.  
  497.  
  498.  
  499.  
  500. angle=0
  501.  
  502. p_tick=tick()
  503.  
  504.  
  505.  
  506.  
  507. --Clear clothing--
  508.  
  509. for i,v in pairs(Char:children())do
  510.  
  511. if v:IsA'Hat' or v:IsA'Clothing'then
  512.  
  513. v:Destroy()
  514.  
  515. end
  516.  
  517. end
  518.  
  519.  
  520.  
  521.  
  522. function addHat(id)
  523.  
  524. return function()
  525.  
  526. local id=id
  527.  
  528. for i,v in next,Char:children()do
  529.  
  530. if v:IsA'Hat' then v:Destroy() end
  531.  
  532. end
  533.  
  534. local as=Insertserv:LoadAsset(id):children()[1]
  535.  
  536. Player:LoadCharacterAppearance(as)
  537.  
  538. end
  539.  
  540. end
  541.  
  542.  
  543.  
  544.  
  545. MONEY = 0
  546.  
  547. DonatedPlayers = {}
  548.  
  549.  
  550.  
  551.  
  552. function GiveAll()
  553.  
  554. local as=Insertserv:LoadAsset(162067148)
  555.  
  556. for i,v in next,DonatedPlayers do
  557.  
  558. local pl=game:service'Players':FindFirstChild(v)
  559.  
  560. if pl then
  561.  
  562. local cl=as:Clone()
  563.  
  564. pl:LoadCharacterAppearance(cl:children()[1])
  565.  
  566. end
  567.  
  568. end
  569.  
  570.  
  571.  
  572.  
  573. acting = true
  574.  
  575. rw.w.Part1 = nil
  576.  
  577. tw.w.C0 = tw.n_c0
  578.  
  579. Shoulders[1].Part0=Torso
  580.  
  581. Shoulders[1].Part1=Arms[1]
  582.  
  583. Shoulders[1].Parent=Torso
  584.  
  585. Chatserv:Chat(Head,"THANK YOU EVERYONE =D")
  586.  
  587. for i,v in pairs(Connections) do
  588.  
  589. v:disconnect()
  590.  
  591. end
  592.  
  593. Main:Destroy()
  594.  
  595. end
  596.  
  597.  
  598.  
  599.  
  600. suits = {
  601.  
  602. beggar={'rbxassetid://54674221','rbxassetid://54676961',-1};
  603.  
  604. poor={'rbxassetid://398635080','rbxassetid://217385535',10,addHat(68259961)};
  605.  
  606. rich={'rbxassetid://286378066','rbxassetid://198292567',20,addHat(1563352)};
  607.  
  608. uberrich={'rbxassetid://231706573','rbxassetid://239131699',30,addHat(138932314)};
  609.  
  610. FINAL={'rbxassetid://231706573','rbxassetid://239131699',40,GiveAll};
  611.  
  612. }
  613.  
  614.  
  615.  
  616.  
  617. shirt = New"Shirt"{_P=Char;ShirtTemplate=suits.beggar[1]}
  618.  
  619. pants = New"Pants"{_P=Char;PantsTemplate=suits.beggar[2]}
  620.  
  621.  
  622.  
  623.  
  624. function checksuit()
  625.  
  626. for i,v in pairs(suits)do
  627.  
  628. if MONEY == v[3] then
  629.  
  630. cur_choise = i
  631.  
  632. shirt.ShirtTemplate=v[1]
  633.  
  634. pants.PantsTemplate=v[2]
  635.  
  636. if v[4] then
  637.  
  638. v[4]()
  639.  
  640. end
  641.  
  642. end
  643.  
  644. end
  645.  
  646. end
  647.  
  648.  
  649.  
  650.  
  651. cur_choise = "beggar"
  652.  
  653. choises = {
  654.  
  655. beggar = {"Can I have some money?";";_;";"Can ya spare couple bucks?";"I'm so poor..."};
  656.  
  657. poor = {"I need money for studies.", "Can ya lend me some cash?", ";_; Anyone?"};
  658.  
  659. rich = {"Can ya give sum money for taxi?", "Please?"};
  660.  
  661. uberrich={"Wanna get dominus? Gimme money!", "This is not a scam... I swear!", "Does anyone want a dominus?"};
  662.  
  663. FINAL={"THANK YOU EVERYONE WHO DONATED =D"};
  664.  
  665. }
  666.  
  667.  
  668.  
  669.  
  670. text = "_ bucks donated"
  671.  
  672. text2 = "Thank you kind _"
  673.  
  674. surfg = New"SurfaceGui"{_P=hdl,Face='Right'}
  675.  
  676. lab=New"TextLabel"{_P=surfg;Size=UDim2.new(1,0,1,0);Text="0 bucks donated";TextScaled=true;BackgroundTransparency=1}
  677.  
  678. thanking=false
  679.  
  680.  
  681.  
  682.  
  683. anim_con = RS.Stepped:connect(function()
  684.  
  685. for _,j in next,Joints do
  686.  
  687. j.w.C0 = j.w.C0:lerp(j._desired,j.speed)
  688.  
  689. end
  690.  
  691. end)
  692.  
  693. dead_con = Humanoid.Died:connect(function()
  694.  
  695. acting=true
  696.  
  697. Chatserv:Chat(Head,"World is so cruel =(")
  698.  
  699. end)
  700.  
  701.  
  702.  
  703.  
  704. acting=false
  705.  
  706.  
  707.  
  708.  
  709. depmoney=function(a)
  710.  
  711. if not thanking then
  712.  
  713. snd:Play()
  714.  
  715. thanking=true
  716.  
  717. Chatserv:Chat(Head,text2:gsub('_',(a and a.Name or 'human')) )
  718.  
  719. MONEY = MONEY+1
  720.  
  721. if a then
  722.  
  723. local name = a.Name
  724.  
  725. local _in=false
  726.  
  727. for _,v in pairs(DonatedPlayers) do
  728.  
  729. if v == name then
  730.  
  731. _in=true
  732.  
  733. end
  734.  
  735. end
  736.  
  737. if not _in then
  738.  
  739. table.insert(DonatedPlayers,name)
  740.  
  741. end
  742.  
  743. end
  744.  
  745. checksuit()
  746.  
  747. lab.Text=text:gsub('_',MONEY)
  748.  
  749. wait(1.25)
  750.  
  751. thanking=false
  752.  
  753. end
  754.  
  755. end
  756.  
  757.  
  758.  
  759.  
  760. lab.Text=text:gsub('_',MONEY)
  761.  
  762. New"ClickDetector"{_P=dollar}.MouseClick:connect(function(a)depmoney(a)end)
  763.  
  764. cnt=0
  765.  
  766. Connections = {}
  767.  
  768. for i,v in next,getfenv(0) do
  769.  
  770. if i:match("_con") ~= nil then
  771.  
  772. table.insert(Connections,v)
  773.  
  774. end
  775.  
  776. end
  777.  
  778.  
  779.  
  780.  
  781. swoosh_snd = New"Sound"{_P=hdl;SoundId='rbxassetid://134012322'}
  782.  
  783. hit_snd = New"Sound"{_P=hdl;SoundId='rbxassetid://386946017'}
  784.  
  785.  
  786.  
  787.  
  788. function slash()
  789.  
  790. acting=true
  791.  
  792. rw.speed=.3
  793.  
  794. rw.d=ang(PI/2,0,-PI/4)*ang(0,PI/2)
  795.  
  796. swoosh_snd:Play()
  797.  
  798. local con
  799.  
  800. con=hdl.Touched:connect(function(hit)
  801.  
  802. local hum=hit.Parent:FindFirstChild'Humanoid'
  803.  
  804. if hum then
  805.  
  806. Spawn(function()hum.PlatformStand=true wait'.1'hum.PlatformStand=false end)
  807.  
  808. hum.Torso.Velocity=cfn(Torso.Position,hum.Torso.Position).lookVector*70+v3n(0,30,0)
  809.  
  810. hit_snd:Play()
  811.  
  812. con:disconnect()
  813.  
  814. Chatserv:Chat(Head,"Dont come closer!")
  815.  
  816. end
  817.  
  818. end)
  819.  
  820. wait'.15'
  821.  
  822. rw.d=ang(PI/2,0,PI/4)*ang(0,PI/2)
  823.  
  824. wait'.25'
  825.  
  826. acting=false
  827.  
  828. rw.speed=.1
  829.  
  830. con:disconnect()
  831.  
  832. end
  833.  
  834. New"BindableFunction"{_P=script;Name='stop'}.OnInvoke=function()for i,v in pairs(Connections)do v:disconnect()end end
  835.  
  836. -- thanking=true
  837.  
  838. Spawn(function()
  839.  
  840. while wait()do
  841.  
  842. if not acting then
  843.  
  844. if (tick()-p_tick)>(2+(cnt/2*1.75)) and not thanking and cur_choise~='FINAL' then
  845.  
  846. local choise = choises[cur_choise]
  847.  
  848. cnt=cnt+1
  849.  
  850. cnt=(cnt>#choise and 1 or cnt)
  851.  
  852. Chatserv:Chat(Head, choise[cnt])
  853.  
  854. p_tick=tick()
  855.  
  856. end
  857.  
  858. angle=angle%100 + 1/5
  859.  
  860.  
  861.  
  862. if not thanking then
  863.  
  864. rw.d=ang(PI/2+math.sin(angle)*.15)
  865.  
  866. hw.d=ang(0,0,math.sin(angle)*.15)
  867.  
  868. tw.d=cfn()
  869.  
  870. else
  871.  
  872. rw.d=cfn(0,0,.15)*ang(PI/2,0,-PI/4)
  873.  
  874. hw.d=cfn(.15,0,0)*ang(0,md'-35')
  875.  
  876. tw.d=ang(md'15')
  877.  
  878. end end
  879.  
  880. end
  881.  
  882. end)
  883.  
  884.  
  885.  
  886.  
  887. Mouse = Player:GetMouse()
  888.  
  889. Mouse.KeyDown:connect(function(key)
  890.  
  891. if acting then return end
  892.  
  893. if key == 'f' then
  894.  
  895. slash()
  896.  
  897. end
  898.  
  899. end)
  900.  
  901. -- slash()
  902.  
  903. -- for i =1,40 do depmoney(Player)end
  904.  
  905.  
  906.  
  907.  
  908. --type: hl/https://titanpad.com/ep/pad/export/Beggar/latest?format=txt
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement