SHOW:
|
|
- or go back to the newest paste.
1 | -- This script has been converted to FE by iPxter | |
2 | ||
3 | ||
4 | if game:GetService("RunService"):IsClient() then error("Script must be server-side in order to work; use h/ and not hl/") end | |
5 | local Player,Mouse,mouse,UserInputService,ContextActionService = owner | |
6 | - | Pink_Guy = game.Players.LocalPlayer |
6 | + | do |
7 | print("FE Compatibility code by Mokiros | Translated to FE by iPxter") | |
8 | script.Parent = Player.Character | |
9 | ||
10 | - | mouse = Pink_Guy:GetMouse() |
10 | + | --RemoteEvent for communicating |
11 | local Event = Instance.new("RemoteEvent") | |
12 | Event.Name = "UserInput_Event" | |
13 | ||
14 | --Fake event to make stuff like Mouse.KeyDown work | |
15 | local function fakeEvent() | |
16 | local t = {_fakeEvent=true,Connect=function(self,f)self.Function=f end} | |
17 | t.connect = t.Connect | |
18 | return t | |
19 | end | |
20 | ||
21 | --Creating fake input objects with fake variables | |
22 | local m = {Target=nil,Hit=CFrame.new(),KeyUp=fakeEvent(),KeyDown=fakeEvent(),Button1Up=fakeEvent(),Button1Down=fakeEvent()} | |
23 | local UIS = {InputBegan=fakeEvent(),InputEnded=fakeEvent()} | |
24 | local CAS = {Actions={},BindAction=function(self,name,fun,touch,...) | |
25 | CAS.Actions[name] = fun and {Name=name,Function=fun,Keys={...}} or nil | |
26 | end} | |
27 | --Merged 2 functions into one by checking amount of arguments | |
28 | CAS.UnbindAction = CAS.BindAction | |
29 | ||
30 | --This function will trigger the events that have been :Connect()'ed | |
31 | local function te(self,ev,...) | |
32 | local t = m[ev] | |
33 | if t and t._fakeEvent and t.Function then | |
34 | t.Function(...) | |
35 | end | |
36 | end | |
37 | m.TrigEvent = te | |
38 | UIS.TrigEvent = te | |
39 | ||
40 | Event.OnServerEvent:Connect(function(plr,io) | |
41 | if plr~=Player then return end | |
42 | if io.isMouse then | |
43 | m.Target = io.Target | |
44 | m.Hit = io.Hit | |
45 | else | |
46 | local b = io.UserInputState == Enum.UserInputState.Begin | |
47 | if io.UserInputType == Enum.UserInputType.MouseButton1 then | |
48 | return m:TrigEvent(b and "Button1Down" or "Button1Up") | |
49 | end | |
50 | for _,t in pairs(CAS.Actions) do | |
51 | for _,k in pairs(t.Keys) do | |
52 | if k==io.KeyCode then | |
53 | t.Function(t.Name,io.UserInputState,io) | |
54 | end | |
55 | end | |
56 | end | |
57 | m:TrigEvent(b and "KeyDown" or "KeyUp",io.KeyCode.Name:lower()) | |
58 | UIS:TrigEvent(b and "InputBegan" or "InputEnded",io,false) | |
59 | end | |
60 | end) | |
61 | Event.Parent = NLS([==[ | |
62 | local Player = game:GetService("Players").LocalPlayer | |
63 | local Event = script:WaitForChild("UserInput_Event") | |
64 | ||
65 | local UIS = game:GetService("UserInputService") | |
66 | local input = function(io,a) | |
67 | if a then return end | |
68 | --Since InputObject is a client-side instance, we create and pass table instead | |
69 | Event:FireServer({KeyCode=io.KeyCode,UserInputType=io.UserInputType,UserInputState=io.UserInputState}) | |
70 | end | |
71 | UIS.InputBegan:Connect(input) | |
72 | UIS.InputEnded:Connect(input) | |
73 | ||
74 | local Mouse = Player:GetMouse() | |
75 | local h,t | |
76 | --Give the server mouse data 30 times every second, but only if the values changed | |
77 | --If player is not moving their mouse, client won't fire events | |
78 | while wait(1/30) do | |
79 | if h~=Mouse.Hit or t~=Mouse.Target then | |
80 | h,t=Mouse.Hit,Mouse.Target | |
81 | Event:FireServer({isMouse=true,Target=t,Hit=h}) | |
82 | end | |
83 | end]==],Player.Character) | |
84 | Mouse,mouse,UserInputService,ContextActionService = m,m,UIS,CAS | |
85 | end | |
86 | ||
87 | wait(1) | |
88 | print("Mr.Pink Guy has arrived!") | |
89 | script.Name = "PINKGUYSCRIPTAWESOMECOOLKIDILLUMINATICONFIRMEDMLGNOSCOPE360420BLAZEITRAULIBFUNSCRIPT666DEMON616TRUE" | |
90 | script.Archivable = false | |
91 | --------------------Pink Being------------ Made by raulib fellas (Just for fun) R15 COMPATIBLE! Now new updates will be run here | |
92 | Pink_Guy = owner | |
93 | Pink_Corpse = Pink_Guy.Character | |
94 | Pink_Corpse.Humanoid.Name = "Pnkmd" | |
95 | Pink_Corpse.Head.face.Texture = "http://www.roblox.com/asset/?id=282646362" | |
96 | script.Parent = Pink_Guy.PlayerGui | |
97 | Pink_Humanoid = Pink_Corpse.Pnkmd ------------------ You won't kill any pink guy, general user. | |
98 | STFU = false | |
99 | RUN = false | |
100 | -------Sounds Lel-------------------------- Thought it was a cosmetic script? | |
101 | PLEYSONG = Instance.new("Sound") | |
102 | PLEYSONG.Parent = Pink_Corpse.Head | |
103 | PLEYSONG.Name = "SONGPLAYERSOREALSOMLGSODOGESOSWAG" | |
104 | PLEYSONG.Volume = 100 | |
105 | PLEYSONG.EmitterSize = 9999999980506447872.000 | |
106 | PLEYSONG.MaxDistance = 9999999980506447872.000 | |
107 | Shit_Sounds_That_I_Dont_Care = Instance.new("Backpack") | |
108 | Shit_Sounds_That_I_Dont_Care.Parent = Pink_Guy | |
109 | Shit_Sounds_That_I_Dont_Care.Name = "Pink Guy Sounds" | |
110 | Shit_Sounds_That_I_Dont_Care.Archivable = false | |
111 | STFUSONG = Instance.new("Sound") | |
112 | STFUSONG.Parent = Shit_Sounds_That_I_Dont_Care | |
113 | STFUSONG.Name = "STFU" | |
114 | STFUSONG.SoundId = "rbxassetid://884740394" | |
115 | ------------------------------------------- | |
116 | -------Have pink colors-------------------- | |
117 | Pink_Corpse["Body Colors"].HeadColor = BrickColor.new("Hot pink") | |
118 | Pink_Corpse["Body Colors"].LeftArmColor = BrickColor.new("Hot pink") | |
119 | Pink_Corpse["Body Colors"].RightArmColor = BrickColor.new("Hot pink") | |
120 | Pink_Corpse["Body Colors"].LeftLegColor = BrickColor.new("Hot pink") | |
121 | Pink_Corpse["Body Colors"].RightLegColor = BrickColor.new("Hot pink") | |
122 | Pink_Corpse["Body Colors"].TorsoColor = BrickColor.new("Hot pink") | |
123 | -------End of pink colors------------------ | |
124 | --------No Hats---------------------------- | |
125 | local x = Pink_Corpse:getChildren() | |
126 | for i=1,#x do | |
127 | if x[i].className == "Accessory"then | |
128 | x[i]:Remove() | |
129 | end | |
130 | end | |
131 | ------------------------------------------- | |
132 | ------------No Clothes--------------------- | |
133 | local xx = Pink_Corpse:getChildren() | |
134 | for i=1,#xx do | |
135 | if xx[i].className == "Shirt"then | |
136 | xx[i]:Remove() | |
137 | end | |
138 | end | |
139 | local xxx = Pink_Corpse:getChildren() | |
140 | for i=1,#xxx do | |
141 | if xxx[i].className == "Pants"then | |
142 | xxx[i]:Remove() | |
143 | end | |
144 | end | |
145 | local xxxx = Pink_Corpse:getChildren() | |
146 | for i=1,#xxxx do | |
147 | if xxxx[i].className == "ShirtGraphic"then | |
148 | xxxx[i]:Remove() | |
149 | end | |
150 | end | |
151 | ------------------------------------------- | |
152 | --Bye Idendity(And Godmode cause you love dat raulib fans) | |
153 | Pink_Humanoid.NameOcclusion = "NoOcclusion" | |
154 | Pink_Humanoid.HealthDisplayType = "AlwaysOff" | |
155 | Pink_Humanoid.Health = 999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999 | |
156 | Pink_Humanoid.MaxHealth = 999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999 | |
157 | Pink_Humanoid.WalkSpeed = 8 | |
158 | ------------------------------------------- | |
159 | --------Fuctions---------------------- | |
160 | mouse.KeyDown:connect(function(key) | |
161 | if (key == "q" and STFU == false) | |
162 | then | |
163 | STFU = true | |
164 | print("Pink Guy insulted someone") | |
165 | PLEYSONG.SoundId = STFUSONG.SoundId | |
166 | PLEYSONG:Play() | |
167 | wait(0.2) | |
168 | local WORD = "Shut the fuck up" | |
169 | game:GetService("Chat"):Chat(Pink_Corpse.Head, WORD, Enum.ChatColor.Red) | |
170 | wait(4) | |
171 | local WORD2 = "Stop being a fucking cunt" | |
172 | game:GetService("Chat"):Chat(Pink_Corpse.Head, WORD2, Enum.ChatColor.Red) | |
173 | wait(3.5) | |
174 | local WORD3 = "Shut the fuck up" | |
175 | game:GetService("Chat"):Chat(Pink_Corpse.Head, WORD3, Enum.ChatColor.Red) | |
176 | wait(3.5) | |
177 | local WORD4 = "Nobody even wants you here" | |
178 | game:GetService("Chat"):Chat(Pink_Corpse.Head, WORD4, Enum.ChatColor.Red) | |
179 | wait(.5) | |
180 | STFU = false | |
181 | end | |
182 | end) | |
183 | mouse.KeyDown:connect(function(key) | |
184 | if string.byte(key) == 50 and RUN == false | |
185 | then | |
186 | Pink_Humanoid.WalkSpeed = 20 | |
187 | RUN = true | |
188 | end | |
189 | end) | |
190 | mouse.KeyUp:connect(function(key) | |
191 | if string.byte(key) == 50 and RUN == true | |
192 | then | |
193 | Pink_Humanoid.WalkSpeed = 8 | |
194 | RUN = false | |
195 | end | |
196 | end) | |
197 | ------------------------------------------- |