Advertisement
idkwhatiam

animoo wip

May 30th, 2019
349
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Lua 9.75 KB | None | 0 0
  1. --animoo--
  2.  
  3. if game:GetService("RunService"):IsClient()then error("Please run as a server script. Use h/ instead of hl/.")end;print("FE Compatibility: by WaverlyCole");InternalData = {}
  4. do
  5.     script.Parent = owner.Character
  6.     local Event = Instance.new("RemoteEvent");Event.Name = "UserInput"
  7.     local function NewFakeEvent()
  8.         local Bind = Instance.new("BindableEvent")
  9.         local Fake;Fake = {Connections = {},
  10.         fakeEvent=true;
  11.         Connect=function(self,Func)
  12.             Bind.Event:connect(Func)
  13.             self.Connections[Bind] = true
  14.             return setmetatable({Connected = true},{
  15.             __index = function (self,Index)
  16.                 if Index:lower() == "disconnect" then
  17.                     return function() Fake.Connections[Bind] = false;self.Connected = false end
  18.                 end
  19.                 return Fake[Index]
  20.             end;
  21.             __tostring = function() return "Connection" end;
  22.         })
  23.         end}
  24.         Fake.connect = Fake.Connect;return Fake;
  25.     end
  26.     local Mouse = {Target=nil,Hit=CFrame.new(),KeyUp=NewFakeEvent(),KeyDown=NewFakeEvent(),Button1Up=NewFakeEvent(),Button1Down=NewFakeEvent()}
  27.     local UserInputService = {InputBegan=NewFakeEvent(),InputEnded=NewFakeEvent()}
  28.     local ContextActionService = {Actions={},BindAction = function(self,actionName,Func,touch,...)
  29.         self.Actions[actionName] = Func and {Name=actionName,Function=Func,Keys={...}} or nil
  30.     end};ContextActionService.UnBindAction = ContextActionService.BindAction
  31.     local function TriggerEvent(self,Event,...)
  32.         local Trigger = Mouse[Event]
  33.         if Trigger and Trigger.fakeEvent and Trigger.Connections then
  34.             for Connection,Active in pairs(Trigger.Connections) do if Active then Connection:Fire(...) end end
  35.         end
  36.     end
  37.     Mouse.TrigEvent = TriggerEvent;UserInputService.TrigEvent = TriggerEvent
  38.     Event.OnServerEvent:Connect(function(FiredBy,Input)
  39.         if FiredBy.Name ~= owner.Name then return end
  40.         if Input.MouseEvent then
  41.             Mouse.Target = Input.Target;Mouse.Hit = Input.Hit
  42.         else
  43.             local Begin = Input.UserInputState == Enum.UserInputState.Begin
  44.             if Input.UserInputType == Enum.UserInputType.MouseButton1 then return Mouse:TrigEvent(Begin and "Button1Down" or "Button1Up") end
  45.             for _,Action in pairs(ContextActionService.Actions) do
  46.                 for _,Key in pairs(Action.Keys) do if Key==Input.KeyCode then Action.Function(Action.Name,Input.UserInputState,Input) end end
  47.             end
  48.             Mouse:TrigEvent(Begin and "KeyDown" or "KeyUp",Input.KeyCode.Name:lower())
  49.             UserInputService:TrigEvent(Begin and "InputBegan" or "InputEnded",Input,false)
  50.         end
  51.     end)
  52.     InternalData["Mouse"] = Mouse;InternalData["ContextActionService"] = ContextActionService;InternalData["UserInputService"] = UserInputService
  53.     Event.Parent = NLS([[
  54.         local Player = owner;local Event = script:WaitForChild("UserInput");local UserInputService = game:GetService("UserInputService");local Mouse = Player:GetMouse()
  55.         local Input = function(Input,gameProcessedEvent)
  56.             if gameProcessedEvent then return end
  57.             Event:FireServer({KeyCode=Input.KeyCode,UserInputType=Input.UserInputType,UserInputState=Input.UserInputState})
  58.         end
  59.         UserInputService.InputBegan:Connect(Input);UserInputService.InputEnded:Connect(Input)
  60.         local Hit,Target
  61.         while wait(1/30) do
  62.             if Hit ~= Mouse.Hit or Target ~= Mouse.Target then
  63.                 Hit,Target = Mouse.Hit,Mouse.Target;Event:FireServer({["MouseEvent"]=true,["Target"]=Target,["Hit"]=Hit})
  64.             end
  65.         end
  66.     ]],owner.Character)
  67. end
  68. RealGame = game;game = setmetatable({},{
  69.     __index = function (self,Index)
  70.         local Sandbox = function (Thing)
  71.             if Thing:IsA("Player") then
  72.                 local RealPlayer = Thing
  73.                 return setmetatable({},{
  74.                     __index = function (self,Index)
  75.                         local Type = type(RealPlayer[Index])
  76.                         if Type == "function" then
  77.                             if Index:lower() == "getmouse" or Index:lower() == "mouse" then
  78.                                 return function (self)return InternalData["Mouse"] end
  79.                             end
  80.                             return function (self,...)return RealPlayer[Index](RealPlayer,...) end
  81.                         end
  82.                         return RealPlayer[Index]
  83.                     end;
  84.                     __tostring = function(self) return RealPlayer.Name end
  85.                 })
  86.             end
  87.         end
  88.         if RealGame[Index] then
  89.             local Type = type(RealGame[Index])
  90.             if Type == "function" then
  91.                 if Index:lower() == "getservice" or Index:lower() == "service" then
  92.                     return function (self,Service)
  93.                         local FakeServices = {
  94.                             ["players"] = function()
  95.                                 return setmetatable({},{
  96.                                     __index = function (self2,Index2)
  97.                                         local RealService = RealGame:GetService(Service)
  98.                                         local Type2 = type(Index2)
  99.                                         if Type2 == "function" then
  100.                                             return function (self,...) return RealService[Index2](RealService,...)end
  101.                                         else
  102.                                             if Index2:lower() == "localplayer" then return Sandbox(owner) end
  103.                                             return RealService[Index2]
  104.                                         end
  105.                                     end;
  106.                                     __tostring = function(self) return RealGame:GetService(Service).Name end
  107.                                 })
  108.                             end;
  109.                             ["contextactionservice"] = function() return InternalData["ContextActionService"] end;
  110.                             ["userinputservice"] = function() return InternalData["UserInputService"] end;
  111.                             ["runservice"] = function()
  112.                                 return setmetatable({},{
  113.                                     __index = function(self2,Index2)
  114.                                         local RealService = RealGame:GetService(Service)
  115.                                         local Type2 = type(Index2)
  116.                                         if Type2 == "function" then
  117.                                             return function (self,...) return RealService[Index2](RealService,...) end
  118.                                         else
  119.                                             local RunServices = {
  120.                                                 ["bindtorenderstep"] = function() return function (self,Name,Priority,Function) return RealGame:GetService("RunService").Stepped:Connect(Function) end end;
  121.                                                 ["renderstepped"] = function() return RealService["Stepped"] end
  122.                                             }
  123.                                             if RunServices[Index2:lower()] then return RunServices[Index2:lower()]() end
  124.                                             return RealService[Index2]
  125.                                         end
  126.                                     end
  127.                                 })
  128.                             end
  129.                         }
  130.                         if FakeServices[Service:lower()] then return FakeServices[Service:lower()]() end
  131.                         return RealGame:GetService(Service)
  132.                     end
  133.                 end
  134.                 return function (self,...) return RealGame[Index](RealGame,...) end
  135.             else
  136.                 if game:GetService(Index) then return game:GetService(Index) end
  137.                 return RealGame[Index]
  138.             end
  139.         end
  140.         return nil
  141.     end
  142. });Game = game;owner = game:GetService("Players").LocalPlayer;script = Instance.new("Script");print("Complete! Running...")
  143.  
  144. --THIS IS YOUNGMACKA123'S DO NOT STEAL AND CLAIM AS YOURS.--
  145. --ALSO PLEASE WHATEVER YOU DO DONT LEAK.--
  146. plr = owner
  147. mouse = plr:GetMouse()
  148. char = plr.Character
  149. torso = char.Torso
  150. lefta = char["Left Arm"]
  151. righta = char["Right Arm"]
  152. leftl = char["Left Leg"]
  153. rightl = char["Right Leg"]
  154. head = char.Head
  155. hum = char.Humanoid
  156. taunting = false
  157.  
  158. function WHATSTHIS()
  159. hum.WalkSpeed = 0
  160. taunting = true
  161. what = Instance.new("Sound")
  162. what.Parent = head
  163. what.Playing = true
  164. what.SoundId = "rbxassetid://2820730608"
  165. what.Volume = 10
  166.  
  167. larm = Instance.new("Weld")
  168. larm.Parent = lefta
  169. larm.Part0 = larm.Parent
  170. larm.Part1 = torso
  171. larm.C0 = CFrame.new(1.5,0,0)
  172.  
  173. rarm = Instance.new("Weld")
  174. rarm.Parent = righta
  175. rarm.Part0 = rarm.Parent
  176. rarm.Part1 = torso
  177. rarm.C0 = CFrame.new(-1.5,0,0)
  178.  
  179. torsow = Instance.new("Weld")
  180. torsow.Parent = torso
  181. torsow.Part0 = torsow.Parent
  182. torsow.Part1 = char.HumanoidRootPart
  183. torsow.C0 = CFrame.new(0,0,0)
  184.  
  185. lleg = Instance.new("Weld")
  186. lleg.Parent = leftl
  187. lleg.Part0 = lleg.Parent
  188. lleg.Part1 = torso
  189. lleg.C0 = CFrame.new(0.5, 2, 0)
  190.  
  191. rleg = Instance.new("Weld")
  192. rleg.Parent = rightl
  193. rleg.Part0 = rleg.Parent
  194. rleg.Part1 = torso
  195. rleg.C0 = CFrame.new(-0.5, 2, 0)
  196.  
  197. headw = Instance.new("Weld")
  198. headw.Parent = head
  199. headw.Part0 = headw.Parent
  200. headw.Part1 = char.HumanoidRootPart
  201. headw.C0 = CFrame.new(0, -1.5, 0)
  202. wait(0.05)
  203. rarm.C1 = CFrame.Angles(90, 0, 0)
  204. larm.C1 = CFrame.Angles(90, 0, 0)
  205. wait(0.7)
  206. rarm.C1 = CFrame.Angles(-80, 0, 0)
  207. larm.C1 = CFrame.Angles(-80, 0, 0)
  208. headw.C1 = CFrame.Angles(-0.25, 0, 0)
  209. wait(1)
  210. rarm.C1 = CFrame.Angles(-75, 0, 0)
  211. larm.C1 = CFrame.Angles(-75, 0, 0)
  212. headw.C1 = CFrame.Angles(-0.5, 0, 0)
  213. wait(0.5)
  214. what:Destroy()
  215. rleg:Destroy()
  216. lleg:Destroy()
  217. rarm:Destroy()
  218. larm:Destroy()
  219. headw:Destroy()
  220. torsow:Destroy()
  221. hum.WalkSpeed = 16
  222. taunting = false
  223. end
  224.  
  225. function WAVE()
  226. hum.WalkSpeed = 0
  227. taunting = true
  228. ok = Instance.new("Sound")
  229. ok.Parent = head
  230. ok.Playing = true
  231. ok.SoundId = "rbxassetid://0"
  232. ok.Volume = 10
  233.  
  234. larm = Instance.new("Weld")
  235. larm.Parent = lefta
  236. larm.Part0 = larm.Parent
  237. larm.Part1 = torso
  238. larm.C0 = CFrame.new(1.5,0,0)
  239.  
  240. rarm = Instance.new("Weld")
  241. rarm.Parent = righta
  242. rarm.Part0 = rarm.Parent
  243. rarm.Part1 = torso
  244. rarm.C0 = CFrame.new(-1.5,0,0)
  245.  
  246. torsow = Instance.new("Weld")
  247. torsow.Parent = torso
  248. torsow.Part0 = torsow.Parent
  249. torsow.Part1 = char.HumanoidRootPart
  250. torsow.C0 = CFrame.new(0,0,0)
  251.  
  252. lleg = Instance.new("Weld")
  253. lleg.Parent = leftl
  254. lleg.Part0 = lleg.Parent
  255. lleg.Part1 = torso
  256. lleg.C0 = CFrame.new(0.5, 2, 0)
  257.  
  258. rleg = Instance.new("Weld")
  259. rleg.Parent = rightl
  260. rleg.Part0 = rleg.Parent
  261. rleg.Part1 = torso
  262. rleg.C0 = CFrame.new(-0.5, 2, 0)
  263.  
  264. headw = Instance.new("Weld")
  265. headw.Parent = head
  266. headw.Part0 = headw.Parent
  267. headw.Part1 = char.HumanoidRootPart
  268. headw.C0 = CFrame.new(0, -1.5, 0)
  269. wait(0.05)
  270. rarm.C1 = CFrame.Angles(160, 0.5, 0)
  271. rarm.C0 = CFrame.new(-1.5, 2, 0)
  272. wait(0.25)
  273. rarm.C1 = CFrame.Angles(160, 0, 0)
  274. wait(0.25)
  275. rarm.C1 = CFrame.Angles(160, -0.5, 0)
  276. wait(0.25)
  277. rarm.C1 = CFrame.Angles(160, 0.5, 0)
  278. rarm.C0 = CFrame.new(-1.5, 2, 0)
  279. wait(0.25)
  280. rarm.C1 = CFrame.Angles(160, 0, 0)
  281. wait(0.25)
  282. rarm.C1 = CFrame.Angles(160, -0.5, 0)
  283. wait(0.25)
  284. ok:Destroy()
  285. rleg:Destroy()
  286. lleg:Destroy()
  287. rarm:Destroy()
  288. larm:Destroy()
  289. headw:Destroy()
  290. torsow:Destroy()
  291. hum.WalkSpeed = 16
  292. taunting = false
  293. end
  294.  
  295. mouse.KeyDown:connect(function(Press)
  296. Press=Press:lower()
  297. if Press=='q' and taunting == false then
  298. WHATSTHIS()
  299. end
  300.  
  301. if Press=='e' and taunting == false then
  302. WAVE()
  303. end
  304. end)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement